Cactid Install/Error

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

Moderators: Developers, Moderators

Post Reply
anonfoo
Posts: 24
Joined: Thu Nov 18, 2004 12:22 am

Cactid Install/Error

Post by anonfoo »

I just finished setting up all my devices on the Win32 version after migrating from Linux. The cmd poller is working fine but I remember Cactid on linux was a million times better so I was setting it up on Windows as well. When I switch to Cactid I get the following errors below. Been serching around the forums cant seem to fix it. Anyone have any ideas? Much appreciated. Thanks!

04/25/2005 11:47:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: d:\cactid\cactid.exe, ARGS: 0 46]
04/25/2005 11:46:57 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/25/2005 11:42:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: d:\cactid\cactid.exe, ARGS: 0 46]
04/25/2005 11:41:57 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/25/2005 11:37:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: d:\cactid\cactid.exe, ARGS: 0 46]
04/25/2005 11:36:57 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/25/2005 11:32:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: d:\cactid\cactid.exe, ARGS: 0 46]
04/25/2005 11:31:57 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/25/2005 11:27:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: d:\cactid\cactid.exe, ARGS: 0 46]
04/25/2005 11:26:57 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/25/2005 11:22:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: d:\cactid\cactid.exe, ARGS: 0 46]
04/25/2005 11:21:57 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
04/25/2005 11:17:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: d:\cactid\cactid.exe, ARGS: 0 46]
04/25/2005 11:16:57 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Try using cmd.php and see if you still get this.
2) Enable full debug output and post the contents.
3) You have all the permissions set up properly? What happens when you manually run cactid ?
anonfoo
Posts: 24
Joined: Thu Nov 18, 2004 12:22 am

Post by anonfoo »

- cmd.php works
- this actually is the debug log
- Running it manually I think is the key. At first I was getting the following

D:\cactid>cactid
CACTID: Using cactid config file [cactid.conf]
CACTID: MYSQL: Connection failed after 10 attempts : Access denied for user 'cac
tiuser'@'servername.domainname.com' (using password: YES)

So I started playing with the conf file and mysql. I added a user named cactiuser@servername.domainname.com (already had @localhost) and changed the IP from 127.0.0.1 to the actual server's IP. Now I get this


D:\cactid>cactid
CACTID: Using cactid config file [cactid.conf]
CACTID: MYSQL: Connection failed after 10 attempts : Client does not support aut
hentication protocol requested by server; consider upgrading MySQL client

And even when I change it back it still gives me this. Odd. My conf file is also below...

DB_Host 10.5.1.57
DB_Database cacti
DB_User cactiuser
DB_Pass thepassword
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

What MySQL and Cactid version you using? I know there is an issue with mysql 4.1 and cactid 0.8.6d (not sure about e) not working properly. Going back to cactid 0.8.6c uses the older mysql library so it should work.
anonfoo
Posts: 24
Joined: Thu Nov 18, 2004 12:22 am

Post by anonfoo »

hrm, same thing with cactid 0.8.6c, I'm using MySQL 4.1.11 and cacti 0.8.6c

BTW, CMD.PHP seems to be doing a decent job, is there a huge reason to switch? I know under linux I had some issues when I started adding more and more monitoring points will that be a problem in windows as well.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I don't see a major reason to switch unless the polling comes close to the 5 minute mark. Currently, that's not going to happen:
SYSTEM STATS: Time: 72.4605 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 11, Hosts/Process: 11

As per your problem, there was a recent thread here: http://forums.cacti.net/viewtopic.php?t=6730 but was not resolved.
anonfoo
Posts: 24
Joined: Thu Nov 18, 2004 12:22 am

Post by anonfoo »

oh well, guess i'll wait for the next release...

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests