Question : AIX DB2 error

I am getting the following error on DB2 which processing a query

OSERR : ETXTBSY (26) "Text file busy"

ETXTBSY is a file sharing violation at the system level, and it indicates that a process external to DB2 has the file already opened (and holds the lock for it) when DB2 tries to access it. How should I fix this..??????

Answer : AIX DB2 error

The file you are concerned with is a DB2 Transaction Log file.  The error indicates that the log file was in use at the time the db2loggr process was trying to write to it.  The only process on the server that should be accessing this file is the db2 instance id.  It seems that this file might have been accessed by an OS process (such as an OS backup)  

These DB2 LOG files are routinely archived and/or deleted depending on if DB2 is using LOGRETAIN or Circular Logging  - which is why you don't see the file any longer.
Random Solutions  
 
programming4us programming4us