Pages: [1]   Go Down
Author Topic: 3.0rc2, Ubuntu 9.10 Windows agent/server communication not working  (Read 751 times)
0 Members and 1 Guest are viewing this topic.
guillaume
Jr. Member
**

Karma: 0
Offline Offline

Posts: 17


View Profile
« on: December 08, 2009, 08:44:30 PM »

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

guillaume
Jr. Member
**

Karma: 0
Offline Offline

Posts: 17


View Profile
« Reply #1 on: December 08, 2009, 09:29:31 PM »

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 :)
Logged

raul
Administrator
Expert member
*****

Karma: 1
Offline Offline

Posts: 576



View Profile
« Reply #2 on: December 09, 2009, 10:17:49 AM »

Start tentacle server with:

sudo service tentacle_serverd start

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

guillaume
Jr. Member
**

Karma: 0
Offline Offline

Posts: 17


View Profile
« Reply #3 on: December 10, 2009, 03:41:19 PM »

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

raul
Administrator
Expert member
*****

Karma: 1
Offline Offline

Posts: 576



View Profile
« Reply #4 on: December 14, 2009, 01:18:33 PM »

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?
Logged

guillaume
Jr. Member
**

Karma: 0
Offline Offline

Posts: 17


View Profile
« Reply #5 on: December 14, 2009, 04:38:55 PM »

yes
Logged

Sancho Lerena
Administrator
Expert member
*****

Karma: 24
Online Online

Posts: 1149


I can see everything... with my glasses :-)


View Profile WWW
« Reply #6 on: December 14, 2009, 06:58:55 PM »

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.

Logged

-- See you in the other screen.

raul
Administrator
Expert member
*****

Karma: 1
Offline Offline

Posts: 576



View Profile
« Reply #7 on: December 14, 2009, 08:28:11 PM »

:| 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.
Logged

guillaume
Jr. Member
**

Karma: 0
Offline Offline

Posts: 17


View Profile
« Reply #8 on: December 14, 2009, 09:17:42 PM »

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

Sancho Lerena
Administrator
Expert member
*****

Karma: 24
Online Online

Posts: 1149


I can see everything... with my glasses :-)


View Profile WWW
« Reply #9 on: December 15, 2009, 09:58:13 AM »

:| 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 8-)

Logged

-- See you in the other screen.

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST