Cheshire Cat Computing
http://www.steveshipway.org/forum/

new install on virtual centos 7
http://www.steveshipway.org/forum/viewtopic.php?f=2&t=9425
Page 1 of 1

Author:  dhottinger [ Tue Feb 16, 2016 3:37 am ]
Post subject:  new install on virtual centos 7

Im attempting to routers.cgi running with mrtg on a virtual centos 7 server. Im getting the following error when access the cgi (http://10.40.0.56/cgi-bin/routers2.cgi). Ive verified read access by http to the cfg directory and the paging is correct. Mrtg is creating the rrd files in my /var/www/html/mrtg folder. Im currently running it on cron every 5 minutes, like I use to before rrd. Is there anything else I can do or a nudge in the right direction? I feel Im missing something fairly obvious, but may need a small whack in the head to see it.

No valid target is selected

You have no valid MRTG configuration files. You should check your configuration in /var/www/html/mrtg/routers2.conf.
[/etc/mrtg/*.cfg]

confpath = /etc/mrtg

cfgfiles = *.cfg

Incidently, thanks for using your time to develop this.

Author:  dhottinger [ Tue Feb 16, 2016 6:54 am ]
Post subject:  Re: new install on virtual centos 7

Didnt need that proverbial whack on the head afterall. SELINUX was enabled on the virtual server and not allowing the cgi to access the config files. Disabled selinux and all is working.

Page 1 of 1 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/