Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
syslog-ng will nicht laufen, config datei?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
x-scotland
n00b
n00b


Joined: 26 May 2007
Posts: 1

PostPosted: Sat May 26, 2007 6:31 pm    Post subject: Configdatei anschauen Reply with quote

Hi schaut euch mal den die Config-Datei an ...

Code:

# By default messages are logged to tty12...
destination console_all { file("/dev/tty12"); };
# ...if you intend to use /dev/console for programs like xconsole
# you can comment out the destination line above that references /dev/tty12
# and uncomment the line below.
#destination console_all { file("/dev/console"); };

log { source(src); destination(messages); };
log { source(src); destination(console_all); };


entferne, mal das '#' vor der Zeile
Code:
#destination console_all { file("/dev/console"); };
, damit sollte der Syslog wieder laufen

MfG
x-scotland
Back to top
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3337
Location: de

PostPosted: Sun May 27, 2007 6:27 am    Post subject: Reply with quote

Code:

# By default messages are logged to tty12...
destination console_all { file("/dev/tty12"); };
# ...if you intend to use /dev/console for programs like xconsole
# you can comment out the destination line above that references /dev/tty12
# and uncomment the line below.
#destination console_all { file("/dev/console"); };

x-scotland wrote:
entferne, mal das '#' vor der Zeile
Code:
#destination console_all { file("/dev/console"); };

, damit sollte der Syslog wieder laufen

Dem würde ich mal ohne Test widersprechen.
Code:

destination console_all { file("/dev/tty12"); };
destination console_all { file("/dev/console"); };

Hier entscheidest du nur, wohin du das Console-Logging schicken willst (/dev/tty12 oder /dev/console). Bei mir ist das auch per default so eingetragen, wie im Ursprungsposting. Und da läuft es.
Back to top
View user's profile Send private message
AROK
Guru
Guru


Joined: 31 Jul 2006
Posts: 442
Location: D und CH

PostPosted: Mon May 28, 2007 11:06 am    Post subject: Reply with quote

Quote:

# ...if you intend to use /dev/console for programs like xconsole
# you can comment out the destination line above that references /dev/tty12
# and uncomment the line below.
#destination console_all { file("/dev/console"); };
...if you intend to use /dev/console for programs like xconsole

Bei mir geht es auch prima mit tty12.

Wenn es an der Config-Datei läge, würde syslog-ng das auch so sagen, sogar mit genaueren Angaben. Habe neulich mal das Logging komplett neu aufgeteilt, daher weiß ich, wovon ich rede ;) Woran dein Problem liegt, weiß ich aber leider auch nicht. Ein debug USEFlag gibt es ja leider auch nicht..

Gruß
AROK
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum