Pandora FMS Community

Cannot get Sever to start

cajn · 6 dic 2013, 1:03 · 5 mensajes · 64 visitas

  1. Inicio del debate

    Here is the error message from Terminal: cajn@CAJNLINUX ~ $ netstat -an | grep 41121 tcp        0      0 0.0.0.0:41121          0.0.0.0:*              LISTEN    cajn@CAJNLINUX ~ $ pandora_server /etc/pandora/pandora_server.conf Pandora FMS Server 5.0SP1 Build 131120 Copyright (c) 2004-2011 ArticaST This program is OpenSource, licensed under the terms of GPL License version 2. You can download latest versions and documentation at http://www.pandorafms.org [ERROR] Error opening configuration file /etc/pandora/pandora_server.conf: Permission denied. Here is the error logs: 2013/12/05 14:28:46 - [error] - Error sending file '/tmp/CAJNLINUX.1386275326.data': [err] Cannot connect to localhost on port 41121: Connection refused. I am unsure where to go from here or what I should do to fix this error.

  2. Hi You need to run pandora_server as Administrador. ( sudo /etc/init.d/pandora_server start) Regards

  3. I ran the command you typed and this is the response: Pandora FMS Server 5.0SP1 Build 131120 Copyright (c) 2004-2011 ArticaST This program is OpenSource, licensed under the terms of GPL License version 2. You can download latest versions and documentation at (Link not available anymore) Backgrounding Pandora FMS Server process.
    Cannot start Pandora FMS Server. Aborted. Check Pandora FMS log files at '/var/log/pandora/pandora_server.error & pandora_server.log' And the log file says: 2013-12-09 19:34:08 - CAJNLINUX Starting Pandora FMS Server. Error logging activated. DBI connect('pandora:localhost:3306','pandora',...) failed: Access denied for user 'pandora'@'localhost' (using password: YES) at /usr/lib/perl5/PandoraFMS/DB.pm line 108 Followed by: 2013-12-09 19:34:08 CAJNLINUX [V1] Launching 5.0SP1 131120 2013-12-09 19:34:08 CAJNLINUX [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 0, Server Threshold at 5 sec, verbosity at 1, Alert Threshold at 60, ServerName is 'CAJNLINUX' 2013-12-09 19:34:08 CAJNLINUX [V1] - Pandora FMS Enterprise module not available.
    2013-12-09 19:34:08 CAJNLINUX [V1] [E] 'CAJNLINUX': DBI connect('pandora:localhost:3306','pandora',...) failed: Access denied for user 'pandora'@'localhost' (using password: YES) at /usr/lib/perl5/PandoraFMS/DB.pm line 108 2013-12-09 19:34:08 CAJNLINUX [V1] Pandora FMS Server 'CAJNLINUX' unhandled error. As you can imagine, or maybe you can't since this probably makes sense to you, I am lost.  But thank you for responding.  Any other suggestions on this issue?

  4. Hi The problem that shows may be caused because the mysql server is down or because the database name / user database / password in pandora_server.conf are not correct. Check mysql status ( sudo /etc/init.d/mysql status ) If mysql is down, lift it up ( sudo /etc/init.d/mysql start ) Access mysql with the data shown in pandora_server.conf ( dbname, dbpass, dbuser ) mysql -u dbuser -p -D dbname Enter password: dbpassword If you can enter to mysql with these credencials, pandora_server configuration is correct. Regards

  5. My apologies for not checking this sooner, I thought I would get an email when a reply was made.  Guess I didn't set that up, lol.  Your instructions were spot on.  Thank you for your help.

Entra en tu cuenta para publicar.