Nagios 4 fails to start on Raspberry PI
Posted: Wed Oct 14, 2015 7:12 pm
I have a Raspberry Pi running Raspbian Jesse
Installed Nagios using this procedure
http://www.howtovmlinux.com/articles/ra ... rrypi.html
First error
pi@raspberrypi ~/nagios $ sudo make install-webconf
/usr/bin/install -c -m 644 sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf
/usr/bin/install: cannot create regular file `/etc/httpd/conf.d/nagios.conf': No such file or directory
make: *** [install-webconf] Error 1
Even tho I got this I continued that step came from the Compile the source and install it section
Then all other steps ran good
So I tried to start Nagios
root@raspberrypi:/tmp/nagios_downloads/nagios-plugins-2.0.3# /etc/init.d/nagios start
[....] Starting nagios (via systemctl): nagios.serviceFailed to start nagios.service: Unit nagios.service failed to load: No such file or directory.
failed!
tried this
root@raspberrypi:/# systemctl status nagios.service
● nagios.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
root@raspberrypi:/# service nagios start
Failed to start nagios.service: Unit nagios.service failed to load: No such file or directory.
root@raspberrypi:/#
What am I missing or doing wrong here
Thanks
Installed Nagios using this procedure
http://www.howtovmlinux.com/articles/ra ... rrypi.html
First error
pi@raspberrypi ~/nagios $ sudo make install-webconf
/usr/bin/install -c -m 644 sample-config/httpd.conf /etc/httpd/conf.d/nagios.conf
/usr/bin/install: cannot create regular file `/etc/httpd/conf.d/nagios.conf': No such file or directory
make: *** [install-webconf] Error 1
Even tho I got this I continued that step came from the Compile the source and install it section
Then all other steps ran good
So I tried to start Nagios
root@raspberrypi:/tmp/nagios_downloads/nagios-plugins-2.0.3# /etc/init.d/nagios start
[....] Starting nagios (via systemctl): nagios.serviceFailed to start nagios.service: Unit nagios.service failed to load: No such file or directory.
failed!
tried this
root@raspberrypi:/# systemctl status nagios.service
● nagios.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
root@raspberrypi:/# service nagios start
Failed to start nagios.service: Unit nagios.service failed to load: No such file or directory.
root@raspberrypi:/#
What am I missing or doing wrong here
Thanks