File /var/adm/messages cannot be read.
Hello Guys,
I am getting following messages from one of our Production Servers Unusual System Events =-=-=-=-=-=-=-=-=-=-= File /var/adm/messages cannot be read. Can you Help on this,that why i am getting this messages. |
Can you cat /var/adm/messages?
What are the ownership/permissions on /var/adm/messages? Where are you seeing "File /var/adm/messages cannot be read."? |
Quote:
Quote:
|
Quote:
|
thanks irtward,
i canot cat the file it has a message.z exstention,and i am getting this error through our mail from that particular server. |
Is /var a separate partition mount?
Code:
df -hT /var all at the same time? or at once? That is curious. Please let us know. JJ |
No its a particular production server
/dev/md/dsk/d1 2.0G 1.6G 389M 81% /var Mounted on var directory. |
Code:
cd /var/adm Your messages.z can be read with zcat, unless its actually messages.Z, in which case use the uncompress cmd. I'm guessing this is Solaris. The error msg implies the old messages files has been rotated and the new one one not created or its been deleted or it cannot be created due to a full partition. Can you run both du and df on that partition and post the results. It may be a deleted file that is still being held open by a process. Also run df -i to show the inodes usage. PS if this has indeed already been solved, please post the soln, otherwise ask the Mods to undo the 'SOLVED' flag. |
Moderator note: thread marked as unsolved, until the OP posts a solution (as requested). @prathamesh7478: as mentioned this thread is strictly related to the other one you started. Please, drive the discussion in only one place (here) to avoid confusion and to add information that can be useful to solve your issue(s). Thank you in advance.
|
/var/adm/ is normal on Solaris but /var/log/ is normal on Linux. Is this message coming from software developed for Solaris?
|
Hello Guys,thanks for your inputs.
The issue is resolved when we found out the messages file was compress by some one so its extension had change messages.z.So the process using it could not find it.I just created a normal file messages and the issue was solved the alerts stopped automatically. |
All times are GMT -5. The time now is 07:13 AM. |