poller.php problem - upgrading to 0.8.6c

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

Moderators: Developers, Moderators

Post Reply
Guest

poller.php problem - upgrading to 0.8.6c

Post by Guest »

I've been pulling my hair out for half the day trying to work out what
has broken. I upgraded from 0.8.6b to 0.8.6c as per the instructions
on cacti.net.

I can run php cmd.php fine, it checks every hosts etc. Whenever I try
and run php poller.php I get:

# php poller.php
12/26/2004 07:18:58 PM - POLLER: Poller[0] DEBUG: About to Spawn a
Remote Process [CMD: /usr/bin/php, ARGS: -q
/usr/local/apache/htdocs/cacti/cmd.php 0 60]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.

I tried using cactid but had the same error.

I'm using:
Slackware 10.0
net-snmp 5.2
cacti 0.8.6c

I restored the old database and cacti directory and everything is working fine again (using 0.8.6b). So I'm assuming it's a problem with the new database?

Any suggestions? Thanks.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Database structure does not change from 0.8.6b to 0.8.6c. Probably related to a new configuration variable that you need to set in settings.
[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]
Guest

Post by Guest »

i'm also getting this and i did a brand new install on a new server slack 10 also :(
capboy118
Posts: 18
Joined: Mon Dec 13, 2004 10:09 am

CactiD

Post by capboy118 »

Have you tried to install Cactid? I was polling 8 hosts with over 100 interfaces and it cut my time from 1 min to 2 secs (using 8 threads).

Might be worth a try.
Guest

Post by Guest »

i get that error in a fresh install with only localhost pre configured in cacti, still havent found a way to make it work
Guest

Post by Guest »

Yes, I tried with cactid - no difference, same error. :/
CynaKill
Posts: 2
Joined: Wed Dec 29, 2004 9:40 pm

Post by CynaKill »

I'm the original poster - I tried again, same thing. I followed the upgrade instruction to a tee. I tried running the poller as root, nothing.

if I run php cmd.php, it works fine, but it seems there's a problem with updating the rrd files or something. I can't figure it out.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Please set you logging level in Settings -> Poller Logging Level to Debug and email me or post the resulting log located in your cacti installation directory /logs/cacti.log.

email: rony at disorder dot com
[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]
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests