poller-error.log contains the following:
PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0
PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0
No graphs are currently working.
Any suggestions on where to look to track this down? I get the same errors when I run poller.php from the command line.
poller.php error
Moderators: Developers, Moderators
cacti.log file:
06/13/2006 02:59:54 PM - SYSTEM STATS: Time:292.6541 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:7 RRDsProcessed:6
06/13/2006 02:59:54 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
06/13/2006 02:55:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id,rrd_name,time,output) values (7,'proc','2006-06-13 14:55:01','89')"
06/13/2006 02:54:16 PM - SYSTEM STATS: Time:254.7486 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:7 RRDsProcessed:18
06/13/2006 02:49:54 PM - SYSTEM STATS: Time:292.5990 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:7 RRDsProcessed:6
06/13/2006 02:49:54 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
06/13/2006 02:45:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id,rrd_name,time,output) values (6,'users','2006-06-13 14:45:02','5')"
06/13/2006 02:59:54 PM - SYSTEM STATS: Time:292.6541 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:7 RRDsProcessed:6
06/13/2006 02:59:54 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
06/13/2006 02:55:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id,rrd_name,time,output) values (7,'proc','2006-06-13 14:55:01','89')"
06/13/2006 02:54:16 PM - SYSTEM STATS: Time:254.7486 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:7 RRDsProcessed:18
06/13/2006 02:49:54 PM - SYSTEM STATS: Time:292.5990 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:7 RRDsProcessed:6
06/13/2006 02:49:54 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
06/13/2006 02:45:02 PM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "insert into poller_output (local_data_id,rrd_name,time,output) values (6,'users','2006-06-13 14:45:02','5')"
Same Errors
I'm getting the same errors on a Debian system. Seems to be related to a bug in PHP. Everything I've found so far points to increasing the script execution memory size. I'm up to 300M in the php.ini without getting it to work.
I'm still searching, if I find anything I will post here....
I'm still searching, if I find anything I will post here....
Too fast on the reply - fix here
The next entry below this link on a Google search points to this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357518
This seems to be a bug in PHP. The workaround is to modify /usr/share/file/magic.mime to comment out the regex.
This will suppress the message but doesn't seem to get my graphs working again. Polling is still occurring but no new data in my graphs.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357518
This seems to be a bug in PHP. The workaround is to modify /usr/share/file/magic.mime to comment out the regex.
This will suppress the message but doesn't seem to get my graphs working again. Polling is still occurring but no new data in my graphs.
/etc/php/cli/php.ini changes the error
Ok, did some more searching....
I've up'd the memory_limit in both the apache/php.ini (with no change in the error message) and the cli/php.ini. The cli path finally reflected the change, however I still get the error and no graph updates. I have worked up from 8M in 8M increments to 128M and always just exceed the limit by 10-15 bytes.
It seems that since the Debian package maintainer changed the way libmagic1 can be used to access files that it has broken many programs. I tried to downgrade to libmagic1-4.17-1 (from -2) but there are too many dependancies to be successful. I guess I'll just have to removed everything and stop until this has been fixed in PHP or someone comes up with a workaround since I have exceeded my abilities now.
Ideas anyone??
I've up'd the memory_limit in both the apache/php.ini (with no change in the error message) and the cli/php.ini. The cli path finally reflected the change, however I still get the error and no graph updates. I have worked up from 8M in 8M increments to 128M and always just exceed the limit by 10-15 bytes.
It seems that since the Debian package maintainer changed the way libmagic1 can be used to access files that it has broken many programs. I tried to downgrade to libmagic1-4.17-1 (from -2) but there are too many dependancies to be successful. I guess I'll just have to removed everything and stop until this has been fixed in PHP or someone comes up with a workaround since I have exceeded my abilities now.
Ideas anyone??
Who is online
Users browsing this forum: No registered users and 0 guests