Xymon Mailing List Archive search

Help with rootlogin.pl

list Tinh Do
Thu, 27 Aug 2009 12:31:48 -0500
Message-Id: <user-f08d4de7b44b@xymon.invalid>

BB is executable but not rootlogin.pl

try this : 
chmod 555  /usr/lib/hobbit/server/ext/rootlogin.pl

and run again.

 
Luis Muñoz <user-8c172da5ac41@xymon.invalid> 
27.08.2009 12:23
Please respond to
user-ae9b8668bcde@xymon.invalid


To
user-ae9b8668bcde@xymon.invalid
cc

Subject
Re: [hobbit] Help with rootlogin.pl


I don't know, BB is excutable, rootlogin.pl is a PERL script.

2009/8/27 Martin Flemming <user-f286aaa49a76@xymon.invalid>

Hi !

check the permissions for the script, are they executable ?

cheers,
       martin 


On Thu, 27 Aug 2009, Luis Muñoz wrote:

I copied the rootlogin.pl to my ext directory and added this lines to my
hobbitlaunch.cfg file

[rootlogin]
ENVFILE /usr/lib/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD hobbitd_channel --channel=client --log=$BBSERVERLOGS/rootlogin.log
$BBHOME/ext/rootlogin.pl
but the rootlogin.log show the next information

2009-08-26 12:00:22 Our child has failed and will not talk to us: Channel
client, PID 1232, cause Bad file descriptor

I tried to run the next command bb

BB=/bin/echo BBDISP=172.30.32.100 /usr/lib/hobbit/server/ext/rootlogin.pl

this is the result

-bash: /usr/lib/hobbit/server/ext/rootlogin.pl: Permission denied

Regards,
Luis