Pandora FMS Community

Error starting tentacle dameon - debian package

rkonav · 24 ago 2009, 7:46 · 4 mensajes · 52 visitas

  1. Inicio del debate

    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

  2. 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
    }
    
  3. Thanks for both contributions, tentacle_serverd has been updated. About the logrotate, I will also add to our current development tree, thanks a lot.

  4. 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

Entra en tu cuenta para publicar.