[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: console-log (was: Ein paar Config fragen)



Hallo Markus,

On [21-06-01 18:22], Markus Hirschmann wrote:

> Leider verkraftet es nicht, wenn beim morgendlichen Rotieren der Logs die
> Datei leer wird. Dann hängt es, bis ich mit Ctrl+C und dann q
> abbreche. Dann startet es sich neu läuft wieder bis zum nächsten Morgen.
> 
> Weiß jemand Abhilfe?

Ein Workaround von Chris Boyle:

| Speaking of problems with console-log, has anyone else had trouble with it
| when syslog restarts (e.g. when logs are rotated)? I found that after a
| syslog restart, no new messages would appear in the less concerned. Adding
| the following line to /etc/init.d/sysklogd just before the exit 0 at the end
| seems to have fixed it:
|
| /etc/init.d/console-log $1 >/dev/null 2>&1

Das hier (von Alson van der Meulen) ist vielleicht auch interessant:

| > I had problems early on with console-log keeping machines from properly
| > rebooting during remote reboots over ssh.  Did that get cleared up?
| >
| > I could never track down why so I didn't submit a bug report on it,
| > because I wasn't sure if it was a local problem to that machine only or
| > not.
| just remove the symlink to console-log from /etc/rc0.d and /etc/rc6.d,
| maybe /etc/rc1.d too.
| 
| the stop script is broken it seems, if you remove the symlinks, it
| will get killed anyway

Beides aus dem Thread "Logging practices (and why does it suck in
Debian?)" auf debian-security.

Janto

-- 
Janto Trappe    Germany     /* rapelcgrq znvy cersreerq! */
GnuPG-Key:      http://www.sylence.de/gpgkey.asc
Key ID:         0x8C53625F
Fingerprint:    35D7 8CC0 3DAC 90CD B26F B628 C3AC 1AC5 8C53 625F

Attachment: pgptoDkg6At0B.pgp
Description: PGP signature


Reply to: