[mrtg] Rateup under OBSD3.3/sparc64 problems
Boris Meyer
boris at subcult.ch
Mon Jun 16 11:52:06 MEST 2003
Hello there!
I'm writing to this list, because intensive searching in google and
mailing-lists gave me no answer to my problem.
I'm using mrtg under OpenBSD3.3/sparc64 (Netra X1 Box) and rateup won't
work as it should (looks like). I used the same config-file under an
other box without problems.
I got this problem under the mrtg-version of the current ports-tree
(2.9.12a) and the self-compiled actual version (2.9.29). The compiler:
# gcc -v
Reading specs from /usr/lib/gcc-lib/sparc64-unknown-openbsd3.3/2.95.3/specs
gcc version 2.95.3 20010125 (prerelease, propolice)
The problem:
------------
If I start mrtg, I'll get the following error-msgs:
bash-2.05b# mrtg /etc/mrtg.cfg
Rateup ERROR: /usr/local/bin/rateup found 213.180.174.249_10's log file
was corrupt
or not in sorted order:
time: 1055755651.Rateup WARNING: /usr/local/bin/rateup could not read
the primary log file for 213.180.174.249_10
Rateup ERROR: /usr/local/bin/rateup found 213.180.174.249_10's log file
was corrupt
or not in sorted order:
time: 1055755644.Rateup WARNING: /usr/local/bin/rateup The backup log
file for 213.180.174.249_10 was invalid as well
2003-06-16 11:27:38 -- WARNING: rateup died from Signal 0
with Exit Value 1 when doing router '213.180.174.249_10'
Signal was 0, Returncode was 1
It's not a permission-problem, I'm starting the whole thing under root -
file/dir-permissions are okay. I read somewhere about a similar problem,
but there was no answer available anywhere.
Here the mrtg.cfg (without comments):
WorkDir: /var/www/htdocs/tempdir
Options[_]: growright
Target[213.180.174.249_10]: 10:username at 213.180.174.249:
SetEnv[213.180.174.249_10]: MRTG_INT_IP="212.90.192.131"
MRTG_INT_DESCR="poe0"
MaxBytes[213.180.174.249_10]: 64000
Title[213.180.174.249_10]: Traffic Analysis for subcult.ch (ExtIF)
PageTop[213.180.174.249_10]: <H1>Traffic Analysis for subcult.ch
(ExtIF)</H1>
<TABLE>
<TR><TD>System:</TD> <TD>subcult.ch</TD></TR>
<TR><TD>Description:</TD><TD>poe0 </TD></TR>
<TR><TD>ifType:</TD> <TD>pppOE</TD></TR>
<TR><TD>Max Speed:</TD> <TD>512.0 kbits/s</TD></TR>
<TR><TD>Ip:</TD> <TD>213.180.174.249</TD></TR>
</TABLE>
It's a bug in mrtg openbsd/sparc64 or does anybody have an idea, how I
may fix this problem?
Thank you + Greetings,
Boris Meyer
--
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