Hy, ich habe ein Script, welches jede
Stunde die Logfiles eines Bots parsen soll. Es liegt einfach in /etc/cron.hourly
drin
----Schnipp---
cd /usr/bin/odin/ircstats
./ircstats
../logs/wvw.log ircstats.cfg
---Schnapp---
Das alles ! Wenn ich das
Script normal starte, funzt es wunderbar (die gew?nschte HTML-Datei wird auch
anst?ndig erstellt):
_____________
router:~ # /etc/cron.hourly/ircstats
Counting lines in logfile... 882 lines found.
Analyzing log...
|0%--------------25%----------------50%------------------75%---------------100%|
................................................................................
So far 1 days has been logged.
The analysis took 0 seconds.
Generating html... done.
router:~ #
_____________
Wenn ich es aber per cron laufen lasse, bekomme ich eine email:
____
"Generating html... /etc/cron.hourly/ircstats: line 2: 3413 Segmentation
fault ./ircstats ../logs/wvw.log ircstats.cfg"
____
Die erstellte
HTML-Datei h?rt einfach in der Mitte auf...
Ich benutze SuSE 7.0, habe alle
aktuellen patches installiert.
Jemand ne idee
?