I’m runnig into a weird problem and I hope someone is kind enough to help me out here. I’m kind of new into this so forgive me for the stupid things a may ask in the future
I installed the 1.2 version of Nagios. After I ran all the things tey asked me to ad after I modified some appache config files I am able to see my start page.
But when I want to start Nagios (with the -v option) it just tells me nagios: command not found.
I think it has something to do with rights. But I’m not sure. And if so…what do I have to correct ?
It may help if you post the actual command you are using and "ls -l " the actual command file to check that it is there and has the correct permissions.
Unlike DOS, most *nix boxes do NOT by default include the current directory in the search path for executables. Either use the full path name of the executable, or cd to the /usr/local/nagios/bin directory and type:
./nagios -v …/etc/nagios.cfg