PHPSVR: Poller[0] ERROR: Input Expected
Moderators: Developers, Moderators
PHPSVR: Poller[0] ERROR: Input Expected
System is SuSE 9.2
PHP 4.3.8
Cacti 0.8.6e
Since update to 0.8.6e no data is collected and the following appears in the log when I run poller.php from command line:
06/27/2005 12:04:03 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 0 30]
06/27/2005 12:04:03 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
06/27/2005 12:04:03 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /usr/share/cacti
06/27/2005 12:04:03 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/share/cacti
06/27/2005 12:04:03 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/share/cacti/script_server.php
06/27/2005 12:04:03 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
06/27/2005 12:04:03 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/27/2005 12:04:03 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/27/2005 12:04:04 PM - SYSTEM STATS: Time: 1.0388 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 29, Hosts/Process: 29, DataSources 1799, RRDs Processed 0
PHP 4.3.8
Cacti 0.8.6e
Since update to 0.8.6e no data is collected and the following appears in the log when I run poller.php from command line:
06/27/2005 12:04:03 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/cmd.php 0 30]
06/27/2005 12:04:03 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
06/27/2005 12:04:03 PM - PHPSVR: Poller[0] DEBUG: GETCWD: /usr/share/cacti
06/27/2005 12:04:03 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: /usr/share/cacti
06/27/2005 12:04:03 PM - PHPSVR: Poller[0] DEBUG: FILENM: /usr/share/cacti/script_server.php
06/27/2005 12:04:03 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
06/27/2005 12:04:03 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/27/2005 12:04:03 PM - PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
06/27/2005 12:04:04 PM - SYSTEM STATS: Time: 1.0388 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 29, Hosts/Process: 29, DataSources 1799, RRDs Processed 0
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It looks like PHP is crashing. Can you set logging to DEBUG and run 1 pass of "php <path_cacti>/cmd.php from a command line and post the results.
TheWitness
p.s. You may also have buggered up data sources. Goto Data Sources and select the host filter "None" and look for abarent ones. If you find them, before you delete them. Please record the type and snmp/script/script server type.
Thanks,
TheWitness
TheWitness
p.s. You may also have buggered up data sources. Goto Data Sources and select the host filter "None" and look for abarent ones. If you find them, before you delete them. Please record the type and snmp/script/script server type.
Thanks,
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I have placed a patch into Cacti cmd.php to prevent this moving forward. PHP should not have expired (abended), but for some reason it does on certain versions.
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please use the attached.
Larry
Larry
- Attachments
-
- cmd.zip
- (4.46 KiB) Downloaded 1492 times
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?
well in fact now I'm getting this kind of errors:rama wrote:ok thanks, seems to get more good logs now.
David
06/27/2005 08:15:01 PM - CMDPHP: Poller[0] Host[0] DS[504] SNMP: v0: None, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.21135360, output: U
06/27/2005 08:15:01 PM - CMDPHP: Poller[0] Host[0] DS[504] ERROR: Invalid SNMP Data Source. Please either delete it from the database, or correct it.
do I have ro recreate all graphs ??
Thanks
David
http://www.netfacile.net/
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You may have had them all along. Data Sources get unassociated from hosts when you delete a host, but not the Data Source. This was quite easy to do in earlier versions of Cacti. Unfortunately, it appears some versions of php_snmp crash php when you have invalid SNMP information.
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
rama,
Can you please dump your 0.8.5a database and e-mail to my e-mail account. I would like to audit it to find the source of the problem.
Downgrading involves the restoration of your database from backup. Once this is done, you should be all set.
TheWitness
Can you please dump your 0.8.5a database and e-mail to my e-mail account. I would like to audit it to find the source of the problem.
Downgrading involves the restoration of your database from backup. Once this is done, you should be all set.
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?
Yup did backup my sql db before doing anything so the return to 8.5a was not a pain and everythings is ok.TheWitness wrote: Downgrading involves the restoration of your database from backup. Once this is done, you should be all set.
Did want to upgrade to be abble to have new funcionalities and use some plugins like the threshold stuff.
I'll send you my dump.
David R.
http://www.netfacile.net/
Who is online
Users browsing this forum: dallenk and 1 guest