Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Installed Plugin Architecture then cant open CACTI

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Architecture
Author Message
weran



Joined: 01 Dec 2008
Posts: 3

PostPosted: Mon Dec 01, 2008 7:56 am    Post subject: Installed Plugin Architecture then cant open CACTI Reply with quote

i has instelled Plugin Architecture
then i cant open CACTI WEB
when i install have't any error ,
i am get Apache error log

it show

[Mon Dec 01 21:07:21 2008] [error] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/var/www/html/cacti/lib/plugins.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/cacti/include/global.php on line 211

[Mon Dec 01 21:07:21 2008] [error] PHP Warning: include_once(/var/www/html/cacti/include/plugins.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: Permission denied in /var/www/html/cacti/include/global.php on line 212

[Mon Dec 01 21:07:21 2008] [error] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/var/www/html/cacti/include/plugins.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/cacti/include/global.php on line 212

[Mon Dec 01 21:07:21 2008] [error] PHP Fatal error: Call to undefined function api_plugin_hook() in /var/www/html/cacti/include/global_arrays.php on line 620
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12642
Location: Muenster, Germany

PostPosted: Mon Dec 01, 2008 8:27 am    Post subject: Reply with quote

How did you install the PIA?
Is the file /var/www/html/cacti/lib/plugins.php present?
Reinhard
Back to top
weran



Joined: 01 Dec 2008
Posts: 3

PostPosted: Mon Dec 01, 2008 9:30 am    Post subject: Reply with quote

gandalf wrote:
How did you install the PIA?
Is the file /var/www/html/cacti/lib/plugins.php present?
Reinhard


i has foallow
# cd /var/www/html/cacti

cacti/# patch -p1 -N < /home/ctools/cacti-plugin-arch/cacti-plugin-0.8.7b-PA-v2.1.diff

to install

and i has try

cp -r /home/ctools/cacti-plugin-arch/files-0.8.7b/* /var/www/html/cacti/

still cacti open fail
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12642
Location: Muenster, Germany

PostPosted: Tue Dec 02, 2008 3:49 pm    Post subject: Reply with quote

What was the output of the patch command? Did you install the pa.sql to the cacti database?
If everything fails, you may delete the cacti installation and re-install the code (do NOT change the existing database!) to start fresh
Reinhard
Back to top
weran



Joined: 01 Dec 2008
Posts: 3

PostPosted: Wed Dec 03, 2008 5:06 am    Post subject: Reply with quote

gandalf wrote:
What was the output of the patch command? Did you install the pa.sql to the cacti database?
If everything fails, you may delete the cacti installation and re-install the code (do NOT change the existing database!) to start fresh
Reinhard


ok i'll try~ thx alots
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin Architecture All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group