Help :SOLARIS CACTID POLLER PROBLEM - SOLVED

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

Moderators: Developers, Moderators

arkand
Posts: 27
Joined: Wed Oct 13, 2004 10:12 am
Location: Spain

Help :SOLARIS CACTID POLLER PROBLEM - SOLVED

Post by arkand »

produced the following output:

ld.so.1: cactid: fatal: libnetsnmp.so.5: open failed: No such file or directory
ld.so.1: cactid: fatal: libnetsnmp.so.5: open failed: No such file or directory
03/20/2007 06:24:53 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
03/20/2007 06:24:53 PM - SYSTEM STATS: Time:293.1678 Method:cactid Processes:2 Threads:4 Hosts:5 HostsPerProcess:3 DataSources:200 RRDsProcessed:0

Warning: pclose(): 49 is not a valid stream resource in /usr/local/apache2/htdocs/cacti/lib/rrd.php on line 48


Anyone have any idea to fix it ?
Last edited by arkand on Wed Mar 21, 2007 2:30 pm, edited 2 times in total.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Did you compile cactid manually?
Reinhard
arkand
Posts: 27
Joined: Wed Oct 13, 2004 10:12 am
Location: Spain

Post by arkand »

Yes
arkand
Posts: 27
Joined: Wed Oct 13, 2004 10:12 am
Location: Spain

Post by arkand »

with cmd.php all is Ok, but at this momento only with 5 host is 45 s, with 85 catalyst .......s , i need cactid run ok.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Are the net-snmp libs installed? Any error during compile?
Reinhard
arkand
Posts: 27
Joined: Wed Oct 13, 2004 10:12 am
Location: Spain

Post by arkand »

nothing, all ok.

Platform: Solaris 9
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

uh, bad, no experience on solaris ...
Reinhard
arkand
Posts: 27
Joined: Wed Oct 13, 2004 10:12 am
Location: Spain

Post by arkand »

on another machine, with suse linux, all is ok , with cmd or cactid, no problem, in this machine the version of cacti is 6c.

Whit a very restictec part of catalist

03/20/2007 06:16:15 PM - CACTID: Poller[0] Time: 13.2865 s, Threads: 3, Hosts: 41
03/20/2007 06:16:16 PM - SYSTEM STATS: Time: 15.1478 s, Method: cactid, Processes: 2, Threads: 3, Hosts: 82, Hosts/Process: 41


i try to install 2 diferent version of rrdtool, in some topics i read some about a similar problem, but with the new version of rrdtool ( 1.2.15 ) no graphs.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please change this topic's title to include Solaris. This may ring a bell ...
Reinhard
arkand
Posts: 27
Joined: Wed Oct 13, 2004 10:12 am
Location: Spain

Post by arkand »

ok gandalf.

Thanks.
User avatar
nahun
Cacti User
Posts: 92
Joined: Wed Feb 15, 2006 11:27 pm
Location: Idaho
Contact:

Post by nahun »

this isn't much help, but I have yet to get cactid to work yet on Solaris 10. I'm not sure if anyone has yet to get it working, it would be nice though.
[size=75]Solaris 10 x86 [color=red][b]||[/b][/color] Cacti - 0.8.7 [color=red][b]||[/b][/color] MySQL - 5.0.45 [color=red][b]||[/b][/color] PHP - 5.2.6 [color=red][b]||[/b][/color] RRDTool - 1.2.23 [color=red][b]||[/b][/color] NET-SNMP - 5.4.1 [color=red][b]||[/b][/color] Syslog-ng 2.0.5
[url=http://www.indigo-networks.com]indigo-networks.com[/url][/size]
arkand
Posts: 27
Joined: Wed Oct 13, 2004 10:12 am
Location: Spain

Post by arkand »

anyone have a similar problem ????

:( :( :(
arkand
Posts: 27
Joined: Wed Oct 13, 2004 10:12 am
Location: Spain

Post by arkand »

nahun, try to do manualy

/path_php/
./php /path_cacti/poller.php

2 second's
je je je
arkand
Posts: 27
Joined: Wed Oct 13, 2004 10:12 am
Location: Spain

Post by arkand »

Solved, problem of cron and LD_LIBRARY_PATH
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Yes, this seems to be an issue with the make process. I have noted my blunder in other spaces. I'll fix it before too long. But your process in exporting the LD_LIBRARY_PATH in cron should be ok for now.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests