Why there is non photos
Moderators: Developers, Moderators
Why there is non photos
I have installed Cacti in Windows There is no graph
I have installed Cacti in Linux on another computer, there is no graph,too.
I have installed Cacti in Linux on another computer, there is no graph,too.
- Attachments
-
- no graph
- test.JPG (77.7 KiB) Viewed 1689 times
LOG
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="nr0u0204 - Traffic - 10.92.80.234 (bge0)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="/home/w4adm/cacti/rra/nr0u0204_traffic_in_17.rrd":traffic_in:AVERAGE \
DEF:b="/home/w4adm/cacti/rra/nr0u0204_traffic_in_17.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:
/usr/bin/rrdtool: relocation error: /opt/lampp/lib/libgd.so.2: undefined symbol: jpeg_destroy
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="nr0u0204 - Traffic - 10.92.80.234 (bge0)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="/home/w4adm/cacti/rra/nr0u0204_traffic_in_17.rrd":traffic_in:AVERAGE \
DEF:b="/home/w4adm/cacti/rra/nr0u0204_traffic_in_17.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:
/usr/bin/rrdtool: relocation error: /opt/lampp/lib/libgd.so.2: undefined symbol: jpeg_destroy
When I add sav after de libgdbm.so.2 by hand,it work
libgdbm.so.2 => /opt/lampp/lib/libgdbm.so.2
libgdbm.so.2.sav
It works
But why?
libgdbm.so.2.sav
It works
But why?
What does
return?
Code: Select all
# ldd /usr/bin/rrdtool
return
w4adm@athenes:/opt/lampp/bin$ ldd /usr/bin/rrdtool
librrd.so.0 => /usr/lib/librrd.so.0 (0x40026000)
libm.so.6 => /lib/libm.so.6 (0x40042000)
libc.so.6 => /lib/libc.so.6 (0x40065000)
libgd.so.2 => /usr/lib/libgd.so.2 (0x40198000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x401e7000)
libz.so.1 => /usr/lib/libz.so.1 (0x4020c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4021e000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4026f000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4028e000)
librrd.so.0 => /usr/lib/librrd.so.0 (0x40026000)
libm.so.6 => /lib/libm.so.6 (0x40042000)
libc.so.6 => /lib/libc.so.6 (0x40065000)
libgd.so.2 => /usr/lib/libgd.so.2 (0x40198000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x401e7000)
libz.so.1 => /usr/lib/libz.so.1 (0x4020c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4021e000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4026f000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4028e000)
w4adm@athenes:/opt/lampp/bin$ ldd /usr/bin/rrdtoolTaiphun wrote:What does
return?Code: Select all
# ldd /usr/bin/rrdtool
librrd.so.0 => /usr/lib/librrd.so.0 (0x40026000)
libm.so.6 => /lib/libm.so.6 (0x40042000)
libc.so.6 => /lib/libc.so.6 (0x40065000)
libgd.so.2 => /usr/lib/libgd.so.2 (0x40198000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x401e7000)
libz.so.1 => /usr/lib/libz.so.1 (0x4020c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4021e000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4026f000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4028e000)
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You have likely installed an RPM version of RRDtool that is using the old Sun standard install paths. Better to uninstall that package and build from source. Or, if you have compiled it yourself, use the following configure option:
./configure --prefix=/usr
or
./configure --prefix=/usr/local
Then, rrdtool will be installed properly into /usr/bin and likely you will not encounter these shared library issues.
TheWitness
./configure --prefix=/usr
or
./configure --prefix=/usr/local
Then, rrdtool will be installed properly into /usr/bin and likely you will not encounter these shared library issues.
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest