We help IT Professionals succeed at work.

/var/adm/messages is empty

a_prapoorna
a_prapoorna asked
on
Hi All,
    In a setup here, we have one of the solaris servers reporting the following problem . It says ''Urgent message file problem reported''.

/var/adm/messages is empty

What does this mean, how will this effect the server and how to fix this problem

This is urgent ..could anyone help me in this

Prapoorna
Comment
Watch Question

Commented:
Prapoorna,
    First thing is find out whether any cron job is running for clearing messages in /var/adm/messages. And check the /etc/syslog.conf file was modified by anybody.

*.err;kern.debug;daemon.notice;mail.crit        /var/adm/messages

Author

Commented:
/etc/syslog.conf shows the messages are being logged in /var/adm/messages. I am not sure if any cron job is running to clear off the messages. This is happening only on the week end.

Thanks for a very good clue.

Prapoorna

Author

Commented:
I checked if any cron job is running to clear off the messages, but /var/spool/cron/crontabs doesnot show me any such cron job. Is there any other way i can check for the cron job or is that it...

Prapoorna

Commented:
login as root and just give crontab -e root. It will show the root cron jobs. If not you have set the EDITOR=vi
export EDITOR

Commented:
Have you tried crontab -l while logged in as root?

Explore More ContentExplore courses, solutions, and other research materials related to this topic.