LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2010, 04:38 AM   #1
Glenn D.
Member
 
Registered: May 2009
Location: ACT - Australia
Distribution: Opensuse x86_64 (Latest)
Posts: 132

Rep: Reputation: 26
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
 
Old 05-25-2010, 05:31 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cacti installation on Debian Sarge: create cacti database error Yahweee Debian 2 08-26-2008 06:35 AM
Cacti & Apache 1.3 chroot? Antimatter Linux - Security 0 09-06-2007 04:26 PM
cacti & apache trebek Linux - Server 35 04-10-2007 08:34 PM
correct DISPLAY setting mathfeel Linux - Software 2 05-26-2006 02:15 PM
Setting correct permissions for my ~/ ShadyCharacter Linux - General 2 04-14-2004 11:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration