Code: Select all
09/29/2010 11:26:38 AM - SPINE: Poller[0] ERROR: SS[3] PHP Script Server communications lost. Restarting PHP Script Server
When I run spine manually, I see this in the output:
Code: Select all
09/29/2010 11:22:50 AM - SPINE: Poller[0] DEBUG: SS[4] Confirmed PHP Script Server running using readfd[15], writefd[11]
PHP Fatal error: Call to undefined function: parseargs() in /var/www/html/cacti/script_server.php on line 175
09/29/2010 11:22:50 AM - SPINE: Poller[0] Host[141] TH[1] DS[2199] SS[4] SERVER: /var/www/html/cacti/scripts/ss_host_disk.php ss_host_disk host.domain.com 141 2:161:500:1:10:xxx:::MD5::DES: get total 10, output: 0
At this point, I think this might be an issue with my PHP installation, however I'm at a loss as to how to fix it. Any suggestions?
OS: RHEL 4
PHP packages:
- php-devel-4.3.9-3.22.9
php-4.3.9-3.22.9
php-gd-4.3.9-3.22.9
php-snmp-4.3.9-3.22.9
php-pear-4.3.9-3.22.9
php-mysql-4.3.9-3.22.9
Moving the parseArgs() function in script_server.php to the top of the file seems to have fixed the "Call to undefined function" error...
I also noticed that spine was referencing a different conf file in /var/net-snmp/spine.conf and throwing "Warning: Unknown token: DB_****". Once I deleted that conf file (leaving the actual one in /usr/local/spine/etc/spine.conf) everything appears to be working now.
If anyone has any insight as to why this happened though, I'd be interested in understanding the root cause!