View previous topic :: View next topic |
Author |
Message |
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Wed Jul 06, 2005 9:18 pm Post subject: /var/log/messages not logging. |
|
|
I just noticed my /var/log/messages contains 0 bytes. My system isn't logging anything and it's being very unstable right now, giving me random complete lockups. I want to find out why but I can't, any reason why metalog isnt doing its job?
Code: | [/home/john5788 :: 02:18 PM :: 1]
[root@john5788.x5788.net]
# rc-update show
alsasound | boot
bootmisc | boot
bttrack |
checkfs | boot
checkroot | boot
clock | boot
consolefont | boot
crypto-loop |
cupsd | default
domainname |
esound |
famd |
gkrellmd |
gpm |
hdparm | default
hostname | boot
keymaps | boot
lm_sensors | default
local | default nonetwork
localmount | boot
metalog | default
modules | boot
net.eth0 | default
net.lo | boot
netmount |
nscd |
numlock | default
portmap |
rmnologin | boot
rsyncd |
serial | boot
splash | default
sshd | default
timidity | default
urandom | boot
vixie-cron | default
xdm |
xfs |
xprint | |
_________________ John5788 |
|
Back to top |
|
|
BitJam Advocate
Joined: 12 Aug 2003 Posts: 2508 Location: Silver City, NM
|
Posted: Wed Jul 06, 2005 11:28 pm Post subject: |
|
|
You're using metalog. It puts the log files in subdirectories like /var/log/everything/ and /var/log/kernel/.
To find all of its log files do the following (as root): Code: | # emerge lsof
# lsof | grep metalog | grep /var/log |
There is probably a more efficient way, but the above works and you don't need to do it every day. |
|
Back to top |
|
|
John5788 Advocate
Joined: 06 Apr 2004 Posts: 2140 Location: 127.0.0.1
|
Posted: Thu Jul 07, 2005 12:30 am Post subject: |
|
|
ah i see. thanks _________________ John5788 |
|
Back to top |
|
|
|