Page 1 of 1

How to clear RT_LOG****

Posted: Wed Nov 15, 2006 12:29 am
by nishant_prakash
HI All,

One of the lof files has reached a size of 2GB.. I am unable to clear it by the clear job log option in director.. The operation hangs and gives some error..

Can anyone tell me how to clear this log file? Is it safe to delete its content from Unix???

Regards

Posted: Wed Nov 15, 2006 1:38 am
by DS_SUPPORT
You can try "CLEAR.FILE RT_LOG****" from the administrator client

Posted: Wed Nov 15, 2006 1:40 am
by DeepakCorning
Search for RT_LOGnnn and you will get many posts regarding this. THe simplest way to do this will be to delete the job and then reimport it ...:)

Posted: Wed Nov 15, 2006 1:50 am
by loveojha2
I am unable to clear it by the clear job log option in director.. The operation hangs and gives some error..
What error it gives, can you please paste it over here.

Posted: Wed Nov 15, 2006 3:07 am
by kumar_s
The Director client might go in Waist state till it gets deleted. Else you can use CLEAR.FILE with directly the filename, as mentioned. But this will again remove the Auto purge option to not work.
Or create a Copyof current job and delete the old job, and rename the Copy of job to the old job name.

Re: How to clear RT_LOG****

Posted: Wed Nov 15, 2006 4:45 am
by ArndW
Using "CLEAR.FILE RT_LOGnnn" is not necessarily a good solution; since this will also remove the normal purge settings. Best is to set the purge settings to your desired value so that the log files don't grow to untenable sizes.
nishant_prakash wrote:...I am unable to clear it by the clear job log option in director.. The operation hangs and gives some error...
What error are you getting?

Posted: Wed Nov 15, 2006 9:08 am
by ray.wurlod
The "Clear" utility in Director is a DELETE transaction which does not delete the control records, followed by some UPDATE transactions that correct values in those control records. Director must wait until those transactions are completed.