Can not display traffic chart

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

Moderators: Developers, Moderators

Post Reply
kcchen5
Posts: 2
Joined: Wed Aug 16, 2017 10:43 pm

Can not display traffic chart

Post by kcchen5 »

Hi Guys
Description :
The traffic chart display "-nan"
Image

Error log :
/userap/home/cacti/bin/rrdtool: /userap/home/cacti/lib/libz.so.1: no version information available (required by /lib/libxml2.so.2)

But the /lib/libxml2.so.2 is exist , it is a symbol link , point to /lib/libxml2.so.2.9.1

[root@c2cacti01 ~]# ll /lib/libxml2.so.2.9.1
-rwxr-xr-x 1 root root 1448040 Mar 23 2015 /lib/libxml2.so.2.9.1

[root@c2cacti01 ~]# ll /lib/libxml2.so.2
lrwxrwxrwx 1 root root 16 Aug 16 10:38 /lib/libxml2.so.2 -> libxml2.so.2.9.1
Image

I also create a symbol link to cacti/lib/libxml2.so.2 , but no working.
Any suggestion will be appreciated. Thanks a lot !!

Here is system information
Cacti version : cacti-0.8.7g
OS version : Red Hat Enterprise Linux Server release 7.2
PHP version : 5.4.16
libxml2 version : 2.9.1

If need any further information please let me know.
By the way , I have to install 0.8.7g to support my legacy plugin.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Can not display traffic chart

Post by Osiris »

Which plugin?
Before history, there was a paradise, now dust.
kcchen5
Posts: 2
Joined: Wed Aug 16, 2017 10:43 pm

Re: Can not display traffic chart

Post by kcchen5 »

Osiris wrote:Which plugin?
Here is my plugin
Image

I found the problem is not concerned with libxml2.so.2.9.1
It is relate to libz.so.1

First , backup libz.so.1.bak
mv /userap/home/cacti/lib/libz.so.1 /userap/home/cacti/lib/libz.so.1.bak
mv /userap/home/cacti/src/zlib/1.2.3/libz.so.1 /userap/home/cacti/src/zlib/1.2.3/libz.so.1.bak

Second , create symbol link
ln -s /usr/lib/libz.so.1.2.7 /userap/home/cacti/lib/libz.so.1
ln -s /usr/lib/libz.so.1.2.7 /userap/home/cacti/src/zlib/1.2.3/libz.so.1

After that , the error message no longer appear , but the flow chart is still blink , it shows "-nan"

I using the debug mode , the rrd tools says ok
Any suggestion will be appreciated
Image
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Can not display traffic chart

Post by Osiris »

Permissions? Cacti.log?
Before history, there was a paradise, now dust.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests