Hello everyone,
I have a problem to run a script on my FreeBSD 6.0 server. The script is in /usr/local/nagios/libexec/. It runs fine if I run into me in this directory. By cons, if I run it from another directory, it tells me it can not find the file utils.pm (found in /usr/local/nagios/libexec/ and he would therefore need). Now I need to run this script from another directory.
I tried putting the absolute path, but it does nothing. I also added the directory /usr/local/nagios/libexec/ in the PATH, but nothing either There must be some subtleties with the BSD I do not know ...
Thank you for your help!
I have a problem to run a script on my FreeBSD 6.0 server. The script is in /usr/local/nagios/libexec/. It runs fine if I run into me in this directory. By cons, if I run it from another directory, it tells me it can not find the file utils.pm (found in /usr/local/nagios/libexec/ and he would therefore need). Now I need to run this script from another directory.
I tried putting the absolute path, but it does nothing. I also added the directory /usr/local/nagios/libexec/ in the PATH, but nothing either There must be some subtleties with the BSD I do not know ...
Thank you for your help!