I've finally gotten Cacti installed and for the most part working. The only problem I still have is that I cannot connect to the cacti web site remotely. http://localhost/cacti works just fine, but http://remote_ip/cacti gives me an Apache forbidden error message. I'm a newb as far as Linux is concerned, (Sorry). I'm running CentOS 4.1, if that even matters, I'm guessing it's just permission somewhere. Any help that you can provide would be greatly appreciated.
Roland
Network Manager
Cherokee County Schools
/cacti/index.php Permissions problem
Moderators: Developers, Moderators
-
- Posts: 7
- Joined: Thu Oct 06, 2005 7:58 am
- Contact:
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
This probably a configuration problem concerning the directory or php.
Or it could me an accual permission problem on the cacti directory. What are the permissions on the cacti directory?
Or it could me an accual permission problem on the cacti directory. What are the permissions on the cacti directory?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Check to see if Selinux is enabled
and
look for "Allow from localhost" & "Deny from All" is set in your /etc/httpd/conf/httpd.conf file for the web root directory [ /var/www/html]
If so, change it to "Allow from (insert your subnets and/or hosts here)" or "Allow from all" if you are so inclined... and comment out the "Deny from all"
then issue (as root) /etc/init.d/httpd restart or service httpd restart
(they do the same, you could also use the reload keyword too.
and check your firewall settings. localhost is set to 127.0.0.1 in /etc/hosts which is bound to the loopback interface - lo which is trusted by most default iptables configs. Edit /etc/sysconfig/iptables to allow web traffic into the server or use whatever utility that comes with CentOS 4.1 for security setup.
I run CentOS 4.x & 3.5, but do most of my configs by hand or 3rd party scripts such Bastille so I do not remember what the firewall util is at the moment. Once you edit your firewall settings, restart iptables (like the httpd restart above) Both of which must be done at root level permissions
and
look for "Allow from localhost" & "Deny from All" is set in your /etc/httpd/conf/httpd.conf file for the web root directory [ /var/www/html]
If so, change it to "Allow from (insert your subnets and/or hosts here)" or "Allow from all" if you are so inclined... and comment out the "Deny from all"
then issue (as root) /etc/init.d/httpd restart or service httpd restart
(they do the same, you could also use the reload keyword too.
and check your firewall settings. localhost is set to 127.0.0.1 in /etc/hosts which is bound to the loopback interface - lo which is trusted by most default iptables configs. Edit /etc/sysconfig/iptables to allow web traffic into the server or use whatever utility that comes with CentOS 4.1 for security setup.
I run CentOS 4.x & 3.5, but do most of my configs by hand or 3rd party scripts such Bastille so I do not remember what the firewall util is at the moment. Once you edit your firewall settings, restart iptables (like the httpd restart above) Both of which must be done at root level permissions
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
-
- Posts: 7
- Joined: Thu Oct 06, 2005 7:58 am
- Contact:
Who is online
Users browsing this forum: No registered users and 0 guests