Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Eigenartiges in message & Einstellung logrotate
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Hungry Hugo
Apprentice
Apprentice


Joined: 23 Aug 2005
Posts: 261
Location: Germany FFM

PostPosted: Sat Oct 15, 2005 5:01 pm    Post subject: Eigenartiges in message & Einstellung logrotate Reply with quote

Hi Jungs,

ich hoffe das ich ein [DUP] bekomme... habe aber schon das Forum soweit abgeklappert aber nicht das "Richtige" gefunden.
Es geht darum den Logfiles auf die Pelle zu rücken. Im Moment ist messages gerade mal 12 MB groß (ist seit Ende August am laufen)
ich habe aber bedenken das es schnell mehr wird. Siehe -> 2 hier geschieht irgendwas mas sich meiner Kenntnis
entzieht und das habe ich nicht so gerne...
Wenn ihr noch Infos übers System braucht dann gebt bescheid.

Ich benutze syslog-ng.

1
Hier der in der ManPage von logrotate vorgegebene Einstellung um messages zu archivieren. Kann ich den so problemlos
übernehmen oder gibt es etwas was man erweitern bzw. herausnehmen sollte??
Code:
/var/log/messages {
           rotate 5
           weekly
           postrotate
               /bin/killall -HUP syslogd
           endscript
       }


2
Code:
Oct 11 19:18:23 laptop PROTO=6 127.0.0.1:631 127.0.0.1:41378 L=72 S=0x00 I=13873 F=0x4000 T=64
Oct 11 19:18:23 laptop ip_local_deliver: bad skb: PRE_ROUTING LOCAL_IN LOCAL_OUT POST_ROUTING
Oct 11 19:18:23 laptop skb: pf=2 (unowned) dev=lo len=52
Oct 11 19:18:23 laptop PROTO=6 127.0.0.1:41378 127.0.0.1:631 L=52 S=0x00 I=29469 F=0x4000 T=64
Oct 11 19:18:23 laptop ip_local_deliver: bad skb: PRE_ROUTING LOCAL_IN LOCAL_OUT POST_ROUTING
Oct 11 19:18:23 laptop skb: pf=2 (unowned) dev=lo len=105
[...]
Oct 15 17:00:01 laptop cron[29094]: (root) CMD (rm -f /var/spool/cron/lastrun/cron.hourly)
Oct 15 17:04:24 laptop ip_local_deliver: bad skb: PRE_ROUTING LOCAL_IN LOCAL_OUT POST_ROUTING
Oct 15 17:04:24 laptop skb: pf=2 (unowned) dev=lo len=60
Oct 15 17:04:24 laptop PROTO=6 127.0.0.1:679 127.0.0.1:111 L=60 S=0x00 I=28871 F=0x4000 T=64
Oct 15 17:04:24 laptop ip_local_deliver: bad skb: PRE_ROUTING LOCAL_IN LOCAL_OUT POST_ROUTING
Oct 15 17:04:24 laptop skb: pf=2 (unowned) dev=lo len=40
Oct 15 17:04:24 laptop PROTO=6 127.0.0.1:111 127.0.0.1:679 L=40 S=0x00 I=11699 F=0x4000 T=64
Oct 15 17:04:24 laptop ip_local_deliver: bad skb: PRE_ROUTING LOCAL_IN LOCAL_OUT POST_ROUTING
Oct 15 17:04:24 laptop skb: pf=2 (unowned) dev=lo len=60
Oct 15 17:04:24 laptop PROTO=6 127.0.0.1:680 127.0.0.1:111 L=60 S=0x00 I=24477 F=0x4000 T=64
Oct 15 17:04:24 laptop ip_local_deliver: bad skb:
[...]
Oct 15 17:04:24 laptop skb: pf=2 (unowned) dev=lo len=40
Oct 15 17:04:24 laptop PROTO=6 127.0.0.1:111 127.0.0.1:680 L=40 S=0x00 I=11700 F=0x4000 T=64
Oct 15 17:04:24 laptop ip_local_deliver: bad skb: PRE_ROUTING LOCAL_IN LOCAL_OUT POST_ROUTING
Oct 15 17:04:24 laptop skb: pf=2 (unowned) dev=lo len=60
Oct 15 17:04:24 laptop PROTO=6 127.0.0.1:681 127.0.0.1:111 L=60 S=0x00 I=61581 F=0x4000 T=64
Oct 15 17:04:24 laptop ip_local_deliver: bad skb: PRE_ROUTING LOCAL_IN LOCAL_OUT POST_ROUTING
Oct 15 17:04:24 laptop skb: pf=2 (unowned) dev=lo len=40
Oct 15 17:04:24 laptop PROTO=6 127.0.0.1:111 127.0.0.1:681 L=40 S=0x00 I=11701 F=0x4000 T=64
Oct 15 17:04:24 laptop ip_local_deliver: bad skb: PRE_ROUTING LOCAL_IN LOCAL_OUT POST_ROUTING
Oct 15 17:04:24 laptop skb: pf=2 (unowned) dev=lo len=60
Oct 15 17:04:24 laptop PROTO=6 127.0.0.1:682 127.0.0.1:111 L=60 S=0x00 I=3572 F=0x4000 T=64
Oct 15 17:04:24 laptop ip_local_deliver: bad skb: PRE_ROUTING LOCAL_IN LOCAL_OUT POST_ROUTING
Oct 15 17:04:24 laptop skb: pf=2 (unowned) dev=lo len=40
Oct 15 17:04:24 laptop PROTO=6 127.0.0.1:111 127.0.0.1:682 L=40 S=0x00 I=11702 F=0x4000 T=64
Oct 15 17:04:24 laptop ip_local_deliver: bad skb: PRE_ROUTING LOCAL_IN LOCAL_OUT POST_ROUTING
Oct 15 17:04:24 laptop skb: pf=2 (unowned) dev=lo len=60
[...]


