Welcome to Pandora FMS Community › Forums › Community support › Advanced troubleshooting › Problem Starting FMS Server
-
-
::
Well, We’re behind a firewall here and unfortunately the last gent’s who were here and set this all up(about 3 years ago) left no documentation on anything. We’re currently working to try and figure out exactly what we’re dealing with.
So it’s my understanding that outside connections aren’t something that can be accomplished (but to be honest, I’m not sure…) Is there anyway I would be able to check and see?
-
::
So, according to the Linux command line, the server is running (it still saying
#
# All threads loaded and running )Right?
That’s correct.
It shows like this:
root@ubuntu2:~# pandora_server /etc/pandora/pandora_server.confPandora FMS Data Server 3.0-dev Build PS090305 Copyright (c) 2004-2009 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- 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
root@ubuntu2:~#
It remains at root@ubuntu2 without ever giving error when it goes down
-
::
This is really strange,
I would do the installation from the SVN again:
svn co https://pandora.svn.sourceforge.net/svnroot/pandora/trunk/pandora_server pandora_servercp /etc/pandora/pandora_server.conf /tmp/
cd pandora_server
./pandora_server_installer –install
(Pay attention to see if you have dependencies problems)
cp /tmp/pandora_server.conf /etc/pandora/Just to confirm,the webconsole you’re using is from the SVN as well as the servers, right?
-
-
-
::
Manu,
I decided to just do a fresh install. I reinstalled both the server & console from SVN, deleted & rebuilt the db, and this time was able to get the data server up and going, and it ran all night without going down!
Thanks for all of your help with the issue. I’m not sure where I flubbed something up during the install, but apparently I found a way to.
Is there a way to make each service start at startup of the server? Currently it seems configured that each must be manually started…
Again,
I REALLY appreciate all the time and help you’ve provided. Thanks a ton! -
::
Yes, you just need to create the links (assuming you are in runlevel 2, you can find out in which runlevel you are just running: runlevel)
ln -s /etc/init.d/pandora_server /etc/rc2.d/S90pandora_server
ln -s /etc/init.d/pandora_recon /etc/rc2.d/S90pandora_recon
ln -s /etc/init.d/pandora_network /etc/rc2.d/S90pandora_network
ln -s /etc/init.d/pandora_snmpconsole /etc/rc2.d/S90pandora_snmpconsole
ln -s /etc/init.d/pandora_plugin /etc/rc2.d/S90pandora_plugin
ln -s /etc/init.d/pandora_prediction /etc/rc2.d/S90pandora_prediction
ln -s /etc/init.d/pandora_wmi /etc/rc2.d/S90pandora_wmi -
::
Next time use:
pandora_server_installer –installIt will create all for you, I guess you just did:
perl Makefile.PL
make
make installWhich is correct, but pandora_server_installer will create everything for you (all the directories, create the links I wrote above etc etc)
Anyways, congratulations! 🙂
-
-
-
-
-
::
Okay, cool.
That’s what I did, but it’s not working apparently – so – off to troubleshooting land I go!
I have the computers setup right next to each other (my win box & linux server) so I’m able to just switch between the two by turning my chair a little and staring at another screen 🙂
Do I have to manually add the agent in pandora FMS, or will it recognize that an agent is sending it information and automatically add it in the console?
-
::
Seems a tentacle problem, is the server running?
/etc/init.d/tentacle_serverd startOpen the windows CMD and run:
tentacle_client -a PANDORASERVERIP (the one you should have under program files/pandora_agent/pandora_agent.conf) FILE_TO_SEND (anyfile will do the trick, this is just a test)
What do you get? If you get nothing that means the file was sent, otherwise it wasn’t.
The webconsole will show you the agent, you don’t need to create it manually (as long as our friend the data server is running)
-
::
Apparently I must have messed up the tentacle server install in some fashion…
I installed following the directions listed here:
http://openideas.info/wiki/index.php?title=Tentacle:UserGuideAnd after which if I do /etc/init.d/tentacle_serverd start (or /etc/init.d/tentacle_server start)
it says “No such file or directory”…I’m sure it’s something small i’ve goofed up on…
-
::
Ah-ha! – Found this nugget, followed it – and now tentacle_server is up and operational.
Once the server is installed, the script tentacle_serverd, located at /usr/share/pandora/util can be used to start it automatically every time the sistem boots up.
Before copying the script is a good idea to edit it, and check that the values of the variables PANDORA_SERVER_PATH, TENTACLE_DAEMON, TENTACLE_PATH, TENTACLE_USER, TENTACLE_ADDR and TENTACLE_PORT, located at the begining of the script, are correct.
Extra parameters can be added for advanced configurations, to do so, use the Tentacle server variable TENTACLE_EXT_OPTS.
To install the script run:
cp /usr/share/pandora/util/tentacle_serverd /etc/init.d/
ln -s /etc/init.d/tentacle_serverd /etc/rc2.d/S90tentacle_serverdIt’s now up and operational (and if I’d have just known more about linux, this would’ve been an EASY setup!)
I see my winbox and things are lookin good.
Thanks a ton for all your help – I’ll be reading up on how to set this up for each my servers and send alerts and things… Thanks again for ALL your help!
-