Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2010-11-22
5
Medium Priority
?
1,021 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

636 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