Fatal error after installing the Plugin Architecture - Ubunu
Moderators: Developers, Moderators
Fatal error after installing the Plugin Architecture - Ubunu
Hello,
After installing the PA I am having troubles using cacti. Cacti asked me if I wanted to upgrade or reinstall cacti after installing PA. I've chosen both options which sooner or later take me to a login window which asks for my username and password. But there is no field for entering a password!!!
And the page gives me the following error:
Fatal error: Call to undefined function clean_html_output() in /usr/share/cacti/site/auth_login.php on line 307
The login window looks crippled too.
Any ideas?
System: Ubuntu LTS 8.04
latest version of cacti
i've copied over cacti from the "files" dircetory as patching didn't seem to do anything
thanks
ne0trace
After installing the PA I am having troubles using cacti. Cacti asked me if I wanted to upgrade or reinstall cacti after installing PA. I've chosen both options which sooner or later take me to a login window which asks for my username and password. But there is no field for entering a password!!!
And the page gives me the following error:
Fatal error: Call to undefined function clean_html_output() in /usr/share/cacti/site/auth_login.php on line 307
The login window looks crippled too.
Any ideas?
System: Ubuntu LTS 8.04
latest version of cacti
i've copied over cacti from the "files" dircetory as patching didn't seem to do anything
thanks
ne0trace
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
2.4 is designed for Cacti 0.8.7c and above. Don't apply full files to prior releases. It won't work.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
One way you can upgrade is to download the full tar of 0.8.7d and overwrite your exsiting files. Change the settings in global.php, and then test to ensure it's working.
Once you've got this far, you should be able to either patch the PIA in, or overwrite the files.
Regds
Once you've got this far, you should be able to either patch the PIA in, or overwrite the files.
Regds
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Odd - if you installed this from packages originally, the symlink should already be there ?ne0trace wrote:Worked...
But I had to put a symlink for rrd as ubuntu places it under /var/lib/. It then worked like charm.
Thanks for your help
ne0trace
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Sounds more like an issue with your RRA directory in terms of permissions. Try chown -R www-data /usr/share/cacti/site/rra. You may also need to grant write access for the www-data account to the RRA folder.
Check permissions on /usr/share/cacti/site/rra directory - chances are only root owns it, and is allowed to write to it.
Check permissions on /usr/share/cacti/site/rra directory - chances are only root owns it, and is allowed to write to it.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Who is online
Users browsing this forum: No registered users and 0 guests