I've seen one or two posting on this related to a session_name error in Cacti and the issue appears to be in php. The error I'm getting in Apache2 is:
[Sun Feb 28 10:01:33 2010] [error] [client 192.168.0.118] PHP Fatal error: Call to undefined function session_name() in /opt/cacti/cacti-0.8.7e/include/global.php on line 129
I'm trying to the Blastwave packages on Solaris 10 with Cacti 0.8.7e. I've installed the documented requirements as per the Cacti installation guide and Apache2 has been tweaked.
RRDtool v1.3.8
MySQL v5.0.87
PHP v5.2.9 (Zend Engine v2.2.0)
Apache2 v2.2.13
A posting I saw related to this issue was here:
http://forums.cacti.net/about29697.html
It seems to indicate that PHP needs to have session capability compiled in. A "php -i" seems to include this Blastwave CSW version of PHP5 does have sessions compiled in: '--enable-session=shared' as well as MySQL: '--with-mysql=shared,/opt/csw'
So my curious is anyone has any specific direction written and published on the net work getting Cacti to work with Blastwave CSW, if using Blastwave CSW is a bad idea, etc. *And* if anyone has any idea why this doesn't seem to be working very well at the moment for me ?
Solaris 10 using Blastware CSW packages - session_name error
Moderators: Developers, Moderators
Re: Solaris 10 using Blastware CSW packages - session_name e
Although the post if nearly 2 years old, I just ran into this today.
You'll need to use pkgutil included in CSW to install php5_session pkg. (and don't forget php5_sockets also)
Don't forget to restart apache
Side note, many times when something is compiled in as "shared", you'll find it as a module in another package.
You'll need to use pkgutil included in CSW to install php5_session pkg. (and don't forget php5_sockets also)
Don't forget to restart apache
Side note, many times when something is compiled in as "shared", you'll find it as a module in another package.
Who is online
Users browsing this forum: No registered users and 4 guests