toolpack validate Debian5 2-5
If any of those steps fails, refer to the Debian 5 installation guide
apt-get Packages
Verify that all packages are installed on the system using dpkg: dpkg -l sysvconfig zlib1g-dev make mysql-server libmysqlclient15-dev unixodbc libmyodbc libfcgi libfcgi-dev lighttpd libopenssl-ruby1.8 libssl-dev libpcap0.8
Output: srv-test-install-debian5-x64-1:/home/tblab# dpkg -l sysvconfig zlib1g-dev make mysql-server libmysqlclient15-dev unixodbc libmyodbc libfcgi libfcgi-dev lighttpd libopenssl-ruby1.8 libssl-dev libpcap0.8 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-=============================-=============================-========================================================================== un libfcgi (no description available) ii libfcgi-dev 2.4.0-7 Header files of FastCGI ii libmyodbc 3.51.15r409-4 the MySQL ODBC driver ii libmysqlclient15-dev 5.0.51a-24+lenny3 MySQL database development files ii libopenssl-ruby1.8 1.8.7.72-3lenny1 OpenSSL interface for Ruby 1.8 ii libpcap0.8 0.9.8-5 system interface for user-level packet capture ii libssl-dev 0.9.8g-15+lenny6 SSL development libraries, header files and documentation ii lighttpd 1.4.19-5+lenny1 A fast webserver with minimal memory footprint ii make 3.81-5 The GNU version of the "make" utility. ii mysql-server 5.0.51a-24+lenny3 MySQL database server (metapackage depending on the latest version) ii sysvconfig 0.81 A text menu based utility for configuring init script links ii unixodbc 2.2.11-16 ODBC tools libraries ii zlib1g-dev 1:1.2.3.3.dfsg-12 compression library - development srv-test-install-debian5-x64-1:/home/tblab#
3rd party manual installation
ruby
ruby version should be 1.8.7 Example: srv-test-install-debian5-x64-1:/home/tblab# ruby --version ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux] srv-test-install-debian5-x64-1:/home/tblab#
rubygems
rubygems version should be 1.3.5 Example: srv-test-install-debian5-x64-1:/home/tblab# gem --version 1.3.5 srv-test-install-debian5-x64-1:/home/tblab#
gem Installation
execute the following command: gem list --local
Result should contain: srv-test-install-debian5-x64-1:/home/tblab# gem list --local
- LOCAL GEMS ***
fcgi (0.8.8)lighttpd Configuration
Verify that lighttpd is disabled, using sysvconfig UI ( Remove the '*' besides the lighttpd service ). sysvconfig
Verify that lighttpd is stop (Check this only if Toolpack is stopped)
Output (lighttpd is running, this is an error): srv-test-install-debian5-x64-1:/home/tblab# ps aux | grep lighttpd www-data 3149 0.0 0.1 53624 1272 ? S< 15:04 0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf <--- if you see this line it means that lighttpd is running
ODBC Configuration
Verify that the following file exists: ls -al /lib/tb/toolpack/3rdparty/odbc-connector/libmyodbc3_r-3.51.27.so
Verify odbc config file: cat /etc/odbcinst.ini
Result should contain: [MySQL] Description = MySQL driver Driver = /lib/tb/toolpack/3rdparty/odbc-connector/libmyodbc3_r-3.51.27.so Setup = /usr/lib/odbc/libodbcmyS.so CPTimeout = CPReuse = UsageCount = 2
MySQL Configuration
Verify MySQL config file: cat /etc/mysql/my.cnf
Result should contain under [mysqld]:
The following can be used as easy to replay backup logs or for replication. server-id = ''[UniqueId]'' log_bin = /var/log/mysql/mysql-bin.log
Note: server-id value may vary, but server-id needs to be a non-zero value and unique when using more than one host.
The bind-address line should be commented out or not exist.
bind-address = 127.0.0.1
Verify if the server is running service mysqld status
Result, should be something like this: /usr/bin/mysqladmin Ver 8.41 Distrib 5.0.32, for pc-linux-gnu on x86_64 Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license
Last updated
Was this helpful?

