Page 2 of 2
Re: Looking for GUI Host creation tool for Nagios
Posted: Mon Apr 20, 2015 12:17 pm
by jolson
In addition to what rhassing stated, is apache2 up and running properly?
Does your apache2 user/group have proper permission to read the files in /var/www?
Code: Select all
ls -ld /var/www && ls -ld /var/www/html
Re: Looking for GUI Host creation tool for Nagios
Posted: Tue Apr 21, 2015 2:51 am
by lsazzad
Hi Jolson,
Thanks for your query! Please have following data that could help you to identify more easy.
Code: Select all
root@RR-DE-NMS-2:/home/rr-de-nms-2# cd /var/www
root@RR-DE-NMS-2:/var/www# ls -lrt
total 8
drwxr-xr-x 2 root root 4096 Apr 20 12:29 html
drwxr-xr-x 11 www-data www-data 4096 Apr 20 13:47 nagiosql32
root@RR-DE-NMS-2:/var/www# cd nagiosql32/
root@RR-DE-NMS-2:/var/www/nagiosql32# ls -lrt
total 48
-rw-r--r-- 1 www-data www-data 2230 Mar 14 2012 index.php
-rw-r--r-- 1 www-data www-data 1150 Mar 14 2012 favicon.ico
-rw-r--r-- 1 www-data www-data 1596 Mar 14 2012 admin.php
drwxr-xr-x 3 www-data www-data 4096 Jan 11 2013 config
drwxr-xr-x 2 www-data www-data 4096 Jan 11 2013 doc
drwxr-xr-x 2 www-data www-data 4096 Jan 11 2013 images
drwxr-xr-x 7 www-data www-data 4096 Jan 11 2013 install
drwxr-xr-x 2 www-data www-data 4096 Jan 11 2013 scripts
drwxr-xr-x 3 www-data www-data 4096 Jan 11 2013 libraries
drwxr-xr-x 4 www-data www-data 4096 Jan 11 2013 functions
drwxr-xr-x 4 www-data www-data 4096 Jan 11 2013 templates
drwxr-xr-x 2 www-data www-data 4096 Apr 20 13:47 admin
root@RR-DE-NMS-2:/var/www/nagiosql32# service apache2 status
* apache2 is running
root@RR-DE-NMS-2:/var/www/nagiosql32# ls -ld /var/www && ls -ld /var/www/html
drwxr-xr-x 4 root root 4096 Apr 20 13:46 /var/www
drwxr-xr-x 2 root root 4096 Apr 20 12:29 /var/www/html
root@RR-DE-NMS-2:/var/www/nagiosql32#
Expecting your help!

Re: Looking for GUI Host creation tool for Nagios
Posted: Tue Apr 21, 2015 2:53 am
by lsazzad
Re: Looking for GUI Host creation tool for Nagios
Posted: Tue Apr 21, 2015 4:08 am
by rhassing
Maybe you should move the nagiosql32 directory in /var/www/html/
Re: Looking for GUI Host creation tool for Nagios
Posted: Tue Apr 21, 2015 10:14 am
by jolson
rhassing,
That's what I was thinking as well. lsazzad, could you please try moving your nagiosql32 directory to /var/www/html?