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 3.0rc2, Ubuntu 9.10 Windows agent/server communication not working

  • 3.0rc2, Ubuntu 9.10 Windows agent/server communication not working

    Posted by guillaume on December 8, 2009 at 23:44

    Hello, I installed 3.0RC2 on Ubuntu 9.10, then installed some 3.0rc1 agents on Windows 2003 servers. They simply don’t communicate, the server does not discover them and when manually added, in the next contact section it always says out of limits.

    When I test the tentacle_client on the windows machine a get an error connect 10061.
    Tentacle_server is installed but when I try to start it I get unknown user pandora.

    Thank you.

    Sancho replied 15 years, 2 months ago 3 Members · 9 Replies
  • 9 Replies
  • guillaume

    Member
    December 9, 2009 at 00:29
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    almost there… found that I needed a user named pandora, just created it, now when i start tentacle I get permission denied…. I’m almost there… help 🙂

  • raul

    Member
    December 9, 2009 at 13:17
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Start tentacle server with:

    sudo service tentacle_serverd start

    The Windows agent just uses the tentacle client that comes with the package.

  • guillaume

    Member
    December 10, 2009 at 18:41
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thank you for your reply but I still get

    sudo: unable to execute /usr/local/bin/tentacle_server: Permission denied
    Tentacle server could not be started.

  • raul

    Member
    December 14, 2009 at 16:18
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Just a question, the user that you are using, have sudo privileges? That is, is in the /etc/sudoers file or is part of the admin group?

  • guillaume

    Member
    December 14, 2009 at 19:38
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    yes

  • Sancho

    Administrator
    December 14, 2009 at 21:58
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    sudo service tentacle_serverd start ??, what’s this raul ?, avoid use of untested “shortcuts” in ubuntu please, if “service” is not properly installed probably this doesnt work and installer doesnt use this, at least if I dont remember well.

    Just use the standard way:

    1. Make sure your pandora user is working
    2. Make sure /etc/init.d/tentacle_serverd is present and have the correct attributes.
    3. Make yourself root and execute

      /etc/init.d/tentacle_serverd start

    Should work on a standard ubuntu server with “pandora” user created.

  • raul

    Member
    December 14, 2009 at 23:28
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    😐 The service command is not proprietary, is installed with the sysvinit-utils package, and it’s available in ubuntu since, at least, 2007, it’s also known to be in other distros (Red Hat, Fedora, and CentOS, for example)

    If the service command wasn’t installed, the error will be sudo: service: command not found.

  • guillaume

    Member
    December 15, 2009 at 00:17
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I had the same error using /etc/init.d, anyways I was using the desktop version of ubuntu 9.10

    I am just rebuilding it on a ubuntu server version… started a new post about pandora_server.conf not being created. Thank you.

  • Sancho

    Administrator
    December 15, 2009 at 12:58
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    😐 The service command is not proprietary, is installed with the sysvinit-utils package, and it’s available in ubuntu since, at least, 2007, it’s also known to be in other distros (Red Hat, Fedora, and CentOS, for example)

    If the service command wasn’t installed, the error will be sudo: service: command not found.

    You’re right, I’ve compared two versions of service command (Suse and Ubuntu) and it’s different code but the same mechanism, just “search” for the script in /etc/rcX.D directory and pass the status. stop or start parameter. As everyday, I have the oportunity to learn something new 😎