Page 1 of 1

CLEAR.FILE - complains file is read-only

Posted: Tue Mar 24, 2009 11:38 am
by sjordery
Hi All,

In one of our projects, attempting to open the log on one of the job sub-directories results in the Director hanging until 'Not Responding' appears at the top of the window. I'm guessing that the logs are too big..

I did a little research on here and came up with a way of getting the biggest logs for the project, and then using CLEAR.FILE in Administrator to clear them down.

However, logging on as dsadm and attempting this on one of the RT_LOGnnn files, I get an error that:

"CLEAR.FILE attempted on a read-only file"

And the command is then aborted.

Any ideas appreciated.

Cheers,
S

Posted: Tue Mar 24, 2009 11:42 am
by chulett
Who actually owns the RT_LOG hashed file and its components? Does it work if you log in as that user?

Posted: Tue Mar 24, 2009 3:33 pm
by sjordery
Hi Craig,

I'll try logging in as the owner and see what happens. Will report back...

Thanks,
S

Posted: Fri Mar 27, 2009 4:23 am
by sjordery
Logging in to Adminsitrator as the owner of the file and running the command worked.

Thanks Craig.