Gruß Hungry Hugo
_________________
Gentoo El Nino ( 2005.1 ) / Kernel 2.6.12-r6
Fujitsu-Siemens M7400
--
registered linux user # 398138
Back to top
View user's profile Send private message
Freiburg
Guru
Guru


Joined: 19 Jun 2004
Posts: 504
Location: Freiburg

PostPosted: Sat Oct 15, 2005 5:50 pm    Post subject: Reply with quote

http://patchwork.netfilter.org/netfilter-devel/patch.pl?id=2751

https://bugs.gentoo.org/show_bug.cgi?id=100944

jaja immer die neuenn Kernel ;-)
Back to top
View user's profile Send private message
Hungry Hugo
Apprentice
Apprentice


Joined: 23 Aug 2005
Posts: 261
Location: Germany FFM

PostPosted: Sat Oct 15, 2005 8:08 pm    Post subject: Reply with quote

Hi Freiburg,

nur leider ist es kein neuer Kernel... ich habe den 2.6.12-r6 und habe das "Problem" erst seit 5 - 6 Tagen.
Ich habe gelesen das man CONFIG_NETFILTER_DEBUG deaktivieren soll um das Problem zu beseitigen.
Wie und wo kann ich das tun??

Gruß Hungry Hugo
_________________
Gentoo El Nino ( 2005.1 ) / Kernel 2.6.12-r6
Fujitsu-Siemens M7400
--
registered linux user # 398138
Back to top
View user's profile Send private message
Royal
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jun 2004
Posts: 78
Location: Hamburg, Germany

PostPosted: Thu Nov 24, 2005 11:04 am    Post subject: Reply with quote

CONFIG_NETFILTER_DEBUG ist eine Kerneleinstellung. Ist bei mir nicht gesetzt.
_________________
A preposition is a bad word to end a sentence with.
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
Page 1 of 1

 
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