Actions

Toolpack Installation:toolpack validate CentOS5 A: Difference between revisions

(fix server-id confusion)
(modify validation guide for new procedure)
Line 1: Line 1:
<span style="color:#B22222">
''WARNING'': The system must have gone through the [[Toolpack_prerequisite_CentOS5_2-5|CentOS Prerequisites Guides 2-5]]. If the system followed the [[Toolpack_prerequisite_CentOS5_2-5_manual|CentOS Prerequisites Guides 2-5 Manual]] page, please follow the [[Toolpack_Installation:toolpack_validate_CentOS5_2-5_manual |Validation for the Manual Procedure]] instead.
</span>
<span style="color:#B22222">
''WARNING'': This procedure requires internet access
</span>
If any of those steps fails, refer to the [[Toolpack_prerequisite_CentOS5_2-5|CentOS5 installation guide]]
If any of those steps fails, refer to the [[Toolpack_prerequisite_CentOS5_2-5|CentOS5 installation guide]]


Line 30: Line 39:
=== fcgi ===
=== fcgi ===
*Look for fcgi libraries
*Look for fcgi libraries
   find /usr/local/lib -name \*fcgi\*
   find /usr/lib -name \*fcgi\*
Result should contain
Result should contain
   /usr/local/lib/libfcgi.a
   /usr/lib/libfcgi.a
   /usr/local/lib/libfcgi.so
   /usr/lib/libfcgi.so
   /usr/local/lib/libfcgi.so.0.0.0
   /usr/lib/libfcgi.so.0.0.0
   /usr/local/lib/libfcgi.la
   /usr/lib/libfcgi.la
   /usr/local/lib/libfcgi.so.0
   /usr/lib/libfcgi.so.0


=== lighttpd ===
=== lighttpd ===
*lighttpd version should be 1.4.18
*lighttpd version should be 1.4.18 or higher
   [root@srv-test-install-centos54-x64-1 tblab]# lighttpd -v
   [root@srv-test-install-centos54-x64-1 tblab]# lighttpd -v
   lighttpd-1.4.18 (ssl) - a light and fast webserver
   lighttpd-1.4.18 (ssl) - a light and fast webserver
   Build-Date: Oct  1 2007 23:50:36
   Build-Date: Nov 29 2010 18:05:08
   [root@srv-test-install-centos54-x64-1 tblab]#
   [root@srv-test-install-centos54-x64-1 tblab]#


=== ruby ===
=== ruby ===
*ruby version should be 1.8.7
*ruby version should be 1.8.7 or higher
Example:
Example:
   [root@srv-test-install-centos4-x64-1 pkg]# ruby --version
   [root@srv-test-install-centos4-x64-1 pkg]# ruby --version
   ruby 1.8.7 (2009-06-12 patchlevel 174) [x86_64-linux]
   ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]
   [root@srv-test-install-centos4-x64-1 pkg]#
   [root@srv-test-install-centos4-x64-1 pkg]#


=== rubygems ===
=== rubygems ===
*rubygems version should be 1.3.5
*rubygems version should be 1.3.7 or higher
Example:
Example:
   [root@srv-test-install-centos4-x64-1 pkg]# gem --version
   [root@srv-test-install-centos4-x64-1 pkg]# gem --version
   1.3.5
   1.3.7
   [root@srv-test-install-centos4-x64-1 pkg]#
   [root@srv-test-install-centos4-x64-1 pkg]#


Line 68: Line 77:
       FastCGI library for Ruby.
       FastCGI library for Ruby.
    
    
  sources (0.0.1)
      This package provides download sources for remote gem installation


== ODBC Configuration ==
== ODBC Configuration ==
*Verify that the following file exists:
*Verify that the following file exists:
  ls -al /lib/tb/toolpack/3rdparty/odbc-connector/libmyodbc3_r-3.51.27.so
  ls -al /usr/lib64/libmyodbc3_r.so


*Verify odbc config file:
*Verify odbc config file:
Line 82: Line 89:
   [MySQL]                                                  <----- This line must NOT start with a '#'
   [MySQL]                                                  <----- This line must NOT start with a '#'
   Description    = ODBC for MySQL
   Description    = ODBC for MySQL
   Driver          = /lib/tb/toolpack/3rdparty/odbc-connector/libmyodbc3_r-3.51.27.so
   Driver          = /usr/lib64/libmyodbc3_r.so
   Setup          = /usr/lib/libodbcmyS.so
   Setup          = /usr/lib/libodbcmyS.so
   FileUsage      = 1
   FileUsage      = 1

