Nagios init script not working on Ubuntu 12.04
Páll Guðjón Sigurðsson
palli at ok.is
Thu Jun 13 12:26:56 CEST 2013
Alternatively, do this to install nagios on ubuntu 12.04:
# apt-get install nagios3 nagios-plugins
The packages are quite good, and imho there is nothing quick about that quickstart guide.
Kind regards,
Pall Sigurdsson
----- Original Message -----
From: "Gavin Grieve [DATACOM]" <Gavin.Grieve at datacom.co.nz>
To: "Nagios Users List" <nagios-users at lists.sourceforge.net>
Sent: Wednesday, June 12, 2013 8:58:06 PM
Subject: Re: [Nagios-users] Nagios init script not working on Ubuntu 12.04
You could try replacing the line that mentions functions with:
. /lib/lsb/init-functions
Note the full stop at the start is required.
I believe this is the Ubuntu equivalent.
--
Gavin Grieve
Systems Management Specialist | Datacom | Datacom House, 68 Jervois Quay, Wellington, 6011, New Zealand
www.datacom.co.nz | PO Box 6376, Marion Square, Wellington, New Zealand 6141
From: Daniel Wittenberg [mailto:dwittenberg2008 at gmail.com]
Sent: Thursday, 13 June 2013 7:30 a.m.
To: Nagios Users List
Subject: Re: [Nagios-users] Nagios init script not working on Ubuntu 12.04
Functions is a file on rhel-based systems and provides common start/stop routines. I dont use Ubuntu myself but if you figure out how to make it work let me know. If I get some time I'll see if I still have an ubuntu test VM to look at.
Dan
On Jun 12, 2013 2:09 PM, "Abhinav Upadhyay" < er.abhinav.upadhyay at gmail.com > wrote:
Hi,
I just followed the instructions on
http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html to
install the latest stable release of Nagios (3.5) on a fresh Ubuntu
12.04 machine. Everything went fine, but when I try to start nagios
using /etc/init.d/nagios start, I get following error:
/etc/init.d/nagios: 20: .: Can't open /etc/rc.d/init.d/functions
There is no file at /etc/rc.d/init.d/functions. It seems like the
Makefile could not put the functions file at /etc/rc.d/init.d ? Is it
a bug or I missed something?
Regards
Abhinav
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
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
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
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
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
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