hi i got problem with my qmail..i wish to use mrtg to
see some graphs, but it makes this errors:

qmail.mrtg.conf :
Title[messages]: sireal.sk - Qmail (throughput)
MaxBytes[messages]: 100
AbsMax[messages]: 10000
Options[messages]: gauge
Target[messages]: `/usr/local/bin/qmailmrtg7 m /var/log/qmail`
PageTop[messages]: <font face=arial size=3><B>sireal.sk</B> - Qmail 
(throughput)</font><br>
ShortLegend[messages]: Messages
YLegend[messages]: Messages
Legend1[messages]: Total messages
LegendI[messages]: &nbsp;Deliveries:
LegendO[messages]: &nbsp;Attempts:
WithPeak[messages]: ymwd

#-------------------------------------------------------------------

Title[queue-size]: sireal.sk - Qmail (queue size)
MaxBytes[queue-size]: 1000
AbsMax[queue-size]: 10000
Options[queue-size]: gauge
Target[queue-size]: `/usr/local/bin/qmailmrtg7 q /var/qmail/queue`
PageTop[queue-size]: <font face=arial size=3><B>sireal.sk</B> - Qmail (queue 
size)</font><br>
ShortLegend[queue-size]: Messages
YLegend[queue-size]: Messages
Legend1[queue-size]: Messages
LegendI[queue-size]: &nbsp;Messages:
LegendO[queue-size]: &nbsp;Unprocessed Messages:
WithPeak[queue-size]: ymwd


queue size graph is working properly, but
qmail throughput not..it makes this errors:
Rateup ERROR: /usr/bin/rateup found messages's log file was corrupt
          or not in sorted order:
time: 999527101.Rateup WARNING: /usr/bin/rateup could not read the primary log file 
for messages
Rateup ERROR: /usr/bin/rateup found messages's log file was corrupt
          or not in sorted order:
time: 999526801.Rateup WARNING: /usr/bin/rateup The backup log file for messages was 
invalid as well
WARNING: rateup died from Signal 0
 with Exit Value 1 when doing router 'messages'
 Signal was 0, Returncode was 1

i cant find why..
i start my qmail like this:
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|preline procmail' | /usr/local/bin/setuidgid qmaill \
/usr/local/bin/multilog t n100 s1000000 /var/log/qmail &

csh -cf '/var/qmail/rc &'
/usr/local/bin/tcpserver -x /etc/tcp.smtp.cdb -v -u 501 -g 500 0 smtp 
/var/qmail/bin/qmail-smtpd \
2>&1 | /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t n100 s1000000 
/var/log/smtp &

log files look like this:
drwxr-xr-x    2 qmaill   root         4096 Sep  3 21:04 .
drwxr-xr-x    9 root     root         4096 Sep  3 19:03 ..
-rw-r--r--    1 qmaill   nofiles     68798 Sep  4 00:44 current
-rw-------    1 qmaill   nofiles         0 Sep  3 18:54 lock
-rw-r--r--    1 qmaill   nofiles         0 Sep  3 18:54 state

so whats wrong? help with that plz
thanx

Reply via email to