Solved

I get a 403 error when trying to install cacti with apache

Posted on 2010-11-22
5
992 Views
Last Modified: 2012-05-10
I am trying to install cacti on a opensuse box. This is a fresh install of mysql, apache and cacti. I am currently getting a 403 error when trying to access the cacti web page.
0
Comment
Question by:motewalker
  • 3
  • 2
5 Comments
 
LVL 23

Expert Comment

by:Maciej S
ID: 34195493
Post your apache config file and appropriate part from your error_log.
0
 

Author Comment

by:motewalker
ID: 34196227
Rebuilt the server last night and just installed the updates and apache. Still get the 403 error. with that said.

default-server.conf
DocumentRoot "/srv/www/htdocs"
<Directory "/srv/www/htdocs">
        Options None
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>
Alias /icons/ "/usr/share/apache2/icons/"
<Directory "/usr/share/apache2/icons">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"
<Directory "/srv/www/cgi-bin">
        AllowOverride None
        Options +ExecCGI -Includes
        Order allow,deny
        Allow from all
</Directory>
<IfModule mod_userdir.c>
        UserDir public_html
        Include /etc/apache2/mod_userdir.conf    
</IfModule>
Include /etc/apache2/conf.d/*.conf
Include /etc/apache2/conf.d/apache2-manual?conf
                                                         
I have no virtual hosts configured at this time.

error log

[Mon Nov 22 14:55:43 2010] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 22 14:55:43 2010] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT'
[Mon Nov 22 14:55:43 2010] [notice] Apache/2.2.15 (Linux/SUSE) mod_ssl/2.2.15 OpenSSL/1.0.0 configured -- resuming normal operations
[Mon Nov 22 14:55:43 2010] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT'
[Mon Nov 22 14:55:43 2010] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT'
[Mon Nov 22 14:55:43 2010] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT'
[Mon Nov 22 14:55:43 2010] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT'
[Mon Nov 22 14:55:52 2010] [client ::1] Directory index forbidden by Options directive: /srv/www/htdocs/
[Mon Nov 22 14:55:52 2010] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT'
[Mon Nov 22 14:55:52 2010] [client ::1] File does not exist: /srv/www/htdocs/favicon.ico
[Mon Nov 22 14:55:52 2010] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT'
[Mon Nov 22 14:55:52 2010] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT'
[Mon Nov 22 14:55:55 2010] [client ::1] File does not exist: /srv/www/htdocs/favicon.ico
[Mon Nov 22 14:55:55 2010] Failed to change_hat to 'HANDLING_UNTRUSTED_INPUT'

0
 
LVL 23

Expert Comment

by:Maciej S
ID: 34198536
Is /srv/www/htdocs your cacti installation directory? If no - please attach proper /etc/apache2/conf.d/*.conf file.
How is your DirectoryIndex option set? (should be in main config file). It should contain index.php.

PS Another thing is your AppArmor (but I doubt, that it is causing your cacti/apache problems) - you have to configure it properly or just turn it off, but I can't help with this application, as I don't use suse.
0
 

Author Comment

by:motewalker
ID: 34205506
switched over to ubuntu and now I have apache working, but I don't know the file paths for the cacti config file for mysql/php and apache. Does anyone know where I should start?
0
 
LVL 23

Accepted Solution

by:
Maciej S earned 500 total points
ID: 34211909
dpkg -L cacti
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now