FAQ-how to do deal with the alarm database disk image is malformed from datastation

Publication Date:  2015-02-02 Views:  256 Downloads:  0
Issue Description

customer find a error:database disk image is malformed ,from datastion ,and don't know how to do with it ,he could sure that the database is ok .

 

<queueinfo->mssql(main).0> Clearing all the file status failed. Error information: database disk image is malformed
<queueinfo->mssql(main).0> Clearing all the file status failed. Error information: database disk image is malformed
<queueinfo->mssql(main).0> Saving all the file status failed. Error information: library routine called out of sequence
<agentstat->mssql(main).0> Saving all the file status failed. Error information: library routine called out of sequence
<queueinfo->mssql(main).0> Clearing all the file status failed. Error information: database disk image is malformedUn

Solution
solution:
1、 stop  datastation;
2、 backup the file dstmem.db ,which is in folder bin
3、 replace the file dstmem.db with the original one .
4、 modify the value of below parameter in file DSParameters.txt:
A、
log_task_history_to_memory_db = yes

B、
log_cycle     = yes

5、 start datastation .

END