Operating System - HP-UX
1752770 Members
4759 Online
108789 Solutions
New Discussion

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 3
Dennis Handly
Acclaimed Contributor
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....
Dennis Handly
Acclaimed Contributor

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?