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

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
steveallen1987
Posts: 7
Joined: Mon Mar 03, 2014 7:23 am

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

Post 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,
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post 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
Former Nagios employee
steveallen1987
Posts: 7
Joined: Mon Mar 03, 2014 7:23 am

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

Post by steveallen1987 »

Would it be better for me to just install Nagios on a different OS.

Which would you recommend?

Kind regards,
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post 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.
Former Nagios employee
steveallen1987
Posts: 7
Joined: Mon Mar 03, 2014 7:23 am

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

Post by steveallen1987 »

Thanks mate will start again with CentOS.

Cheers,
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

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

Post by tmcdonald »

I'm going to close this thread but feel free to open another if you need help with anything else.
Former Nagios employee
Locked