Cactid 0.8.6i

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

Moderators: Developers, Moderators

Post Reply
SkipLacky
Posts: 10
Joined: Mon Oct 16, 2006 3:20 pm

Cactid 0.8.6i

Post by SkipLacky »

Compiled and installed cactid 0.8.6i just fine. However when running the poller, i get the following output.

Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
10/23/2006 11:32:20 AM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
10/23/2006 11:32:20 AM - SYSTEM STATS: Time:293.2470 Method:cactid Processes:1 Threads:1 Hosts:2 HostsPerProcess:2 DataSources:5 RRDsProcessed:0
PHP Warning: pclose(): 57 is not a valid stream resource in /usr/local/share/cacti/lib/rrd.php on line 47



Switching to cmd.php instead of cactid runs fine.

Ideas anyone?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

can you run in medium/debug one pass?
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?
SkipLacky
Posts: 10
Joined: Mon Oct 16, 2006 3:20 pm

Post by SkipLacky »

I have.......here's a snipet of what I see in the logs.



10/24/2006 09:37:48 AM - CMDPHP: Poller[0] DEBUG: SQL Cell: "select count(*) from poller_item"
10/24/2006 09:37:48 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select id from host where disabled = '' order by id"
10/24/2006 09:37:48 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('path_webroot','/usr/local/share/cacti')"
10/24/2006 09:37:48 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "truncate table poller_time"
10/24/2006 09:37:48 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/local/cactid/bin/cactid, ARGS: 0 2]
10/24/2006 09:37:49 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "replace into settings (name,value) values ('date',NOW())"
10/24/2006 09:37:49 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
10/24/2006 09:37:49 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) limit 10000"
10/24/2006 09:37:50 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
10/24/2006 09:37:50 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) limit 10000"
10/24/2006 09:37:51 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
10/24/2006 09:37:51 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) limit 10000"
10/24/2006 09:37:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
10/24/2006 09:37:52 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) limit 10000"
10/24/2006 09:37:53 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_id,end_time from poller_time where poller_id = 0"
10/24/2006 09:37:53 AM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_output.output, poller_output.time, poller_output.local_data_id, poller_item.rrd_path, poller_item.rrd_name, poller_item.rrd_num from (poller_output,poller_item) where (poller_output.local_data_id=poller_item.local_data_id and poller_output.rrd_name=poller_item.rrd_name) limit 10000"


It just keeps doing this until it times out. Another weird thing is that the time that the poller reports is ahead 1 hour....?
jcoulam
Posts: 18
Joined: Wed Mar 16, 2005 10:29 am
Location: Round Rock, TX

Post by jcoulam »

I'm getting similar results, but I'm also getting the PHP, Mysql errors.

One thing that I've noticed, if I leave the default localhost scan it fills out the graphs but as soon as I add another device it stops filling the localhost graphs and the new device never creates a graph.

I have deleted and recreated the mysql database with the same errors.

<clip>
PHP Warning: Function registration failed - duplicate name - mysql_db_name in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_dbname in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_tablename in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_table_name in Unknown on line 0
PHP Warning: mysql: Unable to register functions, unable to load in Unknown on line 0
Content-type: text/html
X-Powered-By: PHP/4.3.9

Waiting on 1/3 pollers.
Waiting on 1/3 pollers.
Waiting on 1/3 pollers.
Waiting on 1/3 pollers.
Waiting on 1/3 pollers.
Waiting on 1/3 pollers.
<clip>
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Are you running in safe mode? What happens when your run "php -m". You might have multiple adodb libraries being loaded for some reason. You should check your config.php to make sure it's not hacked.

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?
SkipLacky
Posts: 10
Joined: Mon Oct 16, 2006 3:20 pm

Post by SkipLacky »

Perhaps I'm trying to run cactid on a system with versions that haven't been tested......

My setup is as follows:

FreeBSD 6.1
PHP 5.1.6
MySQL 5.0.24a
Apache 2.2.3
Perl 5.8.8


What do you think?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

FreeBSD has been tested. Something else. Maybe net-snmp version. Don't know.

Larry
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?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It's almost as if php_mysql.so is being loaded twice.....

TheWitness
Last edited by TheWitness on Thu Oct 26, 2006 5:26 pm, edited 1 time in total.
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?
SkipLacky
Posts: 10
Joined: Mon Oct 16, 2006 3:20 pm

Post by SkipLacky »

Forgot about SNMP.

NET-SNMP version: 5.3.1
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net

php -m

[PHP Modules]
date
libxml
mysql
pcre
Reflection
session
snmp
SPL
standard
xml

[Zend Modules]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest