Hallo,
habe festgestellt, dass auf meinem V-Server die Log-Dateien immer grösser werden, und werden auch nicht rotiert. Auf dem Server läuft Ubuntu, und habe folgendes im Wiki gefunden:
"Um genau zu sein, wird syslog nicht von Logrotate gepackt, sondern von einem Cronjob (sysklogd unter /etc/cron.daily/ bzw. /etc/cron.weekly/). Dies betrifft auch andere Dateien wie z. B. auth.log. Eine vollständige Liste kann man sich mit dem Befehl syslogd-listfiles -a [3] anzeigen lassen."
Hier meine vollständige Liste:
/var/log/mail.warn
/var/log/user.log
/var/log/daemon.log
/var/log/messages
/var/log/debug
/var/log/auth.log
/var/log/mail.err
/var/log/syslog
/opt/psa/var/log/maillog
/var/log/kern.log
/var/log/lpr.log
/var/log/mail.info
Das Problem ist eben, dass die o.g. Log-Dateien ständig wachsen.
Kann mir jemand aus der Klemme helfen?
Für Eure Antwort danke im Voraus.
Netter Gruß
Don Pedro
habe festgestellt, dass auf meinem V-Server die Log-Dateien immer grösser werden, und werden auch nicht rotiert. Auf dem Server läuft Ubuntu, und habe folgendes im Wiki gefunden:
"Um genau zu sein, wird syslog nicht von Logrotate gepackt, sondern von einem Cronjob (sysklogd unter /etc/cron.daily/ bzw. /etc/cron.weekly/). Dies betrifft auch andere Dateien wie z. B. auth.log. Eine vollständige Liste kann man sich mit dem Befehl syslogd-listfiles -a [3] anzeigen lassen."
Hier meine vollständige Liste:
/var/log/mail.warn
/var/log/user.log
/var/log/daemon.log
/var/log/messages
/var/log/debug
/var/log/auth.log
/var/log/mail.err
/var/log/syslog
/opt/psa/var/log/maillog
/var/log/kern.log
/var/log/lpr.log
/var/log/mail.info
Das Problem ist eben, dass die o.g. Log-Dateien ständig wachsen.
Kann mir jemand aus der Klemme helfen?
Für Eure Antwort danke im Voraus.
Netter Gruß
Don Pedro