I've just installed Nagios 4.0.0 on Ubuntu Server 13.04
I've followed the instructions here: http://www.nagios-do.org/?p=411
When I try to start nagios via terminal I get:
When running pre-flight check I get:sudo /etc/init.d/nagios start
* is not running
$Starting nagios: /etc/init.d/nagios: 72: /etc/init.d/nagios: daemon: not found
When I look at: /etc/init.d/nagios I see the file is a plain text document when the rest of the files are Link to shell scriptsudo /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 4.0.0
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 09-20-2013
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 8 services.
Checked 1 hosts.
Checked 1 host groups.
Checked 0 service groups.
Checked 1 contacts.
Checked 1 contact groups.
Checked 24 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
Is that right?
I also had to replace the text in daemon-init.in with the recommendation here: http://support.nagios.com/forum/viewtop ... ntu#p74444
What am I doing wrong.........? Halp!