[mrtg] Error when starting MRTG
Waltman, Adam
AWaltman at anacomp.com
Thu Dec 12 17:48:52 MET 2002
Hello,
I am running into a problem when starting MRTG. Let me give you my setup.
I am running Solaris 8. I downloaded zlib-1.1.4, gd-1.8.3 and libpng-1.0.15
and compiled all of them as the documentation states. No problems. I then
downloaded mrtg-2.9.25 and compiled it with this command:
./configure --prefix=/usr/local/mrtg-2 --with-gd=/usr/local/gd-1.8.3
--with-z=/usr/local/zlib-1.1.4 --with-png=/usr/local/libpng-1.0.15
...just as the documentation suggests. I have a config file, mrtg.cfg.
When I go to run mrtg the first time this is the message I get:
# mrtg /usr/local/mrtgstats/mrtg.cfg
Daemonizing MRTG ...
# libpng warning: Application was compiled with png.h from libpng-1.0.10
libpng warning: Application is running with png.c from libpng-1.2.4
gd-png: fatal libpng error: Incompatible libpng version in application and
library
ERROR: Skipping webupdates because rateup did not return anything sensible
Argument "UNIX" isn't numeric in ne at /usr/local/mrtg-2/bin/mrtg line 407.
Argument "UNIX" isn't numeric in ne at /usr/local/mrtg-2/bin/mrtg line 407.
WARNING: rateup died from Signal 11
with Exit Value 0 when doing router 'dstkc-2610_10.60.25.2'
Signal was 11, Returncode was 0
libpng warning: Application was compiled with png.h from libpng-1.0.10
libpng warning: Application is running with png.c from libpng-1.2.4
gd-png: fatal libpng error: Incompatible libpng version in application and
library
ERROR: Skipping webupdates because rateup did not return anything sensible
Argument "UNIX" isn't numeric in ne at /usr/local/mrtg-2/bin/mrtg line 407.
WARNING: rateup died from Signal 11
with Exit Value 0 when doing router 'dstkc-2610_10.70.25.2'
Signal was 11, Returncode was 0
I have a few questions:
1. Where did libpng-1.0.10 and libpng-1.2.4 come from? I thought that by
using the --with specification in the configure command that it would only
use what I told it.
2. Which versions of libpng and gd are compatible?
3. What is 'Argument "UNIX" isn't numeric in ne at
/usr/local/mrtg-2/bin/mrtg line 407'? What is it looking for?
Any help would be great.
Adam
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list