I recompiled PHP5 with sockets enabled and thereafter everything just stopped.
Cacti is still there, but no new data. Running the poller manually produces nothing. Apache2 has been restarted, but no change. All my graphs are now flatlined...
What could have gone wrong?
PHP 5.2.6 (cli) (built: Sep 30 2008 16:55:02)
Copyright (c) 1997-2008 The PHP Group
php -m
[PHP Modules]
ctype
date
dom
filter
hash
iconv
json
libxml
pcre
PDO
pdo_sqlite
posix
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
xmlreader
xmlwriter
[Zend Modules]
[SOLVED] Added PHP sockets - now Cacti is dead
Moderators: Developers, Moderators
Well, I re-compiled without sockets = no fix.
I restored my backup of the cacti dir = no fix
I dropped the DB and restored from an earlier backup = no fix
So, I am looking at a completely new install. The only difference is a re-compiled PHP5.
Other PHP web apps run fine (mediawiki) and Cacti web pages display fine, but CLI commands do nothing.
No rras
Empty logs.
No errors, no nothing...
I restored my backup of the cacti dir = no fix
I dropped the DB and restored from an earlier backup = no fix
So, I am looking at a completely new install. The only difference is a re-compiled PHP5.
Other PHP web apps run fine (mediawiki) and Cacti web pages display fine, but CLI commands do nothing.
No rras
Empty logs.
No errors, no nothing...
I re-compiled with the same options as my initial install. Unfortunately I did not back up the binaries before the re-compile.khufure wrote:Did you try to revert your php to the previous version which was working?erekose wrote:Well, I re-compiled without sockets = no fix.
I restored my backup of the cacti dir = no fix
I dropped the DB and restored from an earlier backup = no fix
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Uhm, you are missing the MySQL module in your compile. That is "definitely" your problem.
Regards,
TheWitness
Regards,
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?
Who is online
Users browsing this forum: No registered users and 5 guests