I have just moved a nagios setup from my Gentoo desktop to a new Debian VPS. I've updated the paths in all the config files and it is mostly working fine.
However, when I reload the config (/etc/init.d/nagios reload) it throws everything into a horrible state. None of the plugins work and I get the following error on all host and service checks:
Return code of 127 is out of bounds - plugin may be missing
The plugins are definitely there, and when I start or restart Nagios there is no problem in using them. It's just the reload causing this as far as I can tell. I never had this problem on the gentoo setup. Both are version 3.0.3.
Any help would be much appreciated.