I've installed Pandora several times, but now for first time ever, when I go to console's "Manage servers", all I get is: There are no servers configured into the database (and no button to add them). The servers are running. It is on latest Suse Linux, server version...
There are no servers configured into the database
qus · 14 ene 2009, 4:28 · 5 mensajes · 63 visitas
- Inicio del debate
Hi, You don't have to add anything in Manage Servers, servers will appear in the webconsole as long as they're able to connect the MySQL database you defined in "pandora_server.conf" if they're not, they won't appear there. Are you sure they're connecting to the same database the webconsole is running against? Check that "username, password and database" appearing in: /srv/www/htdocs/pandora_console/include/config.php (at the top of the file) Are the same you set up in /etc/pandora/pandora_server.conf
Hmmm... The password is right. What I get when run manually is: Pandora FMS Data Server 1.3.1 Build PS080429 Copyright (c) 2004-2008 ArticaST This program is Free Software, licensed under the terms of GPL License v2. You can download latest versions and documentation at http://pandora.sourceforge.net. [W] Not all Pandora FMS components need to be executed as root please consider starting it with a non-privileged user.- Server basepath is /etc/pandora/pandora_server.conf
- Server logfile at /var/log/pandora/pandora_server.log
- Server errorlogfile at /var/log/pandora/pandora_server.error
- Server incoming directory at /var/spool/pandora/data_in
- Server keepalive 50
- Server threshold 15
- You are running Pandora FMS Data Server.
- This server is running in MASTER mode.
[E] Error connecting database in init Phase. Aborting startup. install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /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 (eval 9) line 3. Perhaps the DBD::mysql perl module hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge. at /usr/lib/perl5/site_perl/5.10.0/PandoraFMS/Config.pm line 326 So maybe it didn't run at all (but trynig to start it as daemon gave "Pandora FMS Data Server is currently running on this machine with PID...". Am I missing some perl module?
Are you running it as root? Did you install it with the pandora_server_installer ?
Well - somehow it started working AFTER I ran each script manually once (!). After running it and starting them as deamons they run without problems and start with system... strange.
Entra en tu cuenta para publicar.
