[solved] poller.php Warning: fwrite() and pclose()

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
theo
Posts: 15
Joined: Wed Mar 03, 2010 2:38 pm

[solved] poller.php Warning: fwrite() and pclose()

Post by theo »

Can some body help me? i have an error in ConfigureCacti-6.

Operating System: Windows XP Professional SP3
Webserver: Apache 2.2.11
Cacti: 0.8.7e
Spine: 0.8.7e
MySQL: 5.0.51a
PHP: 5.2.9
RRDTool (Cygwin or Win32 version): 1.2.30.0
Net-SNMP: 1
Cygwin (cygwin1.dll version): 1005.25.0.0

Code: Select all

C:\www~3\htdocs\cacti>php poller.php

Warning: fwrite(): 61 is not a valid stream resource in C:\www~3\htdocs\cacti\lib\rrd.php on line 136

Warning: pclose(): 61 is not a valid stream resource in C:\www~3\htdocs\cacti\lib\rrd.php on line 57
03/08/2010 03:47:28 PM - SYSTEM STATS: Time:1.4062 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:2 RRDsProcessed:1

Warning: pclose(): 61 is not a valid stream resource in C:\www~3\htdocs\cacti\lib\rrd.php on line 57

Thank you.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Looks like you installed cacti in a path with spaces? If so, not allowed and likely the cause of your issues.
theo
Posts: 15
Joined: Wed Mar 03, 2010 2:38 pm

Post by theo »

Ohh.. thank you for response!!
theo
Posts: 15
Joined: Wed Mar 03, 2010 2:38 pm

Post by theo »

i think my cacti do not work correctly here is some warning, can you help me? :(

Code: Select all

C:\Documents and Settings\user>c:\www4\php\php.exe c:\www4\htdocs\cacti\poller.php
03/09/2010 10:01:30 AM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval!  The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 564 seconds have passed since the last poll!
03/09/2010 10:01:31 AM - SYSTEM STATS: Time:1.3085 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:2 RRDsProcessed:1
cacti log:

Code: Select all

03/09/2010 09:50:56 AM - AUTH LOGIN: User 'admin' Authenticated
03/09/2010 09:52:07 AM - SYSTEM STATS: Time:1.3671 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:2 RRDsProcessed:1
03/09/2010 10:01:30 AM - POLLER: Poller[0] WARNING: Scheduled Task is out of sync with the Poller Interval!  The Poller Interval is '300' seconds, with a maximum of a '300' second Scheduled Task, but 564 seconds have passed since the last poll!
03/09/2010 10:01:31 AM - SYSTEM STATS: Time:1.3085 Method:cmd.php Processes:1 Threads:N/A Hosts:2 HostsPerProcess:2 DataSources:2 RRDsProcessed:1

Screen:
Attachments
Thank you.
Thank you.
untitled.JPG (187.39 KiB) Viewed 3070 times
theo
Posts: 15
Joined: Wed Mar 03, 2010 2:38 pm

Post by theo »

and, every 5 mins start this window, and if i do what is writes in manual "The start in box should say c:\mycacti\website\cacti." i don't have nothing, i can close this window or to write c:\www4\htdocs\cacti 100 times but that don't do nothing :(
Attachments
untitled.JPG
untitled.JPG (31.21 KiB) Viewed 3058 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You need to fix the cacti scheduled task to point to the correct locations. Also, if you ran it under a different user account, you wouldn't see the popups every 5 min.
theo
Posts: 15
Joined: Wed Mar 03, 2010 2:38 pm

Post by theo »

hmmm.. thank you so much, now i do not have this warning.. but graf do not work too :(
Attachments
untitled.JPG
untitled.JPG (16.04 KiB) Viewed 3030 times
theo
Posts: 15
Joined: Wed Mar 03, 2010 2:38 pm

Post by theo »

ohhh.. Thank you so much BSOD2600, i uses full package with all needed what i finds on the forum... and no do not have more problems :) thank you.
:)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests