Poller problem: change root is not supported
Moderators: Developers, Moderators
Poller problem: change root is not supported
There's no rrd files in rra folder, and when I run php poller.php, I have the following error:
==============================================
shell>php poller.php
Waiting on 1/1 pollers.
ERROR: change root is not supported by your OS or at least by this copy of
rrdtool
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
09/26/2005 07:09:34 PM - SYSTEM STATS: Time:5.6185 Method:cmd.php
Processes:1 Th
reads:N/A Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:15
==============================================
My configuration:
- Win2K3 Svr SP1
- Apache HTTPD 2.0.54
- PHP 5.0.5
- RRDTOol 1.2.10
- Cacti 0.8.6g
Since I don't use IIS for webserver, so there's no IUSR_MACHINENAME that vould be added to cmd.exe
Any help would be appreciated ..
==============================================
shell>php poller.php
Waiting on 1/1 pollers.
ERROR: change root is not supported by your OS or at least by this copy of
rrdtool
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
09/26/2005 07:09:34 PM - SYSTEM STATS: Time:5.6185 Method:cmd.php
Processes:1 Th
reads:N/A Hosts:4 HostsPerProcess:4 DataSources:30 RRDsProcessed:15
==============================================
My configuration:
- Win2K3 Svr SP1
- Apache HTTPD 2.0.54
- PHP 5.0.5
- RRDTOol 1.2.10
- Cacti 0.8.6g
Since I don't use IIS for webserver, so there's no IUSR_MACHINENAME that vould be added to cmd.exe
Any help would be appreciated ..
You must be using rrdtool-cygwin, NOT win32.
Since you're using apache, it runs under whatever user account you specified. That is the account that needs rights on cmd.exe.
Since you're using apache, it runs under whatever user account you specified. That is the account that needs rights on cmd.exe.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
truncate your poller_output table (google it)
increase your php memory (php.ini)
increase your php timeout value (php.ini)
run "php poller.php" from the command line in LOW and check for errors. You should get a bunch of "OK's".
TheWitness
increase your php memory (php.ini)
increase your php timeout value (php.ini)
run "php poller.php" from the command line in LOW and check for errors. You should get a bunch of "OK's".
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?
I've done your suggestion (truncate poller_output, increase memory & timeout in php.ini), and below is the output of php poller.php:
===============================================
shell> php poller.php
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
OK u:0.05 s:0.11 r:2.84
OK u:0.05 s:0.11 r:2.98
OK u:0.05 s:0.11 r:3.03
OK u:0.05 s:0.11 r:3.08
Waiting on 1/1 pollers.
OK u:0.05 s:0.11 r:3.89
OK u:0.05 s:0.12 r:3.94
OK u:0.05 s:0.13 r:3.98
OK u:0.05 s:0.13 r:4.02
OK u:0.05 s:0.13 r:4.08
OK u:0.05 s:0.13 r:4.11
OK u:0.05 s:0.14 r:4.14
OK u:0.05 s:0.15 r:4.17
OK u:0.05 s:0.15 r:4.20
OK u:0.05 s:0.16 r:4.23
OK u:0.05 s:0.16 r:4.28
Waiting on 1/1 pollers.
OK u:0.05 s:0.16 r:5.17
OK u:0.05 s:0.16 r:5.21
Waiting on 1/1 pollers.
OK u:0.05 s:0.16 r:6.36
OK u:0.05 s:0.16 r:6.42
OK u:0.05 s:0.16 r:6.45
OK u:0.05 s:0.16 r:6.48
OK u:0.05 s:0.16 r:6.56
09/28/2005 10:31:50 AM - SYSTEM STATS: Time:11.6384 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:43 RRDsProcessed:22
===============================================
But the rrd files are still not updated (by the scheduler task). Do I need to update rrdtools to 1.2.11? but I couldn't find any binaries for windows.
===============================================
shell> php poller.php
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
OK u:0.05 s:0.11 r:2.84
OK u:0.05 s:0.11 r:2.98
OK u:0.05 s:0.11 r:3.03
OK u:0.05 s:0.11 r:3.08
Waiting on 1/1 pollers.
OK u:0.05 s:0.11 r:3.89
OK u:0.05 s:0.12 r:3.94
OK u:0.05 s:0.13 r:3.98
OK u:0.05 s:0.13 r:4.02
OK u:0.05 s:0.13 r:4.08
OK u:0.05 s:0.13 r:4.11
OK u:0.05 s:0.14 r:4.14
OK u:0.05 s:0.15 r:4.17
OK u:0.05 s:0.15 r:4.20
OK u:0.05 s:0.16 r:4.23
OK u:0.05 s:0.16 r:4.28
Waiting on 1/1 pollers.
OK u:0.05 s:0.16 r:5.17
OK u:0.05 s:0.16 r:5.21
Waiting on 1/1 pollers.
OK u:0.05 s:0.16 r:6.36
OK u:0.05 s:0.16 r:6.42
OK u:0.05 s:0.16 r:6.45
OK u:0.05 s:0.16 r:6.48
OK u:0.05 s:0.16 r:6.56
09/28/2005 10:31:50 AM - SYSTEM STATS: Time:11.6384 Method:cmd.php Processes:1 Threads:N/A Hosts:5 HostsPerProcess:5 DataSources:43 RRDsProcessed:22
===============================================
But the rrd files are still not updated (by the scheduler task). Do I need to update rrdtools to 1.2.11? but I couldn't find any binaries for windows.
OK messages are good. Turn the logging level to debug to find out what's really going on. Does the user running the scheduled task have the proper rights to create files in your rrd and log folder?
Latest rrdtool: http://www.cacti.net/downloads/rrdtool/win32/
Latest rrdtool: http://www.cacti.net/downloads/rrdtool/win32/
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 1
- Joined: Sun Nov 20, 2005 11:04 am
rrdtool problem
I am using the Win32 version of RRDTOOL.exe and have tried the memory and timeout changes suggested, but I am still getting this error - ERROR: change root is not supported by your OS or at least by this copy of rrdtool.
I also do not get any files in the RRA folder.
My configuration:
- Win2K3
- IIS
- PHP 4.4.1
- RRDTOol 1.2.10 (installed rrdtool-1.2.10-win32-perl58.zip)
- Cacti 0.8.6g
- MySQL 4.1.15
Any other suggestions?
I also do not get any files in the RRA folder.
My configuration:
- Win2K3
- IIS
- PHP 4.4.1
- RRDTOol 1.2.10 (installed rrdtool-1.2.10-win32-perl58.zip)
- Cacti 0.8.6g
- MySQL 4.1.15
Any other suggestions?
ummm, why are you using the Win32 version of rrdtool when this thread just reiterated why you CANNOT use that with cacti?
Go get the cygwin rrdtool.
Go get the cygwin rrdtool.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Almost there...
Hi,
I had the same problem as above. I'm now using the correct RRDtool, but when I run the scheduled task, or run "php poller.php" in the Cacti directory, the command window just hangs.
Right now I have a hung SVCHOST as well, due to the scheduled task. Any pointers?
Update: This problem only happens when using the Cactid poller type. The cmp.php works fine.
I had the same problem as above. I'm now using the correct RRDtool, but when I run the scheduled task, or run "php poller.php" in the Cacti directory, the command window just hangs.
Right now I have a hung SVCHOST as well, due to the scheduled task. Any pointers?
Update: This problem only happens when using the Cactid poller type. The cmp.php works fine.
Do you have cactid installed and the correct path for it in cacti ? If so, what version?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Yes 2x.
I'm using Cactid version .8.6f (I guess that's the version) from http://www.cacti.net/cactid_download.php
When I had an incorrect path before the poller windows gave a specific error.
I'm using Cactid version .8.6f (I guess that's the version) from http://www.cacti.net/cactid_download.php
When I had an incorrect path before the poller windows gave a specific error.
When you manually run cactid, what happens?
When you run the scheduled task with an admin account, what happens?
When you run the scheduled task with an admin account, what happens?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Interesting... When I run cactid.exe manually I get:
CACTID: Using cactid config file [cactid.conf]
CACTID: MYSQL: Connection Failed: Host 'Myservername' is not allowed to connect to this MySQL server
--
Myservername is the name of my server. I guess that's why it hangs, cause there's an authentication error.
And I do have the task running with an admin account. I tried another admin account, and got the same results.
I'm playing with some authentication stuff now... changing the IP address to 127.0.0.1 and such.
CACTID: Using cactid config file [cactid.conf]
CACTID: MYSQL: Connection Failed: Host 'Myservername' is not allowed to connect to this MySQL server
--
Myservername is the name of my server. I guess that's why it hangs, cause there's an authentication error.
And I do have the task running with an admin account. I tried another admin account, and got the same results.
I'm playing with some authentication stuff now... changing the IP address to 127.0.0.1 and such.
Who is online
Users browsing this forum: No registered users and 1 guest