Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tentacle service fail
#1
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,
 Reply
#2
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


 Reply
#3
Any word on this?

I tried to run the command it is doesn't return anything.
 Reply
#4
I am correcting myself. Here is the results after i changed to the correct directory.


[email protected]:/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
 Reply
#5
Hello ronybigsoc,

Try executing:

Code:
/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.
 Reply
#6
I had the same problem.
My solution was edit file
Code:
/etc/init.d/tentacle_serverd
and remove option [-v] in TENTACLE_OPTS (about line 90)
-- original --
[tt]TENTACLE_OPTS="-a $TENTACLE_ADDR -p $TENTACLE_PORT -s $PANDORA_SERVER_PATH $TENTACLE_EXT_OPTS -d -l $TENTACLE_LOG_FILE -v"
[/tt]
-- change to --
[tt]TENTACLE_OPTS="-a $TENTACLE_ADDR -p $TENTACLE_PORT -s $PANDORA_SERVER_PATH $TENTACLE_EXT_OPTS -d -l $TENTACLE_LOG_FILE"[/tt]

When running in daemon mode, it seems that tentacle server doesn't admin verbose option
 Reply
#7
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.
 Reply
#8
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:
Code:
touch /var/log/pandora/tentacle_server.log
chown pandora:pandora /var/log/pandora/tentacle_server.log
 Reply
#9
I use Ubuntu 12.04 LTS
I applied solution posted by ph and it worked for me. So now i can use param [tt]-v[/tt] to log to
Code:
/var/log/pandora/tentacle_server.log
 Reply


Users browsing this thread: 1 Guest(s)


(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | pandorafms.com | pandorafms.org

Theme © MyBB Themes