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 Error starting tentacle dameon – debian package

  • Error starting tentacle dameon – debian package

    Posted by rkonav on August 24, 2009 at 07:46

    Hi,

    My english is not too good, so excuse me for my possibles mistakes.

    I have started to play with pandora last week, so my knowledge of the platform is not too high. I have installed Pandora FMS on debian, installing the .deb packages published in the blog of Pandora (i have seen after that i would have installed it with apt)

    I have found a possible mistake in the /etc/init.d/tentacle_serverd file, because it´s use sudo instead of su, in consecuence, the script generate an error and the tentacle daemon doesn´t starts.

    I´ve modified the line instead:

     su $TENTACLE_USER -c "${TENTACLE_PATH}$TENTACLE_DAEMON $TENTACLE_OPTS"
    

    Nice to meet you

    Paco

    Sancho replied 15 years, 5 months ago 2 Members · 3 Replies
  • 3 Replies
  • rkonav

    Member
    August 26, 2009 at 07:33
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi again,

    I have also detected a possible improvement to manage the logs of pandora. I have created the file /etc/logrotate.d/pandora.

    The contents of the file is:

    /var/log/pandora/* {
            weekly
            missingok
            rotate 52
            compress
            delaycompress
            notifempty
            create 640 root adm
            sharedscripts
            postrotate
                     for i in `ls -1 /etc/init.d/pandora_*`;do $i stop; $i start; done
            endscript
    }
  • Sancho

    Administrator
    September 1, 2009 at 11:03
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thanks for both contributions, tentacle_serverd has been updated.

    About the logrotate, I will also add to our current development tree, thanks a lot.

  • Sancho

    Administrator
    September 1, 2009 at 11:29
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    These changes have been added to tentacle launcher script and the generic installer. Also they have been added on RPM specs, debian packages for 3.0 are not ready and need a lot of work prior to produce it, but contribution it already included, thanks again for your help