Poller.php stuck

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
ne0phyte
Posts: 4
Joined: Fri Nov 18, 2005 9:24 am

Poller.php stuck

Post by ne0phyte »

Hi,

I've just tried to migrate my cacti from one box to another one.

I made a backup of the /cacti directory and imported the sql database on the new host.

Everything looks fine, the hosts are up, snmp is running, but my graphs aren't showing.

If i run the command for poller.php it doesn't give any output, just hangs in the commandline untill i control-c.

Anyone seen this before?

linux: Debian Sarge
Cacti: Version 0.8.6f with plugins thold
PHP Version 4.4.0
MySQL 4.1.10-standard

this is the command i have in my crontab:
php /home/lsnet/public_html/cacti/poller.php > /dev/null 2>&1 && php /home/lsnet/public_html/cacti/thold/check-thold.php > /dev/null 2>&1
muriachi
Posts: 14
Joined: Tue Dec 14, 2004 6:54 am
Location: Campinas, BR

Post by muriachi »

Hi,

I have a same problem, after migrate from PC with Slackware to another PC with RHEL 4.
The poller.php stop "sometimes".

Cacti Log: 11/17/2005 07:09:58 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.

in my despair I tried change type poller for cactid and works fine, only Graphs of Load Average stops.


Hope anybody can help
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

muriachi wrote:Hi,

I have a same problem, after migrate from PC with Slackware to another PC with RHEL 4.
The poller.php stop "sometimes".

Cacti Log: 11/17/2005 07:09:58 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.

in my despair I tried change type poller for cactid and works fine, only Graphs of Load Average stops.


Hope anybody can help
If you installed from rpm, you may have poller crontab entries at different places. Look for /etc/cron.d/cacti, /etc/crontab and the crontabs for users root and cactiuser.
Reinhard
muriachi
Posts: 14
Joined: Tue Dec 14, 2004 6:54 am
Location: Campinas, BR

Post by muriachi »

I used source , not RPM. I see in others topics the same problem of the Load Average but I still continue with the problem .
mjc
Cacti User
Posts: 53
Joined: Thu May 12, 2005 7:26 pm

Post by mjc »

muriachi wrote:I used source , not RPM. I see in others topics the same problem of the Load Average but I still continue with the problem .
id try running poller.php without redirecting the output and see what it says

then try perhaps try stracing and see where its getting stuck?
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests