1832907 Members
3138 Online
110048 Solutions
New Discussion

log file not updated

 
SOLVED
Go to solution
Vishu
Trusted Contributor

log file not updated

hi,
my /var/adm/syslog/syslog.log file is not getting updated. i hv checked the space in /var. it is enough. plz provide me the reason for not updation and the solution.

Thnx
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor
Solution

Re: log file not updated

Hi Vishu:

Perhaps you copied the 'syslog' and failed to restart the daemon. Do this:

# /sbin/init.d/syslogd stop
# /sbin/init.d/syslogd start

This will create a 'OLDsyslog.log' from the current log and restart the daemon with a new, empty log.

Regards!

...JRF...
Geoff Wild
Honored Contributor

Re: log file not updated

Did you remove it/move it?

Try resatrting syslogd:

/sbin/init.d/syslogd stop

/sbin/init.d/syslogd start

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Vishu
Trusted Contributor

Re: log file not updated

thnx
restarting daemon has solved my problem.

vishu
Vishu
Trusted Contributor

Re: log file not updated

thnx