Welcome to Pandora FMS Community › Forums › Community support › [Solved] Problems starting Pandora FMS after upgrade to 3.1..
-
[Solved] Problems starting Pandora FMS after upgrade to 3.1..
Posted by JeeSee on May 31, 2010 at 15:55Following errors occurs in the PANDORA_SERVER.LOG file:
2010-05-31 13:45:41 PANDORA3 [V1] Launching 3.1rc1 100515 2010-05-31 13:45:41 PANDORA3 [V1] Config options: Logfile at /var/log/pandora/pandora_server.log, Basepath is /etc/pandora/pandora_server.conf, Checksum is 0, Master is 1, SNMP Console is 1, Server Threshold at 1 sec, verbosity at 10, Alert Threshold at 60, ServerName is 'PANDORA3' 2010-05-31 13:45:41 PANDORA3 [V1] [E] 'PANDORA3': DBI connect('pandora:192.168.96.20:3306','pandora',...) failed: Host 'PANDORA3' is not allowed to connect to this MySQL server at /usr/lib/perl5/PandoraFMS/DB.pm line 56 2010-05-31 13:45:41 PANDORA3 [V1] Pandora FMS Server 'PANDORA3' unhandled error.
It seems like a MYSQL error or something.
What can I do to fix this?JeeSee replied 14 years, 7 months ago 5 Members · 8 Replies -
8 Replies
-
::
Hi JeeSee.
 Grant access for your host (pandora3) to the mysql server:
