Xymon Mailing List Archive search

External Script installation

list Robert S Bethke
Thu, 30 Mar 2006 12:47:07 -0500
Message-Id: <user-2551a575a3c5@xymon.invalid>

Ok, I got it working after I moved the Date folder intot the 5.8.7 folder. Anyone have any ideas on how to get this working with an SSL encrypted connection?


--


----- Original Message -----
From: Robert Bethke <user-3955964863bf@xymon.invalid>
Date: Thursday, March 30, 2006 10:13 am
Subject: Re: [hobbit] External Script installation
The odd thing is that I do get a proper return for Date::Manip. It would seem this script doesn't see it for some reason, though I believe it's in the default location. All the other required modules are also installed and the imaptab file is formatted properly. Anyway let me know if you need any further information.

Thanks,
Robert Bethke

On Wednesday 29 March 2006 8:33 pm, Geoff Steer wrote:
Check that you have the Date::Manip perl module installed.
This message indicated that perl can't find it in the paths shown.
(@INC).
If the module is installed correctly, then the command:

perldoc Date::Manip

will return its manual page.

Regards
Geoff

On Wed, 2006-03-29 at 13:22 -0500, Robert Bethke wrote:
Whoops, I corrected that to point to perl properly though now I recieve a
new message in the log:

Can't locate Date/Manip.pm in @INC (@INC
contains: /home/hobbit/server/ext
/usr/lib/perl5/5.8.7/i586-linux-thread-multi /usr/lib/perl5/5.8.7
/usr/lib/perl5/site_perl/5.8.7/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl .) at
/home/hobbit/server/ext/BigBrother.pm line 130.
BEGIN failed--compilation aborted at
/home/hobbit/server/ext/BigBrother.pm line 130.
Compilation failed in require at /home/hobbit/server/ext/bb-
imap.pl line
46. BEGIN failed--compilation aborted at
/home/hobbit/server/ext/bb-imap.pl line 46.

Any suggestions on how to correct this?

Robert

On Wednesday 29 March 2006 12:39 pm, Hubbard, Greg L wrote:
Sometimes you get that message when the perl script can't find perl.
Maybe you should check the first line of the script?

Another reason (just guessing) is that the Hobbit user cannot read the
script...

GLH

-----Original Message-----
From: user-016089575a5b@xymon.invalid [user-016089575a5b@xymon.invalid] On
Behalf Of Robert Bethke
Sent: Wednesday, March 29, 2006 11:31 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] External Script installation

I am trying to setup bb-imap.pl from
http://www.deadcat.net/viewfile.php?fileid=513. So far I've installed> > > each of the required perl modules and placed the BigBrother.pm (Already
adjusted bb-imap.pl to point to it) and bb-imap.pl files within the EXT
folder. I also added the following to hobbitlaunch.cfg:

[bbimap]
	ENVFILE /home/hobbit/server/etc/bb-imaptab
	NEEDS hobbitd
	CMD $BBHOME/ext/bb-imap.pl
	LOGFILE $BBSERVERLOGS/bb-imap.log
	INTERVAL 5m

When I try to run this test nothing happens within hobbit. If I check
the bb-imap.log the only statement it contains is:

2006-03-29 11:33:21 Could not start task bbimap using command
'/home/hobbit/server/ext/bb-imap.pl': No such file or directory

I'm confused about this because the file does exist at that location. I
also changed $test to bbimap from imap2. I'm going to guess I'm missing
some installation step on this thing. If someone could point out what
I'm not doing right and give me a the correct steps to get this working
it would be greatly appreciated.


Thanks Again,
Robert Bethke
-------------------------------Safe
Stamp----------------------------------- Your Anti-virus Service scanned
this email. It is safe from known viruses. For more information regarding> > this service, please contact your service provider.
-------------------------------Safe
Stamp----------------------------------- The sender's Anti-virus Service> scanned this email. It is safe from known viruses.