Hallo,
System: Suse 8.0
1. Ich stoppe Postfix
2. Ich benenne die Datei /var/log/mail in /var/log/old_mail um
3. Ich starte Postfix neu
4. Ich stelle fest, dass er weiterhin in die /var/log/old_mail schreibt...
5. Ich stelle fest, dass er keine /var/log/mail erstellt
6. Ich bin ratlos, denn eigentlich ist ja Postfix der einzige Dienst, der auf die Datei zugreift und die Datei müsste ja mit dem stoppen von Postfix geschlossen werden?
Gruß
Sebastian
/var/log/mail -> nach Neustart wird keine neue erstellt
-
Roger Wilco
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: /var/log/mail -> nach Neustart wird keine neue erstellt
Tatsächlich schreibt aber nicht Postfix in die Logdatei, sondern Syslogd ;)
Re: /var/log/mail -> nach Neustart wird keine neue erstellt
Also müsste ich auch Syslogd stoppen, nachdem ich Postfix gestoppt habe ?Roger Wilco wrote:Tatsächlich schreibt aber nicht Postfix in die Logdatei, sondern Syslogd ;)
Re: /var/log/mail -> nach Neustart wird keine neue erstellt
Code: Select all
install -o root -g root -m 0640 /var/log/mail
/etc/init.d/sysklogd restart
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
