Page 1 of 1

Fresh Install - Can't open /etc/rc.d/init.d/functions

Posted: Mon Mar 03, 2014 7:36 am
by steveallen1987
Hi

I'm currently following the installation documentation at: http://assets.nagios.com/downloads/nagi ... Source.pdf

I'm installing Nagios onto a fresh install of Ubuntu Server.

I receive the following error:

Code: Select all

root@nagios:/tmp/nagios-4.0.2# /etc/init.d/nagios start
/etc/init.d/nagios: 20: .: Can't open /etc/rc.d/init.d/functions
root@nagios:/tmp/nagios-4.0.2#
Everything else up to this point worked OK. The only other slight problem was when changing into the Nagios directory it states "cd nagios" but I have to use "cd nagios-4.0.2". Would this cause any problems?

Does anyone know how I can fix the start error?

Thanks,

Re: Fresh Install - Can't open /etc/rc.d/init.d/functions

Posted: Mon Mar 03, 2014 2:49 pm
by tmcdonald
I was about to type out a reply but this link says basically what I was going to:

http://stackoverflow.com/questions/1960 ... -functions

Re: Fresh Install - Can't open /etc/rc.d/init.d/functions

Posted: Tue Mar 04, 2014 10:21 am
by steveallen1987
Would it be better for me to just install Nagios on a different OS.

Which would you recommend?

Kind regards,

Re: Fresh Install - Can't open /etc/rc.d/init.d/functions

Posted: Tue Mar 04, 2014 11:08 am
by tmcdonald
We officially develop on and support RHEL/CentOS systems and have found them to be very stable and reliable. Nagios installation and configuration is pretty painless on a CentOS system and is generally what we run in the office for testing.

Re: Fresh Install - Can't open /etc/rc.d/init.d/functions

Posted: Tue Mar 04, 2014 11:12 am
by steveallen1987
Thanks mate will start again with CentOS.

Cheers,

Re: Fresh Install - Can't open /etc/rc.d/init.d/functions

Posted: Tue Mar 04, 2014 11:46 am
by tmcdonald
I'm going to close this thread but feel free to open another if you need help with anything else.