Hi
I currently have Cacti 0.8.7g and API 2.8 running on Debian Squeeze ( Debian 6.0) , is there a recommended way to upgrade to Cacti 0.8.7h and API 3.0 ?
Will plugins installed under API 2.8 work seamlessly?
If it breaks, no worries , I can do a whole new install as I am just starting to add devices. http://forums.cacti.net/posting.php?mode=post&f=2#
Cheers
Upgrade to cacti 0.8.7h on debian squeeze
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Upgrade to cacti 0.8.7h on debian squeeze
There may be some problems upgrading. Best to give it a test run before you proceed.
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?
Re: Upgrade to cacti 0.8.7h on debian squeeze:
I did a fresh install.==>Cacti 0.8.7g and API 2.8 running on Debian Squeeze ( Debian 6.0)
Apache Version Apache/2.2.16 (Debian) ,PHP 5.3.3-7+squeeze3 with Suhosin-Patch.
Now get error whenever the "Console" or "graphs" tab is clicked:
tail -f /var/log/apache2/error.log
PHP Notice: A session had already been started - ignoring session_start() in /var/www/cacti/include/global.php on line 151
Should I change line 151 like so or something else: I am not a php programmer.
if(session_id() == "")
{
start_session();
}
Cheers
Apache Version Apache/2.2.16 (Debian) ,PHP 5.3.3-7+squeeze3 with Suhosin-Patch.
Now get error whenever the "Console" or "graphs" tab is clicked:
tail -f /var/log/apache2/error.log
PHP Notice: A session had already been started - ignoring session_start() in /var/www/cacti/include/global.php on line 151
Should I change line 151 like so or something else: I am not a php programmer.
if(session_id() == "")
{
start_session();
}
Cheers
Re: Upgrade to cacti 0.8.7h on debian squeeze
Error in line 1 above : Should have read:
Cacti 0.8.7h and API 3.0
Sorry.
Cacti 0.8.7h and API 3.0
Sorry.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Upgrade to cacti 0.8.7h on debian squeeze
Looks like Debian is invoking
in Apaches php.ini file.session.auto_start = 1
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?
Re: Upgrade to cacti 0.8.7h on debian squeeze
That fixed it. Much appreciated.
in /etc/php5/cli/php.ini
; Initialize session on request startup.
; http://php.net/session.auto-start
session.auto_start = 0
in /etc/php5/apache2/php.ini
; Initialize session on request startup.
; http://php.net/session.auto-start
session.auto_start = 1
Changed to 0.
Cheers
in /etc/php5/cli/php.ini
; Initialize session on request startup.
; http://php.net/session.auto-start
session.auto_start = 0
in /etc/php5/apache2/php.ini
; Initialize session on request startup.
; http://php.net/session.auto-start
session.auto_start = 1
Changed to 0.
Cheers
Who is online
Users browsing this forum: No registered users and 1 guest