Error on CentOS 6.5

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
smc2
Posts: 2
Joined: Mon Aug 13, 2012 4:52 am

Error on CentOS 6.5

Post by smc2 »

Could someone please help me. I have Cent OS 6.5 with selinux disabled.
Thanks in advance.
ERROR CODE is :

Code: Select all

 
[Mon Aug 13 14:17:50 2012] [error] [client 10.10.32.75] PHP Warning:  include(./include/auth.php): failed to open stream: Permission denied in /usr/share/cacti/index.php on line 25
[Mon Aug 13 14:17:50 2012] [error] [client 10.10.32.75] PHP Warning:  include(): Failed opening './include/auth.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/cacti/index.php on line 25
[Mon Aug 13 14:17:50 2012] [error] [client 10.10.32.75] PHP Warning:  include(./include/top_header.php): failed to open stream: Permission denied in /usr/share/cacti/index.php on line 26
[Mon Aug 13 14:17:50 2012] [error] [client 10.10.32.75] PHP Warning:  include(): Failed opening './include/top_header.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/cacti/index.php on line 26
[Mon Aug 13 14:17:50 2012] [error] [client 10.10.32.75] PHP Fatal error:  Call to undefined function api_plugin_hook() in /usr/share/cacti/index.php on line 28
permission is as follow:

Code: Select all

-rw-r--r--.   1 apache root 6.1K Jul  9  2010 about.php
-rw-r--r--.   1 apache root 5.1K Jun  5  2010 auth_changepassword.php
-rw-r--r--.   1 apache root  14K Jul  9  2010 auth_login.php
-rw-r--r--.   1 apache root 228K Aug 20  2011 cacati_backup.sql
drw-r--r--.   2 apache root 4.0K Aug  8 01:54 cache
-rw-r--r--.   1 apache root 173K Jul  9  2010 cacti.sql
-rw-r--r--.   1 apache root  22K Jul  9  2010 cdef.php
drw-r--r--.   2 apache root 4.0K Aug  8 16:01 cli
-rw-r--r--.   1 apache root  20K Jul  9  2010 cmd.php
-rw-r--r--.   1 apache root 6.9K Jul  9  2010 color.php
-rw-r--r--.   1 apache root  25K Jul  9  2010 data_input.php
-rw-r--r--.   1 apache root  35K Jul  9  2010 data_queries.php
-rw-r--r--.   1 apache root  510 Jul 27  2010 data_source_deactivate.patch
-rw-r--r--.   1 apache root  58K Jul  9  2010 data_sources.php
cat /etc/httpd/cacti.conf

Code: Select all

 
Alias /cacti /usr/share/cacti
<DirectoryMatch  /usr/share/cacti >
        Options +FollowSymLinks
        order allow,deny
        Allow from all
        <IfModule mod_php4.c>
                AddType application/x-httpd-php .php
                php_flag magic_quotes_gpc Off
                php_flag short_open_tag On
                php_flag register_globals Off
                php_flag register_argc_argv On
                php_flag track_vars On
                # this setting is necessary for some locales
                php_value mbstring.func_overload 0
                php_value include_path .
                DirectoryIndex index.php
        </IfModule>
</DirectoryMatch>
smc2
Posts: 2
Joined: Mon Aug 13, 2012 4:52 am

Re: Error on CentOS 6.5

Post by smc2 »

I am really out of ideas :(
would someone help me please ?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Error on CentOS 6.5

Post by phalek »

for the directories, do a "chmod +x" on them ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
ceefus
Posts: 7
Joined: Wed Oct 10, 2012 10:29 am

Re: Error on CentOS 6.5

Post by ceefus »

I'm having the same problem. Sorry to bring up an old topic but chmod +x does not work.

Any other suggestions?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Error on CentOS 6.5

Post by gandalf »

Please better open a new thread and provide all error messages you can get hold of (cacti.log, httpd's error_log, ...)
R.
doiggl
Cacti User
Posts: 222
Joined: Wed Dec 16, 2009 6:32 am

Re: Error on CentOS 6.5

Post by doiggl »

Hello,
I spotted this thread - [HOWTO] Cacti Installation on CentOS
http://forums.cacti.net/viewtopic.php?t=36937
--Glenn
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests