No graphs and graph debug says libgcc error

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

Moderators: Developers, Moderators

Post Reply
abhardwaj
Posts: 5
Joined: Wed Mar 16, 2005 4:55 pm

No graphs and graph debug says libgcc error

Post by abhardwaj »

After upgrading to h version of cacti, I stopped getting graphs. Here is the output of the graph debug.

RRDTool Command:

/usr/local/rrdtool-1.0.49/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="exa2-tr-wr-01 - CPU Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
DEF:a="/usr/local/apache/htdocs/cacti/rra/exa2trwr01_5min_cpu_17.rrd":5min_cpu:AVERAGE \
AREA:a#FF0000:"CPU Usage" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf"
RRDTool Says:

ld.so.1: rrdtool: fatal: libgcc_s.so.1: open failed: No such file or directory


Whereas LD_LIBRARY_PATH seems to cover this library path ... Please help ...
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Did you try running 'ldconfig'?

-Ian
abhardwaj
Posts: 5
Joined: Wed Mar 16, 2005 4:55 pm

Post by abhardwaj »

Its a solaris 10 box and I don't know if there is a ldconfig command. I ran ldd command on rrdtool binary and it can see the required library.
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Do you get any output if you run the above command by hand at the command line?

-Ian
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Did you upgrade rrdtool? If so, where did you get the package from?

That looks like a lib that rrdtool wants is not there, nothing that is cacti related.
[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]
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Re: No graphs and graph debug says libgcc error

Post by fmangeant »

abhardwaj wrote:ld.so.1: rrdtool: fatal: libgcc_s.so.1: open failed: No such file or directory
Hi

you need to install the libgcc package (>= 3.3) : http://sunfreeware.mirrors.tds.net/prog ... ml#rrdtool

It can be found here : http://sunfreeware.mirrors.tds.net/prog ... html#gcc33

(assuming you're running on Sparc).
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests