[syslog-ng] A database connection problem was encountered.

tagarsi, arun atagarsi at cgg.com
Wed Oct 25 19:40:35 CEST 2006


Hi,
     I have installed syslog-ng on a server running RHEL4 without much problems but so far I have not been able to on a RHEL3.8 system. from what I can tell the mysql server is running ok , I can do all the command line queries to the databases but for some reason I cannot get the web access up and running . 

On this server I have loaded phpMyAdmin-2.8.2 and this is ok and I am able to use this to look and manage the databases .

Can someone point out why or where I can look for any log information regarding the error reported. I know the config file is ok as it is .

I tried to load up the latest version 2.9.2 using the installer, and this does  complain there is something not quite right as on the pre check it says  - 


Pre-installation check for:
Php-Syslog-NG 2.9.2a (r13) Stable [ cdukes ] 23-Sep-2006 15:10 EST
If any of these items are highlighted in red then please take actions to correct them. Failure to do so could lead to your PHP-Syslog-NG installation not functioning correctly.
PHP version >= 4.1.0 	Yes
  - zlib compression support 	Available
  - XML support 	Available
  - GD support 	Available
  - MySQL support 	Unavailable                       ************************************** 
config.php 	Writeable
Session save path 	/tmp, Writeable


So it is complaining about not having MySQl support . Unfortunately I cannot see what it is that it needs and  what is missing from my mysql install. The weird thing is that mysql seems to be ok on this server as I can access all my databases using other means. Does anyone know what could be missing.

Here is a list of the RPMS loaded for mysql and php.


mysql-bench-3.23.58-16.RHEL3.1
php-mysql-4.3.2-36.ent
libdbi-dbd-mysql-0.6.5-5
mysql-server-3.23.58-16.RHEL3.1
mysql-3.23.58-16.RHEL3.1
mysql-devel-3.23.58-16.RHEL3.1
mod_auth_mysql-20030510-2.ent

php-imap-4.3.2-36.ent
php-mysql-4.3.2-36.ent
php-ldap-4.3.2-36.ent
php-odbc-4.3.2-36.ent
php-4.3.2-36.ent
php-devel-4.3.2-36.ent


Thanks


Arun Tagarsi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20061025/e3e43ff4/attachment.htm


More information about the syslog-ng mailing list