Solved

Linux Syslog stopping

Posted on 2011-02-21
3
647 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
Comment Utility
Hi,

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

//zaZagor
0
 
LVL 76

Expert Comment

by:arnold
Comment Utility
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
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
LINUX ZIP - UNCOMPRESS WINDOWS PATH 3 55
Sed question 2 45
My bash alias isn't executing 5 31
LINUX CENTOS + APACHE 9 31
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

743 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

17 Experts available now in Live!

Get 1:1 Help Now