Solved

Linux Syslog stopping

Posted on 2011-02-21
3
649 Views
Last Modified: 2012-05-11
I have a RHEL5 server and the syslog daemon will stop after running for a period of time. The actual service is still running but no logs are populating. If I restart the service, it will start logging again. Thanks in advance.
0
Comment
Question by:buckethead34
3 Comments
 
LVL 5

Accepted Solution

by:
zazagor earned 125 total points
ID: 34944331
Hi,

Are you runnig out of disk?
I think that syslog will stop logging if the disk is getting to full.

//zaZagor
0
 
LVL 77

Expert Comment

by:arnold
ID: 34944367
run fuser /var/log/syslog* and see whether a prior version of syslog file is not being written to.
alternative you can get the PID of syslog and then run lsof -p <pid_of_syslog> and there you can see to which file syslog is bound.
another option with/use of the syslog pid is to run strace -f -p <pid_of_syslog> and see what it is doing.
0
 
LVL 3

Expert Comment

by:ivailoj
ID: 34949411
Do all log stopped or only syslog?

tail /var/log/syslog
and see last log time

check when for last time log file is changed:
ls -lrt

check:
logrotate
may be logrotate can't restart syslogd after rotating log files!

check:
dmesg

Give output of commands here.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now