Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/var/log/messages not logging.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Wed Jul 06, 2005 9:18 pm    Post subject: /var/log/messages not logging. Reply with quote

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
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2508
Location: Silver City, NM

PostPosted: Wed Jul 06, 2005 11:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2140
Location: 127.0.0.1

PostPosted: Thu Jul 07, 2005 12:30 am    Post subject: Reply with quote

ah i see. thanks :)
_________________
John5788
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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