[mrtg] MRTG install
Joshua Bowser
sysadmin at greenwood.net
Tue Sep 24 20:48:51 MEST 2002
I just pulled a new copy of mrtg... MRTG 2.9.21. I have followed the
instructions provided in unix-guide to the T. Everything has compiled fine
except I'm having a problem with the cfgmaker script.
Up until the make install, everything in bin/* has stuff in the files, but
after running make install, the files are zeroed out!?
[root at ais]# ls -la bin
total 502
drwxr-xr-x 2 joshua user 512 Sep 24 14:26 .
drwxr-xr-x 9 joshua user 512 Sep 24 14:25 ..
-rwxr-xr-x 1 joshua user 74957 Sep 24 14:26 cfgmaker
-rwxr-xr-x 1 joshua user 22656 Sep 24 14:26 indexmaker
-rwxr-xr-x 1 joshua user 68877 Sep 24 14:26 mrtg
-rwxr-xr-x 1 root user 256223 Sep 24 14:26 rateup
-rw-r--r-- 1 root user 72012 Sep 24 14:26 rateup.o
[root at ais]# make install
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/bin
for x in ./bin/mrtg ./bin/cfgmaker ./bin/indexmaker; do \
/usr/bin/ginstall -c -m 755 $x /usr/local/mrtg-2/bin; done
for x in bin/rateup; do \
/usr/bin/ginstall -c -m 755 $x /usr/local/mrtg-2/bin; done
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/lib/mrtg2/Pod
for x in ./lib/mrtg2/*.pm; do \
/usr/bin/ginstall -c -m 644 $x /usr/local/mrtg-2/lib/mrtg2; done
for x in ./lib/mrtg2/Pod/*.pm; do \
/usr/bin/ginstall -c -m 644 $x /usr/local/mrtg-2/lib/mrtg2/Pod; done
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/share/mrtg2/icons
mkdir /usr/local/mrtg-2/share
mkdir /usr/local/mrtg-2/share/mrtg2
mkdir /usr/local/mrtg-2/share/mrtg2/icons
for x in ./images/*.gif ./images/*.png; do \
/usr/bin/ginstall -c -m 644 $x /usr/local/mrtg-2/share/mrtg2/icons; done
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/doc/mrtg2
mkdir /usr/local/mrtg-2/doc/mrtg2
(cd .; for x in COPYING COPYRIGHT README CHANGES THANKS doc/*.pod doc/*.html
doc/*.wml doc/*.txt doc/*.png; do \
/usr/bin/ginstall -c -m 644 $x /usr/local/mrtg-2/doc/mrtg2; done)
/bin/sh ./mkinstalldirs /usr/local/mrtg-2/man/man1
mkdir /usr/local/mrtg-2/man
mkdir /usr/local/mrtg-2/man/man1
for x in ./doc/*.1; do \
/usr/bin/ginstall -c -m 644 $x /usr/local/mrtg-2/man/man1; done
[root at ais]# ls -la bin
total 73
drwxr-xr-x 2 joshua user 512 Sep 24 14:26 .
drwxr-xr-x 11 joshua user 512 Sep 24 14:26 ..
-rwxr-xr-x 1 root user 0 Sep 24 14:26 cfgmaker
-rwxr-xr-x 1 root user 0 Sep 24 14:26 indexmaker
-rwxr-xr-x 1 root user 0 Sep 24 14:26 mrtg
-rwxr-xr-x 1 root user 0 Sep 24 14:26 rateup
-rw-r--r-- 1 root user 72012 Sep 24 14:26 rateup.o
[root at ais]#
Any help would be great appreciated!!! Thanks.
-Joshua-
--
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