Getting error while opening this address: http://Server-IP/nagioslogserver/
The requested URL /nagioslogserver was not found on this server.
/nagioslogserver was not found
Re: /nagioslogserver was not found
How did you install NLS?
Re: /nagioslogserver was not found
I've installed manually.
Re: /nagioslogserver was not found
I am making a lot of assumptions here, but assuming you installed on a CentOS type server, running Apache, you should have a file called /etc/httpd/conf.d/nagioslogserver. Can you please post the contents of that file? If you do not have that file, then you are in a Debian style server, and it will be located in /etc/apache2/conf.d. If it's not there, then most likely this is the root of your problem.
Re: /nagioslogserver was not found
Exactly centOS... Below is the file contect as per your direction.
Alias /nagioslogserver "/var/www/html/nagioslogserver/www/"
<Directory "/var/www/html/nagioslogserver/www/">
# SSLRequireSSL
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /nagioslogserver "/var/www/html/nagioslogserver/www/"
<Directory "/var/www/html/nagioslogserver/www/">
# SSLRequireSSL
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Re: /nagioslogserver was not found
Good, that helps!
Have you rebooted and/or restarted Apache since installing NLS? I'm grasping at straws here because ./fullinstall should take care of these sorts of things. So we're going to debug a bit.
Try this:
Then, while watching those logs on your screen, go to your http://<server>/nagioslogserver and see what happens on the logs.
Have you rebooted and/or restarted Apache since installing NLS? I'm grasping at straws here because ./fullinstall should take care of these sorts of things. So we're going to debug a bit.
Try this:
Code: Select all
tail -f /var/log/httpd/access_log /var/log/httpd/error_log &
service httpd restart
Re: /nagioslogserver was not found
I've restarted apache after installing NLS.
Below is the output of: tail -f /var/log/httpd/access_log /var/log/httpd/error_log &
==> /var/log/httpd/error_log <==
[Wed Jan 21 15:28:20 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Wed Jan 21 15:28:20 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jan 21 15:28:20 2015] [notice] Digest: generating secret for digest authentication ...
[Wed Jan 21 15:28:20 2015] [notice] Digest: done
[Wed Jan 21 15:28:20 2015] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Wed Jan 21 15:29:18 2015] [notice] caught SIGTERM, shutting down
Below is the output of: tail -f /var/log/httpd/access_log /var/log/httpd/error_log &
==> /var/log/httpd/error_log <==
[Wed Jan 21 15:28:20 2015] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Wed Jan 21 15:28:20 2015] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jan 21 15:28:20 2015] [notice] Digest: generating secret for digest authentication ...
[Wed Jan 21 15:28:20 2015] [notice] Digest: done
[Wed Jan 21 15:28:20 2015] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Wed Jan 21 15:29:18 2015] [notice] caught SIGTERM, shutting down
Re: /nagioslogserver was not found
I'm only seeing the error log. Is there nothing in /var/log/httpd/access_log? If so, then you may be looking at a firewall issue and no requests are making it to your server. You can try "service iptables stop" to see if that helps.
Do you have any valid web accesses to this server?
Do you have any valid web accesses to this server?
Re: /nagioslogserver was not found
There's nothing in /var/log/httpd/access_log. I've stop the iptables but still getting error.
Yes, it's my vps, i've a valid access.
Yes, it's my vps, i've a valid access.
Re: /nagioslogserver was not found
It's looking like your Apache setup is not working properly. If you just go to http://<ip address> what do you get on your browser?