Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Graph problem: No such file or directory

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
whcolin



Joined: 10 Aug 2008
Posts: 6
Location: BeiJing China

PostPosted: Sun Aug 10, 2008 11:08 pm    Post subject: Graph problem: No such file or directory Reply with quote

i am new in cacti .
The graph can not be seen with a red cross .when i turn on graph debug mode ,i get the following:

ERROR: opening '/usr/local/apache/htdocs/cacti/rra/3750-1_traffic_in_26.rrd': No such file or directory

And when i try to run "php poller.php" by hand ,it work
with warning as below:

Warning: pclose(): 58 is not a valid stream resource in /usr/local/apache/htdocs/cacti/lib/rrd.php on line 57

The cacti log file shows :

08/10/2008 11:55:02 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 478 seconds have passed since the last poll!
08/10/2008 11:52:03 AM - SYSTEM STATS: Time:299.8501 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:15 RRDsProcessed:0
08/10/2008 11:52:03 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
08/10/2008 11:50:01 AM - SYSTEM STATS: Time:299.8628 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:15 RRDsProcessed:0
08/10/2008 11:50:01 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
08/10/2008 11:45:00 AM - SYSTEM STATS: Time:298.8329 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:15 RRDsProcessed:0
08/10/2008 11:45:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
08/10/2008 11:40:00 AM - SYSTEM STATS: Time:298.8424 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:15 RRDsProcessed:0
08/10/2008 11:40:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
08/10/2008 11:35:25 AM - SYSTEM STATS: Time:298.7994 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:15 RRDsProcessed:0
08/10/2008 11:35:25 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
08/10/2008 11:30:00 AM - SYSTEM STATS: Time:298.8454 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:15 RRDsProcessed:0
08/10/2008 11:30:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
08/10/2008 11:25:00 AM - SYSTEM STATS: Time:298.8206 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:15 RRDsProcessed:0
08/10/2008 11:25:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
08/10/2008 11:20:00 AM - SYSTEM STATS: Time:298.8380 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:15 RRDsProcessed:0
08/10/2008 11:20:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
08/10/2008 11:15:00 AM - SYSTEM STATS: Time:298.8270 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:15 RRDsProcessed:0
08/10/2008 11:15:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
08/10/2008 11:10:01 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 320 seconds have passed since the last poll!
08/10/2008 11:05:00 AM - SYSTEM STATS: Time:298.8340 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:15 RRDsProcessed:0
08/10/2008 11:05:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
08/10/2008 11:00:00 AM - SYSTEM STATS: Time:298.8876 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:11 RRDsProcessed:0
08/10/2008 11:00:00 AM - POLLER: Poller[0] Maximum runtime of 298 seconds exceeded. Exiting.
08/10/2008 10:55:01 AM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 347 seconds have passed since the last poll!
08/10/2008 10:49:33 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
08/10/2008 10:49:33 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_id,end_time from poller_time where poller_id=0"
08/10/2008 10:49:32 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
08/10/2008 10:49:32 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_id,end_time from poller_time where poller_id=0"
08/10/2008 10:49:31 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
08/10/2008 10:49:31 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_id,end_time from poller_time where poller_id=0"
08/10/2008 10:49:30 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) LIMIT 10000"
08/10/2008 10:49:30 AM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'2006', SQL:"select poller_id,end_time from poller_time where poller_id=0"



i know there is something wrong with my php . but i have no idea how to solve it .i need your help...
Back to top
whcolin



Joined: 10 Aug 2008
Posts: 6
Location: BeiJing China

PostPosted: Tue Aug 12, 2008 8:39 pm    Post subject: Reply with quote

now it is ok .There is something wrong with the previlleges .
Still i am thankful for alll.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group