Hello I am installing nagios-4.0.1 but this level of problem: Service nagios restart
.: 21: Can not open / etc / init.d / functions
So ask for help.
Can't open /etc/init.d/functions
Re: Can't open /etc/init.d/functions
I presume you are running debian, ubuntu or suse? If so, try the init script in the following post:
http://support.nagios.com/forum/viewtop ... =20#p64091
It is a hack, but it works. . .
http://support.nagios.com/forum/viewtop ... =20#p64091
It is a hack, but it works. . .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Can't open /etc/init.d/functions
it is debian 6
Re: Can't open /etc/init.d/functions
If that is the case, try the altered init script in the linked post above. You will need to:
In order for the script to work.
Code: Select all
apt-get install daemonFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Can't open /etc/init.d/functions
I had the same result == Can't open /etc/init.d/functions with Ubuntu 12 and Debian 7.
I'd just install apt-get install daemon, reboot and replace /etc/init.d/nagios file by the "hack" script.
Now everything fine
thx!
I'd just install apt-get install daemon, reboot and replace /etc/init.d/nagios file by the "hack" script.
Now everything fine