Install file fails

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

Moderators: Developers, Moderators

Post Reply
mrtechguy
Posts: 8
Joined: Thu Feb 21, 2008 4:55 am

Install file fails

Post by mrtechguy »

Hi All,
When trying to run install PHP all I get is a fair few depreciated errors and then finally an error regarding memory (I would have thought 200M of RAM for PHP would have been more than sufficient).

Code: Select all

[Mon Jun 14 21:20:26 2010] [error] [client 192.168.1.6] PHP Deprecated:  Function ereg_replace() is deprecated in /data/htdocs/cacti/include/global.php on line 89
[Mon Jun 14 21:20:26 2010] [error] [client 192.168.1.6] PHP Deprecated:  Function ereg_replace() is deprecated in /data/htdocs/cacti/include/global.php on line 90
[Mon Jun 14 21:20:26 2010] [error] [client 192.168.1.6] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /data/htdocs/cacti/lib/adodb/adodb.inc.php on line 866
[Mon Jun 14 21:20:26 2010] [error] [client 192.168.1.6] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /data/htdocs/cacti/lib/adodb/adodb.inc.php on line 872
[Mon Jun 14 21:20:26 2010] [error] [client 192.168.1.6] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /data/htdocs/cacti/lib/adodb/adodb.inc.php on line 1183
[Mon Jun 14 21:20:26 2010] [error] [client 192.168.1.6] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /data/htdocs/cacti/lib/adodb/adodb.inc.php on line 1961
[Mon Jun 14 21:20:26 2010] [error] [client 192.168.1.6] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /data/htdocs/cacti/lib/adodb/adodb.inc.php on line 3027
[Mon Jun 14 21:20:26 2010] [error] [client 192.168.1.6] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /data/htdocs/cacti/lib/adodb/adodb.inc.php on line 3592
[Mon Jun 14 21:20:26 2010] [error] [client 192.168.1.6] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /data/htdocs/cacti/lib/adodb/adodb.inc.php on line 3667
[Mon Jun 14 21:20:26 2010] [error] [client 192.168.1.6] PHP Deprecated:  Assigning the return value of new by reference is deprecated in /data/htdocs/cacti/lib/adodb/adodb.inc.php on line 3687
[Mon Jun 14 21:20:39 2010] [error] [client 192.168.1.6] PHP Fatal error:  Allowed memory size of 209715200 bytes exhausted (tried to allocate 261900 bytes) in /data/htdocs/cacti/lib/adodb/adodb.inc.php on line 833
Regards,
MTG
User avatar
TheWitness
Developer
Posts: 17053
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

What version? Could be that the Database has not been initialized:

Code: Select all

mysqladmin create cacti
mysql cacti < cacti.sql
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?
mrtechguy
Posts: 8
Joined: Thu Feb 21, 2008 4:55 am

Post by mrtechguy »

ah, fair enough, fixed that issue, is there an ETA on the fix of the depreciated PHP code?
User avatar
TheWitness
Developer
Posts: 17053
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Cacti 0.8.7g in Beta2 right now. You can download it from the Announcements section of the forum.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests