This post is more than 5 years old

23 Posts

927

March 7th, 2007 14:00

Clearing or Restarting the Daemon.log

How can I restart, clear, or start over with the Daemon.log? I'd like to clear out some old junk and start fresh.

Thanks,

ppage

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

March 7th, 2007 14:00

Restart NetWorker server and that should roll over the log if bigger than 4MB I believe (or 2?). Or simply stop NW and move current log to something else and after starting NW it will create new log.

23 Posts

March 8th, 2007 15:00

Thank-You!

I had to stop the 5 services. Then I had to manually End quite a few nsr processes and then it finally let me have my way with the daemon.log.

163 Posts

March 9th, 2007 11:00

If you want to rotate daemon.log without restarting Networker daemons you can do the following under Unix OSes:

# cp daemon.log daemon.log.old
# > daemon.log

the hash-sign (#) is meant to be the console signature and should not be typed ;)
No Events found!

Top