poller.php not starting any poller
Moderators: Developers, Moderators
poller.php not starting any poller
Hi
Im trying to get up cacti again but am failing
I installed cacti 0.8.6
and already had apache 1.3.* and am running php 4.3.10
But al i get are poller errors:
02/08/2005 09:58:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\cli\php.exe, ARGS: -q f:\inetpub\www\domain\cacti/cmd.php 0 13]
And nothing else happends it just keeps waiting for poller 1/1
Update:
Just installed a clean database and a new cacti installation and still the same problems.
Im trying to get up cacti again but am failing
I installed cacti 0.8.6
and already had apache 1.3.* and am running php 4.3.10
But al i get are poller errors:
02/08/2005 09:58:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:\php\cli\php.exe, ARGS: -q f:\inetpub\www\domain\cacti/cmd.php 0 13]
And nothing else happends it just keeps waiting for poller 1/1
Update:
Just installed a clean database and a new cacti installation and still the same problems.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
please goto "Settings->Paths" and change php.exe to c:\php\php-win.exe. This will fix your problem.
TheWitness
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Oh, you are right. Ok, here are your options:
1) Turn logging to debug and then run c:\php\php.exe <webroot>\cacti\cmd.php and verify that you get output and not PHP warnings.
If that works, then step 2
2) Run "c:\php\php.exe <webroot>\cacti\poller.php" and verify that it works Ok.
If either does not work correctly, just post your output.
TheWitness
1) Turn logging to debug and then run c:\php\php.exe <webroot>\cacti\cmd.php and verify that you get output and not PHP warnings.
If that works, then step 2
2) Run "c:\php\php.exe <webroot>\cacti\poller.php" and verify that it works Ok.
If either does not work correctly, just post your output.
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please insure that you are not running in PHP Safe Mode. Check your php.ini file.
TheWitness
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?
DAMN
My webserver is running with the php directives in the httpd.conf although there was a #php_admin_value safe_mode 1 it doenst seem to work i now placed php_admin_value safe_mode 0 under the cacti vhost settings and it seems to be working.
Update: 2 happy 2 fast now it isnt working anymore, i just worked one run
in the php.ine safe mode = off
My webserver is running with the php directives in the httpd.conf although there was a #php_admin_value safe_mode 1 it doenst seem to work i now placed php_admin_value safe_mode 0 under the cacti vhost settings and it seems to be working.
Update: 2 happy 2 fast now it isnt working anymore, i just worked one run
in the php.ine safe mode = off
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Not sure I understand you.
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?
Well i thougt that the problem was over but it is still there.
Apache is running with vhost and per vhost php directives can be given. so it is possible for one vhost to run in php safemode while another runs in with php safe mode off. I thought that settings php safe mode = 0 did help me solve my problem but it didnt.
When i check my vhost it is running with phpsafe mode off
http://cacti.van-der-meijden.com/temp/phpinfo
Vhost Settings:
Apache is running with vhost and per vhost php directives can be given. so it is possible for one vhost to run in php safemode while another runs in with php safe mode off. I thought that settings php safe mode = 0 did help me solve my problem but it didnt.
When i check my vhost it is running with phpsafe mode off
http://cacti.van-der-meijden.com/temp/phpinfo
Vhost Settings:
Code: Select all
<VirtualHost 192.168.100.200:80>
ServerAdmin webmaster@van-der-meijden.com
DocumentRoot "f:\inetpub\www\meijden\cacti"
ServerName cacti.van-der-meijden.com
ErrorLog logs/cacti.van-der-meijden.com-error.log
TransferLog logs/cacti.van-der-meijden.com-access.log
php_admin_value safe_mode 0
php_admin_value extension_dir c:\php\extensions
php_admin_value extension php_snmp.dll
php_admin_value extension php_sockets.dll
#php_admin_value open_basedir f:/inetpub/www/meijden/cacti/
##php_admin_value include_path f:/inetpub/www/meijden/cacti/
#<Directory "/">
# Options FollowSymLinks
# AllowOverride None
# Order deny,allow
# deny from all
#</Directory>
#<Directory "f:\inetpub\www\meijden\cacti">
# Options Indexes FollowSymLinks MultiViews
# AllowOverride All
# Order allow,deny
# allow from all
#</Directory>
</VirtualHost>
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Not my area. I hope someone else can help you
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?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I think Safe Mode is an global option, not an option you can set in a vhost. You will have to check the php site for information on that.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 1 guest