Re: console-log läuft nicht mehr!?

2006-04-03 Diskussionsfäden Marc Haber
On Sun, 2 Apr 2006 23:19:56 +0200, Dirk Salva [EMAIL PROTECTED] wrote:
On Sun, Apr 02, 2006 at 09:31:14PM +0200, Marc Haber wrote:
 [EMAIL PROTECTED]:~# /etc/init.d/console-log start
 Starting console-log: W: /var/log/daemon.log not readable by root
 Was sagt denn
 su --shell=$SHELL --command=head -n 1 /var/log/daemon.log root ?

Es wird das Passwort abgefragt, und dann gibts eine Ausgabe:

[EMAIL PROTECTED]:/$ su --shell=$SHELL --command=head -n 1 
/var/log/daemon.log root
Password: ***
Mar 30 18:32:46 drechner smartd[5372]: Device: /dev/hda, SMART Usage
Attribute: 194 Temperature_Celsius changed from 23 [Raw 23] to 32 [Raw 32]

Und wenn Du das als root probierst? Wenn das auch tut, bitte direkt
danach echo $?

Die von Dir oben zitierte Fehlermeldung kommt, wenn das su-Konstrukt,
das Du oben als User ausprobiert hast, fehlschlägt.

Grüße
Marc

-- 
-- !! No courtesy copies, please !! -
Marc Haber |Questions are the | Mailadresse im Header
Mannheim, Germany  | Beginning of Wisdom  | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG Rightful Heir | Fon: *49 621 72739834



Re: console-log läuft nicht mehr!?

2006-04-02 Diskussionsfäden Marc Haber
On Sun, 2 Apr 2006 01:19:05 +0200, Dirk Salva [EMAIL PROTECTED] wrote:
hat hier vielleicht noch jemand außer mir console-log am Laufen?

Ja.

[EMAIL PROTECTED]:~# /etc/init.d/console-log start
Starting console-log: W: /var/log/daemon.log not readable by root

Was sagt denn
su --shell=$SHELL --command=head -n 1 /var/log/daemon.log root ?

Grüße
Marc

-- 
-- !! No courtesy copies, please !! -
Marc Haber |Questions are the | Mailadresse im Header
Mannheim, Germany  | Beginning of Wisdom  | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG Rightful Heir | Fon: *49 621 72739834