Also got open_basedir = /usr/local/nagios/ in php.ini Colin
> -----Original Message----- > From: blueonyx-boun...@mail.blueonyx.it [mailto:blueonyx- > boun...@mail.blueonyx.it] On Behalf Of Colin Jack > Sent: 19 July 2012 18:41 > To: BlueOnyx General Mailing List > Subject: [BlueOnyx:10967] Nagios -aaahhhh! > > My BX Nagios server self destructed and I have rebuilt it using 5107R ... > > I then installed Nagios again in default setup and could not get around all > the > permissions problems - it is well locked down ;) > > I then created a vsite called nagios.domain.name and moved the web interface > (the /share directory), the cgi-bin directory (/sbin) and the plugins > directory > (/libexec) into the web folder. > Changed all ownership to nagios:nagios and put an .htaccess file in the cgi > and > plugin folders: > > Options +ExecCGI > AddHandler cgi-script .cgi > IndexIgnore * > > The web interface and cgi scripts work fine but I cannot get the plugins to > run. > Keep getting " Warning: Return code of 126 for check of service 'Current Load' > on host 'localhost' was out of bounds. Make sure the plugin you're trying to > run > is executable." > > The path has been changed in resources.cfg and permissions set as 755 ... > > Anybody any idea how to either > > 1. Get the plugins to run or > 2. Get it run from the native install (I tried disabling CGIWrap in > httpd.conf but > that didn't help. > > I appreciate I should run on a bare CentOS box but I have other stuff on here > that uses BX. > > Can anybody point me in the correct direction? > > Thanks > > Colin > > > > > _______________________________________________ > Blueonyx mailing list > Blueonyx@mail.blueonyx.it > http://mail.blueonyx.it/mailman/listinfo/blueonyx _______________________________________________ Blueonyx mailing list Blueonyx@mail.blueonyx.it http://mail.blueonyx.it/mailman/listinfo/blueonyx