LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   setting which is not correct in cacti or apache (https://www.linuxquestions.org/questions/linux-software-2/setting-which-is-not-correct-in-cacti-or-apache-809957/)

Glenn D. 05-25-2010 04:38 AM

setting which is not correct in cacti or apache
 
I have apache and Cacti rpms installed and I see this error in the Apache log when accessing various menu items in cacti with this error:-
File does not exist: /usr/share/cacti/cacti

Does any one know where the setting is stored
Rpms installed :-

# rpm -qa | grep -i apache | sort
apache2-2.2.15-3.1.x86_64
apache2-doc-2.2.15-3.1.noarch
apache2-example-pages-2.2.15-3.1.x86_64
apache2-mod_perl-2.0.4-44.19.x86_64
apache2-mod_php5-5.3.2-1.14.x86_64
apache2-mod_python-3.3.1-150.10.x86_64
apache2-prefork-2.2.15-3.1.x86_64
apache2-utils-2.2.15-3.1.x86_64
apache2-worker-2.2.15-3.1.x86_64
#
# rpm -qa | grep -i cacti
cacti-PA-0.8.7f-11.1.noarch

The Apache log shows -{ tail -F /var/log/apache2/* }

==> /var/log/apache2/cacti-access_log <==
::1 - - [25/May/2010:01:11:57 +1000] "GET /cacti/index.php HTTP/1.1" 404 1137 "http://localhost/" "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100317 SUSE/2.0.4-1.19 SeaMonkey/2.0.4"

==> /var/log/apache2/cacti-error_log <==
[Tue May 25 01:11:57 2010] [error] [client ::1] File does not exist: /usr/share/cacti/cacti, referer: http://localhost/


Any ideas where to look for the configuration file which contains the incorrect setting /usr/share/cacti/cacti I suspect it should read /usr/share/cacti
Thanks Glenn

bathory 05-25-2010 05:31 AM

Hi,

Take a look at httpd.conf or cacti.conf for an Alias to cacti installation directory. It should be something
Quote:

Alias /cacti /usr/share/cacti/cacti


All times are GMT -5. The time now is 01:04 AM.