Posts: 846
Threads: 16
Joined: Sep 2006
Reputation:
0
Alright, let's go back to:
pandora_server /etc/pandora/pandora_server.conf
What do you get?
This doesn't make any sense, today I installed the same version as you did without any problem...
Posts: 41
Threads: 3
Joined: Apr 2009
Reputation:
0
As Root:
pandora_server /etc/pandora/pandora_server.conf
Results:
[*] 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 45
[*] Server threshold 5
[*] You are running Pandora FMS Data Server.
[*] This server is running in MASTER mode.
[*] Pandora FMS Server [ubuntu2_Data] is running and operative
[*] Starting up Data Consumer Thread # 0
[*] Starting up Data Consumer Thread # 1
[*] All threads loaded and running
(being so new to a lot of this, there's probably something totally obvious I'm missing... I'm not sure but it appears to be 90% working...)
Posts: 846
Threads: 16
Joined: Sep 2006
Reputation:
0
04-07-2009, 11:31 AM
(This post was last modified: 04-07-2009, 11:57 AM by manu.)
Good, now if it crashes we'll see in the logs.
There's something I still don't understand though.
If you do (as a normal user):
sudo /etc/init.d/pandora_server start
It doesn't go up...right?
Posts: 41
Threads: 3
Joined: Apr 2009
Reputation:
0
You are correct.
if I do sudo /etc/init.d/pandora_server start -it does NOT go up.
And...
when I do the way you described before (pandora_server /etc/pandora/pandora_server.conf) it only stays up for a matter of minutes before going down.
These are the logs from approximately the past hour (you can see where I've tried restarting)
2009/04/07 14:33:06 ubuntu2_Data Launching 3.0-dev PS090305
2009/04/07 14:33:06 ubuntu2_Data [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 5 sec, verbosity at 10, Alert Threshold at 45, ServerName is 'ubuntu2_Data'
2009/04/07 14:33:06 ubuntu2_Data [V1] Server ubuntu2_Data going UP
2009/04/07 14:34:37 ubuntu2_WMI [V1] Server ubuntu2_Data going Down
2009/04/07 14:59:24 ubuntu2_Data Launching 3.0-dev PS090305
2009/04/07 14:59:24 ubuntu2_Data [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 5 sec, verbosity at 10, Alert Threshold at 45, ServerName is 'ubuntu2_Data'
2009/04/07 14:59:24 ubuntu2_Data [V1] Server ubuntu2_Data going UP
2009/04/07 15:00:55 ubuntu2_WMI [V1] Server ubuntu2_Data going Down
2009/04/07 15:43:34 ubuntu2_Data Launching 3.0-dev PS090305
2009/04/07 15:43:34 ubuntu2_Data [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 5 sec, verbosity at 10, Alert Threshold at 45, ServerName is 'ubuntu2_Data'
2009/04/07 15:43:34 ubuntu2_Data [V1] Server ubuntu2_Data going UP
2009/04/07 15:45:05 ubuntu2_Net [V1] Server ubuntu2_Data going Down
Posts: 846
Threads: 16
Joined: Sep 2006
Reputation:
0
Anything at /var/log/pandora/pandora_server.err ?
Do you have anything at /var/spool/pandora/data_in ?
Posts: 846
Threads: 16
Joined: Sep 2006
Reputation:
0
What error do you get when you do:
pandora_server /etc/pandora/pandora_server.conf and it goes down?
Posts: 41
Threads: 3
Joined: Apr 2009
Reputation:
0
There is no pandora_server.err file (or at least it's empty) in /var/log/pandora/
also when I go to /var/spool/pandora/data_in and run 'ls' there is nothing listed as being there.
Would it be something I messed up during install possibly that would be causing all this do you think?
Posts: 41
Threads: 3
Joined: Apr 2009
Reputation:
0
What error do you get when you do:
pandora_server /etc/pandora/pandora_server.conf and it goes down?
I don't get an error - It just says that it's going down under the Latest Events column.
Posts: 846
Threads: 16
Joined: Sep 2006
Reputation:
0
Alright, but in the Linux command line it still runs?
Posts: 41
Threads: 3
Joined: Apr 2009
Reputation:
0
That's correct.
No errors come up in the command line, it just goes down with no notification.