Revision as of 16:52, 22 February 2011

WARNING: The system must have gone through the CentOS Prerequisites Guides 2-5. If the system followed the CentOS Prerequisites Guides 2-5 Manual page, please follow the Validation for the Manual Procedure instead.

WARNING: This procedure requires internet access


If any of those steps fails, refer to the CentOS5 installation guide

Yum Packages

  • Validation of the following package on the system using yum:
 yum list installed gcc zlib-devel mysql-server mysql-devel mysql-connector-odbc pcre libxml2 openssl-devel libpcap

Output (Depending of the architecture, it is possible that only 1 package version is installed):

 [root@srv-test-install-centos54-x64-1 tblab]# yum list installed gcc zlib-devel mysql-server mysql-devel mysql-connector-odbc pcre libxml2 openssl-devel libpcap
 Installed Packages
 gcc.x86_64                                                            4.1.2-46.el5_4.2                                             installed
 libpcap.i386                                                          14:0.9.4-14.el5                                              installed
 libpcap.x86_64                                                        14:0.9.4-14.el5                                              installed
 libxml2.i386                                                          2.6.26-2.1.2.8                                               installed
 libxml2.x86_64                                                        2.6.26-2.1.2.8                                               installed
 mysql-connector-odbc.x86_64                                           3.51.26r1127-1.el5                                           installed
 mysql-devel.i386                                                      5.0.77-4.el5_4.2                                             installed
 mysql-devel.x86_64                                                    5.0.77-4.el5_4.2                                             installed
 mysql-server.x86_64                                                   5.0.77-4.el5_4.2                                             installed
 openssl-devel.i386                                                    0.9.8e-12.el5_4.6                                            installed
 openssl-devel.x86_64                                                  0.9.8e-12.el5_4.6                                            installed
 pcre.i386                                                             6.6-2.el5_1.7                                                installed
 pcre.x86_64                                                           6.6-2.el5_1.7                                                installed
 zlib-devel.i386                                                       1.2.3-3                                                      installed
 zlib-devel.x86_64                                                     1.2.3-3                                                      installed
 [root@srv-test-install-centos54-x64-1 tblab]#

3rd party manual installation

fcgi

  • Look for fcgi libraries
 find /usr/lib -name \*fcgi\*

Result should contain

 /usr/lib/libfcgi.a
 /usr/lib/libfcgi.so
 /usr/lib/libfcgi.so.0.0.0
 /usr/lib/libfcgi.la
 /usr/lib/libfcgi.so.0

lighttpd

  • lighttpd version should be 1.4.18 or higher
 [root@srv-test-install-centos54-x64-1 tblab]# lighttpd -v
 lighttpd-1.4.18 (ssl) - a light and fast webserver
 Build-Date: Nov 29 2010 18:05:08
 [root@srv-test-install-centos54-x64-1 tblab]#

ruby

  • ruby version should be 1.8.7 or higher

Example:

 [root@srv-test-install-centos4-x64-1 pkg]# ruby --version
 ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]
 [root@srv-test-install-centos4-x64-1 pkg]#

rubygems

  • rubygems version should be 1.3.7 or higher

Example:

 [root@srv-test-install-centos4-x64-1 pkg]# gem --version
 1.3.7
 [root@srv-test-install-centos4-x64-1 pkg]#

gem Installation

  • execute the following command:
 gem list --local
Result should contain:
 *** LOCAL GEMS ***
 
 fcgi (0.8.8)
     FastCGI library for Ruby.
 

ODBC Configuration

  • Verify that the following file exists:
ls -al /usr/lib64/libmyodbc3_r.so
  • Verify odbc config file:
 cat /etc/odbcinst.ini
Result should contain:
 # Driver from the MyODBC package
 # Setup from the unixODBC package
 [MySQL]                                                   <----- This line must NOT start with a '#'
 Description     = ODBC for MySQL
 Driver          = /usr/lib64/libmyodbc3_r.so
 Setup           = /usr/lib/libodbcmyS.so
 FileUsage       = 1

MySQL Configuration

  • Verify MySQL config file:
 cat /etc/my.cnf
Result should contain under [mysqld]:
 log-bin
 server-id=[UniqueId]

Note: server-id value may vary, but server-id needs to be a non-zero value and unique when using more than one host.

  • Verify if the server is running
 service mysqld status
Result:
 mysqld (pid 5101) is running...