Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Message log stop

Status
Not open for further replies.

nickl

Technical User
Sep 18, 2001
10
CN
When we use nw6.1.1 on AIX4.3.3 in SAN solution ,message.log file did not increase after some days,after restart syslogd,everything is good ,after some days,occur again.
Anyone can help me?
 
It does that for some reason. I use a script to rotate the log, and restart syslogd once a day

#!/bin/ksh

DATE=`date +"%Y%m%d"`

stopsrc -s syslogd
sleep 2

mv /nsr/logs/messages /nsr/logs/messages.${DATE}
touch /nsr/logs/messages

startsrc -s syslogd

gzip /nsr/logs/messages.${DATE}
 
Hi,

1.run "fsck" on the filesystem where the log resides.
2.check errpt for filesystem,disk or application errors.
3.If application errors found - try to determine which process has caused them - possibly it's one of the Legato processes.FInd out by finding the "core" file on the system disk that belongs to the above "APPLICATION COMPLETED UNSUCCESSFULY" errors in errpt,and running the following :

lquerypv -h core 6b0 64
Look at line five of the output - may give you a clue why the log sticks.

4.Check access rights and security issues for the directory where the log resides.
"Long live king Moshiach !"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top