Problem with my script


#1

i wrote a small script that will check a graph through nagios. It’s running fine on all machines except one machine which i’m getting this error

[blockquote]Can’t locate libs.pm in @INC[/blockquote]

I googled it but can’t seem to find the solution any help is greatly appreciated

Tarek


#2

Try to find the file libs.pm on a machine where your script is working, and copy it to the machine that doesn’t work

Hope this helps


#3

I have tried this but couldn’t find this file in other machines.


#4

In a machine that works, Try to execute: perl -e 'print @INC
You should obtain the list of possible pathes where libs.pm is located


#5

Thanks for the hlep the problem was solved. Perl-rrdtool was missing so i installed it and every thing went fine.