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

Re: empty log files



On Friday 06 April 2001 03:47, Andres Salomon wrote:
> i was playing w/ a kernel driver when i noticed the following:
>
> (machine 1)
> -rw-r-----    1 root     adm             0 Mar 25 06:49 /var/log/kern.log
> -rw-r-----    1 root     adm          2259 Mar 20 17:59 /var/log/kern.log.0
>
> (machine 2)
> -rw-r-----    1 root     adm             0 Mar 25 06:49 /var/log/kern.log
> -rw-r-----    1 root     adm        436938 Mar 18 18:40 /var/log/kern.log.0
>
> this is rather disturbing.  my /etc/syslog.conf on both machines
> contains "kern.*  -/var/log/kern.log", with timestamps on the conf
> files being from january.  has anyone else noticed something similar?
> i'm thinking this is either a bug w/ syslog, or else i fucked something
> up.  user.log is 0 bytes as well.  the other log files are fine (messages,
> daemon.log, auth.log, debug, and syslog), afaict.  has anyone else noticed
> anything similar w/ debian unstable?

	Verify if your "/etc/syslog.conf" is right:

kern.*	<tab>	-/var/log/kern.log

where "<tab>" is a real tabulation (don't write it).  Run a "killall -HUP 
syslogd" and use a "ipchains -A input -p all -l" to test.  Finally ping 
yourself (ping localhost).  
If it don't work, you're (or your syslog) in trouble.

-- 

Hélio Alexandre Lopes Loureiro
e-mail:helio.loureiro@edb.ericsson.se
Tel.: + 55 11 6224-1795
Division Multiservice Networks - First Deployments
Public Key => 	http://cipsga.procempa.com.br/oks/pt_BR/
(pgp-i 2.6.3)	http://www.engnux.ufsc.br/helio/identity.pub.txt

/"\
\ /  Campanha da fita ASCII - Contra mail HTML
 X   ASCII ribbon campaign  - Against HTML mail
/ \



Reply to: