Re: Nagios init script not working on Ubuntu 12.04
"Gavin Grieve [DATACOM]" <[email protected]> Thu, 13 Jun 2013 08:58:06 +1200
| Newsgroups | gmane.network.nagios.user |
|---|---|
| Message-ID | <9BAC443567932C429837071BCD1C709C07CC2D002B@dnzwgex2.datacom.co.nz> |
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<http://www.datacom.co.nz/> | PO Box 6376, Marion Square, Wellington, New Zealand 6141 From: Daniel Wittenberg [mailto:[email protected]] 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" <[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]> 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 [email protected] 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