Welcome to Pandora FMS Community!

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

  • Tentacle service fail

    Posted by iluizio on September 18, 2012 at 18:57

    All,

    I installed the Pandora FMS server (version 4.0.1) in a Open Suse version 11.4 machine and I can not to start the Tentacle service with a command “service tentacle_serverd start”. The error message is:

    Sorry, user root is not allowed to execute ‘/usr/bin/tentacle_server -a 0.0.0.0 -p 41121 -s /var/spool/pandora/data_in -i.*.conf:conf;.*.md5:md5;.*.zip:collections -d’ as pandora on brtsvisp073.
    Tentacle Server could not be started.
    Verify that port 41121 is not used.

    Thanks,

    luigli replied 7 years, 12 months ago 6 Members · 8 Replies
  • 8 Replies
  • Nacho1988

    Member
    September 20, 2012 at 13:36
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi;

    Could you attach the result of executing the command

    ls -l  | grep tentacle

    inside /usr/bin

    (Otherwise you can try /etc/init.d/tentacle_serverd)

    Regards

  • ronybigsoc

    Member
    January 19, 2017 at 08:34
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Any word on this?

    I tried to run the command it is doesn’t return anything.

  • ronybigsoc

    Member
    January 19, 2017 at 08:50
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I am correcting myself. Here is the results after i changed to the correct directory.

    xxxxx@Pandora-Server:/usr/bin$ ls -l | grep tentacle
    -rwxr-xr-x 1 root  root      22343 Nov  4 03:14 tentacle_client
    -rwxr-xr-x 1 root  root      38242 Nov  4 03:14 tentacle_server

  • antonio

    Member
    January 19, 2017 at 12:56
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello ronybigsoc,

    Try executing:

    /etc/init.d/tentacle_serverd start

    If it still doesn’t work, you may need to run it as a different user (pandora or tentacle would work).

    Kind regards,
    Antonio.

  • luigli

    Member
    January 20, 2017 at 11:28
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I had the same problem.
    My solution was edit file

    /etc/init.d/tentacle_serverd

    and remove option [-v] in TENTACLE_OPTS (about line 90)
    — original —
    TENTACLE_OPTS="-a $TENTACLE_ADDR -p $TENTACLE_PORT -s $PANDORA_SERVER_PATH $TENTACLE_EXT_OPTS -d -l $TENTACLE_LOG_FILE -v"

    — change to —
    TENTACLE_OPTS="-a $TENTACLE_ADDR -p $TENTACLE_PORT -s $PANDORA_SERVER_PATH $TENTACLE_EXT_OPTS -d -l $TENTACLE_LOG_FILE"

    When running in daemon mode, it seems that tentacle server doesn’t admin verbose option

  • antonio

    Member
    January 20, 2017 at 17:48
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    luigli,

    That parameter shouldn’t interfere anyway, but maybe you’ve found some kind on incompatibility. Are you using also Suse linux?

    Kind regards,
    Antonio.

  • _ph_

    Member
    January 20, 2017 at 20:55
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    It breaks, because it tries to create a log file /var/log/pandora/tentacle_server.log as a pandora user.

    You can do this as a workaround:

    touch /var/log/pandora/tentacle_server.log
    chown pandora:pandora /var/log/pandora/tentacle_server.log
    
  • luigli

    Member
    January 24, 2017 at 12:56
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I use Ubuntu 12.04 LTS
    I applied solution posted by ph and it worked for me. So now i can use param -v to log to

    /var/log/pandora/tentacle_server.log