[hobbit] Help with rootlogin.pl
Luis Muñoz
luismycorreo at gmail.com
Wed Sep 2 16:44:32 CEST 2009
Thank Josh
Now this is the error
Use of uninitialized value in concatenation (.) or string at
/usr/lib/hobbit/server/ext/rootlogin.pl line 76, <STDIN> line 1.
else {
# Add another line to the entire message text variable,
# and the the current section.
$msgtxt = $msgtxt . $line;
$sections{ $cursection } = $sections{ $cursection } . $line; #### This
is the line 76
}
}
I supose the (.) is a concatenate character in perl but i think the syntax
is OK, please your help
I added the next line to initialized the variable $line
my $line = "";
but the error still appears
Regards,
Luis
2009/9/2 Josh Luthman <josh at imaginenetworksllc.com>
> Google it yet?
>
> On 9/2/09, Luis Muñoz <luismycorreo at gmail.com> wrote:
> > Thanks!!!! I found the mistake in the other forum the "@" was replaced by
> > (at)
> >
> > Now could You help me to get dnsreg.sh???
> >
> > Regards,
> > Luis
> >
> > 2009/9/1 Josh Luthman <josh at imaginenetworksllc.com>
> >
> >> Quick Google brought me to this...
> >>
> >> http://xymonton.trantor.org/doku.php/tutorials:ssmodule
> >>
> >> Josh Luthman
> >> Office: 937-552-2340
> >> Direct: 937-552-2343
> >> 1100 Wayne St
> >> Suite 1337
> >> Troy, OH 45373
> >>
> >> "When you have eliminated the impossible, that which remains, however
> >> improbable, must be the truth."
> >> --- Sir Arthur Conan Doyle
> >>
> >>
> >> On Tue, Sep 1, 2009 at 11:48 PM, Luis Muñoz
> >> <luismycorreo at gmail.com>wrote:
> >>
> >>> I copied the content from a post, but may be some line is wrong.
> >>>
> >>> 2009/9/1 Josh Luthman <josh at imaginenetworksllc.com>
> >>>
> >>> Your initial post said you copied the rootlogin.pl script, why would
> you
> >>>> ask someone to send it to you if you already have it?
> >>>>
> >>>> Josh Luthman
> >>>> Office: 937-552-2340
> >>>> Direct: 937-552-2343
> >>>> 1100 Wayne St
> >>>> Suite 1337
> >>>> Troy, OH 45373
> >>>>
> >>>> "When you have eliminated the impossible, that which remains, however
> >>>> improbable, must be the truth."
> >>>> --- Sir Arthur Conan Doyle
> >>>>
> >>>>
> >>>>
> >>>> On Tue, Sep 1, 2009 at 10:58 PM, Luis Muñoz
> >>>> <luismycorreo at gmail.com>wrote:
> >>>>
> >>>>> Thank You
> >>>>>
> >>>>> But it doesn't work, somebody could send me the rootlogin.pl??
> >>>>>
> >>>>> Best regards,
> >>>>> Luis
> >>>>>
> >>>>> 2009/8/27 <tinh.do at continental-corporation.com>
> >>>>>
> >>>>>
> >>>>>> did you put a "." infront of the path ? Like:
> >>>>>>
> >>>>>> ./bin/bbcmd ./ext/rootlogin.pl
> >>>>>>
> >>>>>> Have setup the xymon environment before running that command ? like
> >>>>>> BBHOME=xxxx
> >>>>>> ------------------------------
> >>>>>>
> >>>>>> *Tinh Do * <tinh.do at us.contiautomotive.com>
> >>>>>> CAS Systems Engineer
> >>>>>> Unix Support Engineer
> >>>>>> <http://www.contiautomotive.com/>
> >>>>>> *Automotive Systems *
> >>>>>> *Engineering Services* <http://es.iess.mot.com/>* *
> >>>>>> 21440 West Lake Cook Road
> >>>>>> 2nd Floor
> >>>>>> Deer Park, IL 60010
> >>>>>> Email: *tinh.do at us.contiautomotive.com
> >>>>>> *<tinh.do at us.contiautomotive.com>
> >>>>>> Phone: 847-862-0182
> >>>>>> Cell: 847-812-6025
> >>>>>> Text message: *8478126025 at messaging.nextel.com
> >>>>>> *<8478126025 at messaging.nextel.com>
> >>>>>> Fax: 847.862-8244
> >>>>>> Remedy: *System Administration Remedy
> >>>>>> Ticket*<http://intranet.auto.contiwan.com/sdonline.asp>
> >>>>>> (Select DP-ES-SYS-ADMIN for the Summary)
> >>>>>> *Proprietary and confidential. Distribution only by express
> authority
> >>>>>> of **Continental AG* <http://www.contiautomotive.com/>* or its
> >>>>>> subsidiaries. *
> >>>>>>
> >>>>>>
> >>>>>> *Martin Flemming <martin.flemming at desy.de>*
> >>>>>>
> >>>>>> 27.08.2009 12:34
> >>>>>> Please respond to
> >>>>>> hobbit at hswn.dk
> >>>>>>
> >>>>>> To
> >>>>>> hobbit at hswn.dk cc
> >>>>>> Subject
> >>>>>> Re: [hobbit] Help with rootlogin.pl
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> .. and what did it if you make
> >>>>>>
> >>>>>> chmod 755 /usr/lib/hobbit/server/ext/rootlogin.pl
> >>>>>>
> >>>>>> cd /usr/lib/hobbit/server
> >>>>>>
> >>>>>> bin/bbcmd ext/rootlogin.pl
> >>>>>>
> >>>>>> ?
> >>>>>>
> >>>>>> martin
> >>>>>>
> >>>>>>
> >>>>>> On Thu, 27 Aug 2009, Luis Muñoz wrote:
> >>>>>>
> >>>>>> > I don't know, BB is excutable, rootlogin.pl is a PERL script.
> >>>>>> >
> >>>>>> > 2009/8/27 Martin Flemming <martin.flemming at desy.de>
> >>>>>> >
> >>>>>> >>
> >>>>>> >> 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
> >>>>>> >>>
> >>>>>> >>>
> >>>>>> >> To unsubscribe from the hobbit list, send an e-mail to
> >>>>>> >> hobbit-unsubscribe at hswn.dk
> >>>>>> >>
> >>>>>> >>
> >>>>>> >
> >>>>>>
> >>>>>> Gruss
> >>>>>>
> >>>>>> Martin Flemming
> >>>>>>
> >>>>>>
> >>>>>> ______________________________________________________
> >>>>>> Martin Flemming
> >>>>>> DESY / IT office : Building 2b / 008a
> >>>>>> Notkestr. 85 phone : 040 - 8998 - 4667
> >>>>>> 22603 Hamburg mail : martin.flemming at desy.de
> >>>>>> ______________________________________________________
> >>>>>> To unsubscribe from the hobbit list, send an e-mail to
> >>>>>> hobbit-unsubscribe at hswn.dk
> >>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>>
> >>
> >
>
>
> --
> Josh Luthman
> Office: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
> "When you have eliminated the impossible, that which remains, however
> improbable, must be the truth."
> --- Sir Arthur Conan Doyle
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090902/53bb267a/attachment.html>
More information about the Xymon
mailing list