Nagios 2.5

Andreas Ericsson ae at op5.se
Thu Sep 28 13:09:46 CEST 2006


Saul Gonzalez wrote:
> Sorry I should have mentioned that I am running it within the
> /usr/local/nagios/bin directory.
> 

On all (sane) unices, your current working directory is not in the path 
(unless you happen to be standing in a directory which is already in the 
path). In order to execute programs in the current working directory, 
you therefore have to tell the shell that this is what you wish to do, 
by appending './' (without the single quotes) to the program name.

Iow, try:
./nagios -v <nagios-config-file>

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list