Solved

Linux Syslog stopping

Posted on 2011-02-21
3
652 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 78

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

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,…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

738 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