Log in im mysql server as admin and do:
grant all privileges on pandora.* to user@host identified by “senha”;ex:
grant all privileges on pandora.* to pandora_user@PANDORA3 identified by “G3D9C1”;Regards.
-
::
OK.. I’ve granted the rights for the server itself..
But now I got another error in the logging and Pandora is not starting:2010-06-02 05:33:57 TYN-PANDORA3 [V1] Launching 3.1rc1 100515 2010-06-02 05:33:57 TYN-PANDORA3 [V1] Config options: Logfile at /var/log/pandora/pandora_server.log, Basepath is /etc/pandora/pandora_server.conf, Checksum is 0, Master is 1, SNMP Console is 1, Server Threshold at 1 sec, verbosity at 10, Alert Threshold at 60, ServerName is 'TYN-PANDORA3' 2010-06-02 05:33:57 TYN-PANDORA3 [V10] Creating audit entry 'Pandora FMS Server Daemon starting' name 'SYSTEM' action 'System'. 2010-06-02 05:33:58 TYN-PANDORA3 [V1] [E] 'TYN-PANDORA3': Can't locate XML/SAX.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.10.0/XML/Simple.pm line 348. 2010-06-02 05:33:58 TYN-PANDORA3 [V1] Pandora FMS Server 'TYN-PANDORA3' unhandled error. 2010-06-02 05:33:58 TYN-PANDORA3 [V1] [E] 'TYN-PANDORA3': Can't locate XML/SAX.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.10.0/XML/Simple.pm line 348. 2010-06-02 05:33:58 TYN-PANDORA3 [V1] [E] 'TYN-PANDORA3': Can't locate XML/SAX.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.10.0/XML/Simple.pm line 348. 2010-06-02 05:33:58 TYN-PANDORA3 [V1] Pandora FMS Server 'TYN-PANDORA3' unhandled error. 2010-06-02 05:33:58 TYN-PANDORA3 [V1] Pandora FMS Server 'TYN-PANDORA3' unhandled error. 2010-06-02 05:33:58 TYN-PANDORA3 [V5] Modified timestamp = 2010-06-02 06:58:24 with timezone_offset = 0 2010-06-02 05:33:58 TYN-PANDORA3 [V5] Modified timestamp = 2010-06-01 22:34:12 with timezone_offset = 0 2010-06-02 05:33:58 TYN-PANDORA3 [V5] Modified timestamp = 2010-05-31 13:43:19 with timezone_offset = 0 Unknown column 'timezone_offset' in 'field list' at /usr/lib/perl5/PandoraFMS/DB.pm line 239. 2010-06-02 05:33:58 TYN-PANDORA3 [V1] Pandora FMS Server 'TYN-PANDORA3' unhandled error. 2010-06-02 05:33:58 TYN-PANDORA3 [V1] [E] 'TYN-PANDORA3': DBD::mysql::db do failed: Unknown column 'timezone_offset' in 'field list' at /usr/lib/perl5/PandoraFMS/DB.pm line 239. 2010-06-02 05:33:58 TYN-PANDORA3 [V1] Pandora FMS Server 'TYN-PANDORA3' unhandled error. 2010-06-02 05:33:58 TYN-PANDORA3 [V1] [E] 'TYN-PANDORA3': DBD::mysql::db do failed: Unknown column 'timezone_offset' in 'field list' at /usr/lib/perl5/PandoraFMS/DB.pm line 239. 2010-06-02 05:33:58 TYN-PANDORA3 [V1] Pandora FMS Server 'TYN-PANDORA3' unhandled error. 2010-06-02 05:33:55 TYN-PANDORA3 [V10] Generating event 'TYN-PANDORA3 dataserver going UP' for agent ID 0 module ID 0. 2010-06-02 05:33:55 TYN-PANDORA3 [V10] Generating event 'TYN-PANDORA3 networkserver going UP' for agent ID 0 module ID 0. 2010-06-02 05:33:55 TYN-PANDORA3 [V10] Generating event 'TYN-PANDORA3 reconserver going UP' for agent ID 0 module ID 0. 2010-06-02 05:33:55 TYN-PANDORA3 [V10] Generating event 'TYN-PANDORA3 snmpconsole going UP' for agent ID 0 module ID 0. 2010-06-02 05:33:55 TYN-PANDORA3 [V10] Generating event 'TYN-PANDORA3 pluginserver going UP' for agent ID 0 module ID 0. 2010-06-02 05:33:55 TYN-PANDORA3 [V1] [E] 'TYN-PANDORA3': DBD::mysql::db do failed: Unknown column 'timezone_offset' in 'field list' at /usr/lib/perl5/PandoraFMS/DB.pm line 239. 2010-06-02 05:33:55 TYN-PANDORA3 [V1] Pandora FMS Server 'TYN-PANDORA3' unhandled error. 2010-06-02 05:33:55 TYN-PANDORA3 [V1] Pandora FMS Server 'TYN-PANDORA3' Shutdown by signal 2010-06-02 05:33:55 TYN-PANDORA3 [V10] Generating event 'TYN-PANDORA3 dataserver going DOWN' for agent ID 0 module ID 0. 2010-06-02 05:33:55 TYN-PANDORA3 [V10] Generating event 'TYN-PANDORA3 networkserver going DOWN' for agent ID 0 module ID 0. 2010-06-02 05:33:55 TYN-PANDORA3 [V10] Generating event 'TYN-PANDORA3 reconserver going DOWN' for agent ID 0 module ID 0. 2010-06-02 05:33:55 TYN-PANDORA3 [V10] Generating event 'TYN-PANDORA3 snmpconsole going DOWN' for agent ID 0 module ID 0. 2010-06-02 05:33:56 TYN-PANDORA3 [V10] Generating event 'TYN-PANDORA3 pluginserver going DOWN' for agent ID 0 module ID 0.
-
-
::
Hi JeeSee,
Did you upgrade the DB schema?
http://www.openideas.info/wiki/index.php?title=Pandora_3.0:Documentation_en:Anexo_Upgrade#DB_schema
-
::
I attempted to use this document to update my database to 3.1, but there is an error in the document. In several locations you indicate a user name of “root, but the default sql user name in your configuration file is “pandora”.
mysqldump -u root -p pandora > backup_pandora_3.0.sql
mysql -u root -p -
-
::
I attempted to use this document to update my database to 3.1, but there is an error in the document. Â In several locations you indicate a user name of “root, but the default sql user name in your configuration file is “pandora”.
mysqldump -u root -p pandora > backup_pandora_3.0.sql
mysql -u root -pCheck your current credentials en /etc/pandora/pandora_server.conf
Database should be called “pandora”, and user “pandora”, password will be a random string, this means that commands should be like this:
mysql -u pandora -D pandora -p
and
mysqldump -u pandora -p pandora > file
I’m going to add this to FAQ.
-