Hi
I have install a unbutu 16.04.2 server and nagios 4.2.4
i have finally come to the end with the istallation when i try to start up nagios
service start nagios
--it ask for the password--
Failed to start nagios service unit nagios.service was not found.
have follow this guide
https://www.howtoforge.com/tutorial/ubuntu-nagios/
and try this
Now edit the Nagios file:
vim /etc/init.d/nagios
DESC="Nagios"
NAME=nagios
DAEMON=/usr/local/nagios/bin/$NAME
DAEMON_ARGS="-d /usr/local/nagios/etc/nagios.cfg"
PIDFILE=/usr/local/nagios/var/$NAME.lock
Make it executable and start Nagios:
chmod +x /etc/init.d/nagios
service apache2 restart
servuce nagios start
nagios will not start up
Re: nagios will not start up
Did the nagios service start after following the guide in that link?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: nagios will not start up
no .. nagios whant startup
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: nagios will not start up
Please run through our ubuntu instructions at https://support.nagios.com/kb/article.php?id=96
Re: nagios will not start up
now i can start up nagios/apache 2 but when i try to open the url http://x.x.x.x/nagios
Not Found
The requested URL /nagios:80 was not found on this server.
Apache/2.4.18 (Ubuntu) Server at 10.10.1.134 Port 80
Not Found
The requested URL /nagios:80 was not found on this server.
Apache/2.4.18 (Ubuntu) Server at 10.10.1.134 Port 80
Re: nagios will not start up
when i write "sudo systemctl1 start nagios"
it just accept the command.. but when i write /etc/init.d/nagios status it answare * nagios is not running
it just accept the command.. but when i write /etc/init.d/nagios status it answare * nagios is not running
Re: nagios will not start up
now i have reinstall servern witvh ubuntu 14 an follow the guide u whant.
But when i come ti
Downloading the Source
follow ubuntu 14.
Ubuntu
cd /tmp/nagioscore-nagios-4.3.1/
ubuntu answare -bash: cd /tmp/nagioscore-nagios-4.3.1/: No such file or directory
I have not follow
sudo ./configure --with-httpd-conf=/etc/apache2/sites-enabled
sudo make all
But when i come ti
Downloading the Source
follow ubuntu 14.
Ubuntu
cd /tmp/nagioscore-nagios-4.3.1/
ubuntu answare -bash: cd /tmp/nagioscore-nagios-4.3.1/: No such file or directory
I have not follow
sudo ./configure --with-httpd-conf=/etc/apache2/sites-enabled
sudo make all
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: nagios will not start up
What's the output of ls -la /tmp? My guess is you just missed the extraction step...or the extraction failed for some reason.mfrycke wrote: cd /tmp/nagioscore-nagios-4.3.1/