System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

no entry after clearing the log files

 
SOLVED
Go to solution

no entry after clearing the log files

Hi all,

 

Before two days i just null the /var/adm/syslog/syslog.log as the log file became big. After that there is no entry coming in the log file in two days. what should i do now? because the system is the production system. the OS is hp-ux 11iv1.

 

please help me.

 

regards,

Arafat

3 REPLIES
Solution

Re: no entry after clearing the log files

I would suggest you always stop and start syslog before nulling out the old one:

/sbin/init.d/syslog stop
/sbin/init.d/syslog start

 

This should also restart logging.

Re: no entry after clearing the log files

if we do that now it will work....

Re: no entry after clearing the log files

>if we do that now it will work...

 

If that's a question, didn't I already answer that it would?