[hobbit] Contribution -> Server-side login/generic script - Bash Version
Giovanni - Gestor Redix
giovanni at redix.com.br
Wed May 30 14:38:54 CEST 2007
Hi Sello, have you configured BBHOME to /usr/lib/hobbit/server at your
rootlogin.sh ?
Also, your line at hobbitlaunch.cfg seems to be wrong:
[rootlogin]
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD hobbitd_channel --channel=client
--log=$BBSERVERLOGS/rootlogin.log $BBHOME/ext/rootlogin.sh
Look at the ENVFILE.
Regards,
Giovanni M. Frainer
Sello Tlabela wrote:
> Hello,
>
> I am trying to install the scripts on my hobbit server and get the
> following error when starting hobbit, below the error is paste of my
> config, what could I have made wrong?
>
> 2007-05-30 14:13:22 Could not start task rootlogin using command
> 'hobbitd_channel': No such file or directory
>
> hobbitlaunch.cfg
>
> [rootlogin]
> ENVFILE /usr/lib/hobbit/client/etc/hobbitclient.cfg
> NEEDS hobbitd
> CMD hobbitd_channel --channel=client
> --log=$BBSERVERLOGS/rootlogin.log $BBHOME/ext/rootlogin.sh
>
> bb-hosts
>
> 165.143.60.206 cntrra02-rh-hids5 # NET:intern ssh syslog-ng
> CLIENT:cntrra02-rh-hids5.telkom.co.za login
> 165.143.145.150 cntrra20-rh-wiki.telkom.co.za # NET:intern ssh login
> http://165.143.145.150/
>
> rootlogin.sh attributes
> -rwxrwxrwx 1 root root 2935 May 30 11:37 rootlogin.sh
>
> Regards
>
> Sello
>
>
>
> On Tue, 2007-05-29 at 22:49 -0300, Giovanni - Gestor Redix wrote:
>> Hi everyone!
>>
>> Attached follows a "login"/generic server-side script made on bash
>> shell-script language.
>>
>> This script is just like the perl version, just made in a generic
>> way to be easily extensible...
>>
>> I made this version because i couldn't get the perl version to work
>> on my Gentoo server with perl 5.8.8, not to mention that i know perl as
>> much as i know how to build nuclear submarines ;-)
>>
>> With best regards,
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe at hswn.dk <mailto:hobbit-unsubscribe at hswn.dk>
>>
> --
> Sello Tlabela <tlabelsd at telkom.co.za <mailto:tlabelsd at telkom.co.za>>
> Telkom SA
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> This e-mail and its contents are subject to the Telkom SA Limited
> e-mail legal notice available at
> http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070530/f6e0918c/attachment.html>
More information about the Xymon
mailing list