In response to a message from: kafsat taiyus
 
First, the problem looks like data corruption, given the error messages shown.
 
Second, how to fix it:
 
- Make sure all the users are logged off.
 
- Go to the SB directory and run
 
    guide_51 DMCONT
 
    This will produce a guide_errors file that will show you the             errors and will allow the fixfile command to repair them:
 
- Run the fixfile command
 
    fixfile -dDummyfile -f
 
    where Dummyfile is a file name that is not used in your                     application - it will hold some output from the fixfile command     when finished.
 
- Run another guide_51 DMCONT, and check the guide_errors file
    to be sure that there are no errors this time.
 
-  Repeat fixfile and guide_51 if errors occur again.  Users can get on after  you stop seeing errors in the guide_errors file.
 
Third, what causes data structure errors?  There are a number of possible causes, including, but not limited to, system crashes, hardware and power problems, someone using a DOS or Windows or Unix text editor to change something in a UniData file without understanding the underlying file and record structure issues, a static file hitting the 2 gig limit, a file being restored from a damaged backup medium, etc.  Given that it is DMCONT, and not likely to be maintained by your application programs, I suspect that some of the other possible causes can be ruled out, like users updating the file without proper locking, one user doing a clear-file while someone else was updating the file. 
 
 Good luck getting the system back up for your users!

Hi,

 

No body can log in to SB+ error

 

                                                                               

Current UniData home is /usr/ud52/.                                            

Current working directory is /data1/rtime/SBPlus/SB.                           

2:blk check error in U_post_read for file 'DMCONT', key 'SB.ACCOUNTS', number=33

                                                                               

1:block check error in modify_record for file 'DMCONT', key 'SB.ACCOUNTS', numbe

r=34816                                                                        

1:block check error in U_append_strtuple for file 'DMCONT', key 'SB.ACCOUNTS', n

umber=33                                                                        

Fatal error: WRITE error     

 

 

Any idea why this is happening and how to fix it?

 

Regards

Kafsat

Reply via email to