Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support plugin server not starting on reboot or cold start

  • plugin server not starting on reboot or cold start

    Posted by dranach on March 6, 2009 at 05:05

    Hi,

    I installed Pandora FMS with the installer (rev. 1517) on Debian Lenny.
    Everything works fine except for the plugin-server: it doesn’t come online with a cold start or with a reboot.
    When I enter ‘/etc/init.d/pandora_plugin start’ it comes online.
    I checked the rc2.d script, but the symbolic link is ok. I tried changing the boot-order, but to no avail.
    Any idea on what else could be wrong with my installation, or where else to look?

    Thanks
    Antonio

    Sancho replied 15 years, 11 months ago 3 Members · 7 Replies
  • 7 Replies
  • manu

    Member
    March 6, 2009 at 05:38
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Are you booting up in runlevel 2? Find it out with:
    runlevel

  • dranach

    Member
    March 6, 2009 at 05:48
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Manu,

    Thanks for your quick reply.

    Yes, runlevel says ‘N 2’

    It is strange in two ways:
    – all the other servers start ok, but manually there is no problem.
    – I had this same problem with rev. 1196, on Debian Etch, so perhaps it is something I do wrong, but I wouldn’t know where to look

    Antonio

  • manu

    Member
    March 6, 2009 at 07:36
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Do ls -l in /etc/rc2.d/
    Has the pandora_plugin the same link as the other ones?

  • dranach

    Member
    March 6, 2009 at 08:52
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Here’s the relevant portion of /etc/rc2.d/

    S90pandora_network -> /etc/init.d/pandora_network
    S90pandora_plugin -> /etc/init.d/pandora_plugin
    S90pandora_prediction -> /etc/init.d/pandora_prediction
    S90pandora_recon -> /etc/init.d/pandora_recon
    S90pandora_server -> /etc/init.d/pandora_server
    S90pandora_snmpconsole -> /etc/init.d/pandora_snmpconsole
    S90pandora_wmi -> /etc/init.d/pandora_wmi

    This is what I get at boot time:

    […]
    Pandora FMS Plugin Server 3.0-dev Build PS090305 Copyright (c) ArticaST
    This program is Opensource, licensed under the terms of GPL License version 2.
    You can download latest versions and documentation at http://pandorafms.org

    [E] pandora_exec not found

    Cannot start Pandora FMS Plugin Server. Aborted.
    […]

    Right afterwards however, I start the plugin manually by entering ‘/etc/init.d/pandora_plugin start’, and it starts ok.

    (Just to be complete, I am working in Virtualbox)

    Antonio

  • manu

    Member
    March 6, 2009 at 09:21
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    You might want to be sure that pandora_exec is in the path, if not, copy it there (usually /bin or /usr/bin/ would do the trick).
    Maybe when you run it manually it goes up but not working properly.

  • dranach

    Member
    March 6, 2009 at 10:28
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Manu,

    pandora_exec was indeed missing from ‘/usr/bin’. I didn’t dare simply copy it, so I made a symbolic link like so:

    ‘ln -s /usr/local/bin/pandora_exec /usr/bin/pandora_exec’

    Next I rebooted and this time the plugin server came up with all the others.

    Thanks for your advice and patience
    Antonio

  • Sancho

    Administrator
    March 7, 2009 at 04:23
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Glad to hear you had it sorted out!