Xymon Mailing List Archive search

External Script installation

10 messages in this thread

list Robert Bethke · Wed, 29 Mar 2006 12:30:44 -0500 ·
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
list Greg L Hubbard · Wed, 29 Mar 2006 11:39:22 -0600 ·
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 [mailto: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
quoted from Robert Bethke

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
list Robert Bethke · Wed, 29 Mar 2006 13:22:23 -0500 ·
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
quoted from Greg L Hubbard

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 [mailto: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

list Geoff Steer · Thu, 30 Mar 2006 12:33:06 +1100 ·
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
quoted from Robert Bethke


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 [mailto: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.
list Xiao Xiangjun · Thu, 30 Mar 2006 09:50:56 +0800 ·
Robert Bethke,
	the error message means you have to install the Perl Module  Date/Manip.pm , and you can download it from cpan, below is the download link:
http://mirrors.dayouit.com/CPAN/authors/id/S/SB/SBECK/DateManip-5.44.tar.gz
you can install the module in such steps:
	tar xvfz DateManip-5.44.tar.gz
	cd  DateManip-5.44
	 perl Makefile.PL
	make
Then use root to execute the command "make insatll" in the DateManip-5.44 dir
by the way , the bb-imap.pl  External Script needs  install perl module Mail::IMAPClient
 install perl module Time::HiRes
 install perl module BigBrother (from www.deadcat.net)
you can download  from below links:
http://mirrors.dayouit.com/CPAN/authors/id/J/JH/JHI/Time-HiRes-1.87.tar.gz
http://cpan.linuxforum.net/authors/id/D/DJ/DJKERNEN/Mail-IMAPClient-2.2.9.tar.gz
http://www.deadcat.net/viewfile.php?fileid=310

and another thing to notice ,you should use white space instead of  Tab in the  bb-imaptab file
for example ,
mail.domain.com 143 mailuser password
please don't use Tab to seprate them. 
On Wed, 29 Mar 2006 13:22:23 -0500
quoted from Robert Bethke
Robert Bethke <user-3955964863bf@xymon.invalid> 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.

Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. -----------------------------------------------------------------------------------------------
list Robert S Bethke · Thu, 30 Mar 2006 10:07:49 -0500 ·
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
quoted from Geoff Steer

--


----- Original Message -----
From: Geoff Steer <user-63da8dfb9093@xymon.invalid>
Date: Wednesday, March 29, 2006 8:33 pm
Subject: Re: [hobbit] External Script installation
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.
quoted from Geoff Steer
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
quoted from Geoff Steer
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.

list Robert Bethke · Thu, 30 Mar 2006 10:13:55 -0500 ·
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 [mailto: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.

list Robert S Bethke · Thu, 30 Mar 2006 12:47:07 -0500 ·
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?
quoted from Robert Bethke


--


----- 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.

list Robert Bethke · Thu, 30 Mar 2006 12:51:33 -0500 ·
Ok, I got it working after I moved the Date folder into the 5.8.7 folder. 
quoted from Robert S Bethke
Anyone have any ideas on how to get this working with an SSL encrypted 
connection?

Robert
quoted from Robert Bethke

On Thursday 30 March 2006 10:13 am, Robert Bethke wrote:
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 [mailto: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.

list Geoff Steer · Fri, 31 Mar 2006 14:49:24 +1100 ·
Try searching for the module and confirming that the @INC path does
include that directory.

cd /usr/lib
find perl* -name "*Manip*" -print

On my systems (Linux, Centos 4.2), it's
under /usr/lib/perl5/vendor_perl.

Regards
Geoff
quoted from Robert Bethke

On Thu, 2006-03-30 at 10:13 -0500, Robert Bethke wrote:
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 [mailto: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.

-------------------------------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.