Days ago I installed MRTG and all was working fine, until now... Does anybody know where/how to get/install libpn-1.22 ? Code: root@server [~]# service mrtg stop Shutting down MRTG: [ OK ] root@server [~]# service mrtg start Starting MRTG: Daemonizing MRTG ... root@server [~]# libpng warning: Application was compiled with png.h from libpng-1.2.2 libpng warning: Application is running with png.c from libpng-1.0.13 gd-png: fatal libpng error: Incompatible libpng version in application and library WARNING: rateup died from Signal 11 with Exit Value 0 when doing router 'index' Signal was 11, Returncode was 0 libpng warning: Application was compiled with png.h from libpng-1.2.2 libpng warning: Application is running with png.c from libpng-1.0.13 gd-png: fatal libpng error: Incompatible libpng version in application and library WARNING: rateup died from Signal 11 with Exit Value 0 when doing router 'tcp' Signal was 11, Returncode was 0 libpng warning: Application was compiled with png.h from libpng-1.2.2 libpng warning: Application is running with png.c from libpng-1.0.13 gd-png: fatal libpng error: Incompatible libpng version in application and library WARNING: rateup died from Signal 11 with Exit Value 0 when doing router 'load' Signal was 11, Returncode was 0 libpng warning: Application was compiled with png.h from libpng-1.2.2 libpng warning: Application is running with png.c from libpng-1.0.13 gd-png: fatal libpng error: Incompatible libpng version in application and library WARNING: rateup died from Signal 11 with Exit Value 0 when doing router 'swap' Signal was 11, Returncode was 0 libpng warning: Application was compiled with png.h from libpng-1.2.2 libpng warning: Application is running with png.c from libpng-1.0.13 gd-png: fatal libpng error: Incompatible libpng version in application and library WARNING: rateup died from Signal 11 with Exit Value 0 when doing router 'processes' Signal was 11, Returncode was 0 libpng warning: Application was compiled with png.h from libpng-1.2.2 libpng warning: Application is running with png.c from libpng-1.0.13 gd-png: fatal libpng error: Incompatible libpng version in application and library WARNING: rateup died from Signal 11 with Exit Value 0 when doing router 'uptime' Signal was 11, Returncode was 0 libpng warning: Application was compiled with png.h from libpng-1.2.2 libpng warning: Application is running with png.c from libpng-1.0.13 gd-png: fatal libpng error: Incompatible libpng version in application and library WARNING: rateup died from Signal 11 with Exit Value 0 when doing router 'cpu' Signal was 11, Returncode was 0 libpng warning: Application was compiled with png.h from libpng-1.2.2 libpng warning: Application is running with png.c from libpng-1.0.13 gd-png: fatal libpng error: Incompatible libpng version in application and library WARNING: rateup died from Signal 11 with Exit Value 0 when doing router 'localhost.mem' Signal was 11, Returncode was 0 libpng warning: Application was compiled with png.h from libpng-1.2.2 libpng warning: Application is running with png.c from libpng-1.0.13 gd-png: fatal libpng error: Incompatible libpng version in application and library WARNING: rateup died from Signal 11 with Exit Value 0 when doing router 'mail-host-email-totals' Signal was 11, Returncode was 0 libpng warning: Application was compiled with png.h from libpng-1.2.2 libpng warning: Application is running with png.c from libpng-1.0.13 gd-png: fatal libpng error: Incompatible libpng version in application and library WARNING: rateup died from Signal 11 with Exit Value 0 when doing router 'mail-host-email-queue' Signal was 11, Returncode was 0 libpng warning: Application was compiled with png.h from libpng-1.2.2 libpng warning: Application is running with png.c from libpng-1.0.13 gd-png: fatal libpng error: Incompatible libpng version in application and library WARNING: rateup died from Signal 11 with Exit Value 0 when doing router 'mail-host-email-count' Signal was 11, Returncode was 0
If i remember correctly this should work from the MTRG RH9 install guide on the forums [Post Here] [Thread Here] Code: cd /usr/lib mv libpng.so.2 libpng.so.2.OLD ... OR rm libpng.so.2 (your choice) ln -s libpng.so.3 libpng.so.2 I'd like to point out that I *Have Not* tested this lately so YMMV but it did work on RH9, FC1 & FC2. I'd recommend Cacti over MTRG anyways One other thing to watch out for, IIRC Cpanel's updates will nuke that ln -s you do above so you'll need to redo it after each /scripts/upcp else your graphs will break. Hope that helps a little
In theory it should work... but I just don't remember how did I fix this problem.. this was many months ago.. sorry
I have fixed this error I have done the following steps and that fixed the error on restarting mrtg. root@savitha [/usr/lib]# mv libpng.so.2 libpng.so.2.OLD root@savitha[/usr/lib]# ln -s libpng.so.3 libpng.so.2 root@savitha[/usr/lib]# service mrtg restart Shutting down MRTG: [ OK ] Starting MRTG: Daemonizing MRTG ... [ OK ]