Difference between revisions of "Errorlog truncation"

From SybaseWiki
Jump to: navigation, search
 
(No difference)

Latest revision as of 22:50, 23 May 2007

In some cases you want to clear the errorlog of a server of old data and start with a fresh one, but without a reboot. Especially in Sybase IQ, the IQ message file can become *very* big. There is a simple method to do this (only on Linux/Unix). First copy the errorlog for archiving purposes and then create a new one like this:

cp <errorlog> <errorlog>_old
> <errorlog>

That's all!