Hi Abhinav,
I found my "old" Nagios 3 init script ist working well with Nagios 4 under
Debian wheezy:
#!/bin/sh
#
# chkconfig: 345 99 01
# description: Nagios network monitor
#
# File : nagios
#
# Author : Jorge Sanchez Aymar (jsanc...@lanchile.cl)
#
# Changelog :
#
# 1999-07-09 Karl DeBisscho
"
To: "Nagios Users List"
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.
Zealand
www.datacom.co.nz<http://www.datacom.co.nz/> | PO Box 6376, Marion Square,
Wellington, New Zealand 6141
From: Daniel Wittenberg [mailto:dwittenberg2...@gmail.com]
Sent: Thursday, 13 June 2013 7:30 a.m.
To: Nagios Users List
Subject: Re: [Nagios-users] Nagios init script not work
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"
wrote:
> H
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:
/