I am guessing the "apache.conf" file you're referring is "/etc/apache2/httpd.conf" or "/etc/init.d/apache2".
The line is not present in either of the files. Do I need to add it? Which of these files do I add the line and where in the file Thanks ________________________________ From: Davide [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2008 10:27 AM To: Ogunmadewa, Oludare Subject: Re: [mrtg-announce] Need Help Starting MRTG after installation and Configuration (Linux) Check for DocumentRoot in your "apache.conf" file... it's the root of the web server "html" directory; for example: DocumentRoot /var/www/html means that http://cib-cvs-build2/ is /var/www/html and that http://cib-cvs-build2/mrtg/ is /var/www/html/mrtg and so on... 2008/6/3 Ogunmadewa, Oludare <[EMAIL PROTECTED]>: Thanks for your quick response David... I must confess that this is my first attempt and I'm a novice :-) FYI, Currently, I do not have access to root, I may gain suexec access later. I'm attempting to configure and run with limited to no use of root. It did not work with http://cib-cvs-build2/mrtg/ I do have the following in my "apache.conf" file # List of resources to look for when the client requests a directory DirectoryIndex index.html index.html.var Where is the physical location of these files and how does "apache.conf" knows to locate them? Are these files in my /fire/etc/mrtg or /fire/var/www/html/mrtg? [EMAIL PROTECTED]:/fire/etc/mrtg> ls -ltr -rw-r--r-- 1 cvsprod cvsprod 6116 2008-05-28 12:49 mrtg.cfg [EMAIL PROTECTED]:/fire/var/www/html/mrtg> ls -ltr -rw-r--r-- 1 cvsprod cvsprod 2748 2008-05-28 12:49 index.html [EMAIL PROTECTED]:/etc/apache2> ls -ltr total 116 -rw-r--r-- 1 root root 12958 2007-07-05 08:48 magic -rw-r--r-- 1 root root 22 2007-07-05 09:02 uid.conf -rw-r--r-- 1 root root 2968 2007-07-05 09:02 ssl-global.conf -rw-r--r-- 1 root root 4336 2007-07-05 09:02 server-tuning.conf -rw-r--r-- 1 root root 85 2007-07-05 09:02 mod_usertrack.conf -rw-r--r-- 1 root root 1255 2007-07-05 09:02 mod_userdir.conf -rw-r--r-- 1 root root 334 2007-07-05 09:02 mod_status.conf -rw-r--r-- 1 root root 4491 2007-07-05 09:02 mod_mime-defaults.conf -rw-r--r-- 1 root root 1057 2007-07-05 09:02 mod_log_config.conf -rw-r--r-- 1 root root 369 2007-07-05 09:02 mod_info.conf -rw-r--r-- 1 root root 1504 2007-07-05 09:02 mod_autoindex-defaults.conf -rw-r--r-- 1 root root 1053 2007-07-05 09:02 listen.conf -rw-r--r-- 1 root root 8189 2007-07-05 09:02 httpd.conf -rw-r--r-- 1 root root 2753 2007-07-05 09:02 errors.conf -rw-r--r-- 1 root root 3763 2007-07-05 09:02 default-server.conf drwxr-xr-x 2 root root 4096 2007-07-05 09:02 conf.d drwxr-xr-x 2 root root 4096 2008-05-08 13:46 vhosts.d drwxr-xr-x 2 root root 4096 2008-05-08 13:46 ssl.prm drwx------ 2 root root 4096 2008-05-08 13:46 ssl.key drwxr-xr-x 2 root root 4096 2008-05-08 13:46 ssl.csr drwxr-xr-x 2 root root 4096 2008-05-08 13:46 ssl.crt drwxr-xr-x 2 root root 4096 2008-05-08 13:46 ssl.crl lrwxrwxrwx 1 root root 13 2008-05-08 13:46 mime.types -> ../mime.types drwxr-xr-x 2 root root 4096 2008-06-02 13:56 sysconfig.d Oludare FIRE Phone: (704) 715-9401 Fax: (704) 383-8498 ________________________________ From: Davide [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2008 9:35 AM To: Ogunmadewa, Oludare Subject: Re: [mrtg-announce] Need Help Starting MRTG after installation and Configuration (Linux) 1) Try with the "/" at the end of your URL 2) Be sure to have "DirectoryIndex index.html" in your apache conf file Davide 2008/6/3 Ogunmadewa, Oludare <[EMAIL PROTECTED]>: Folks, Need Help... I have just completed installing and configuring MRTG, I can not fire up the web page. Got the error below when I attempt to load http://cib-cvs-build2/mrtg And how do I search the archive for help? Additional Information on my environment: [EMAIL PROTECTED]:/fire/etc/mrtg> uname -a Linux cib-cvs-build2 2.6.5-7.286-smp #1 SMP Thu May 31 10:12:58 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux [EMAIL PROTECTED]:/fire/var/www/html/mrtg> ls -ltr -rw-r--r-- 1 cvsprod cvsprod 2748 2008-05-28 12:49 index.html root 9332 1 0 May28 ? 00:00:00 /usr/sbin/snmpd -r -A -LF d /var/log/net-snmpd.log -p /var/run/snmpd.pid root 29887 1 0 Jun02 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf wwwrun 29888 29887 0 Jun02 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf wwwrun 29889 29887 0 Jun02 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf wwwrun 29890 29887 0 Jun02 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf wwwrun 29891 29887 0 Jun02 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf wwwrun 29892 29887 0 Jun02 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf wwwrun 15613 29887 0 Jun02 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf cvsprod 17310 11626 0 08:55 pts/6 00:00:00 grep -E mrtg|libgd|png|snmp|apache [EMAIL PROTECTED]:/fire/var/www/html/mrtg> rpm -qa|grep -E "mrtg|libgd|pn> libpng-devel-1.2.5-182.14 apache2-2.0.59-1.1 net-snmp-5.1.3.1-0.18 php4-snmp-4.3.4-43.82 apache2-devel-2.0.59-1.4 mrtg-2.10.13-44.1 libpng-1.2.5-182.14 apache2-prefork-2.0.59-1.4 Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster <mailto:%5bno%20address%20given%5d> . Error 404 cib-cvs-build2 <http://cib-cvs-build2/> Tue Jun 3 08:46:22 2008 Apache/2.0.59 (Linux/SuSE) _______________________________________________ mrtg-announce mailing list [EMAIL PROTECTED] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg-announce
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
