[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2010-11-22
5
Medium Priority
?
1,024 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 2000 total points
ID: 34211909
dpkg -L cacti
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

868 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