Problem

The following errors appear on BVR start up:

EE Entry Time: Fri Mar 12 13:02:06 2021 
Unable to open database file 
   sequence  = 2464073  csec      = 55      error_id  = 5010  
   asi_id    = 1       appl_id   = 53      error_no  = -4220 
   severity  = YELLOW  vpd_discr = VAE     module_id = GENVAE 
   assoc_cls = NONE    alarm_thr = 0       assoc_alm = 0     
   appl name = UDSERVER 

   parameter             type        parameter value
   --------------------  ----------  -------------------- 
   server                string      UDSERVER   
   func_id               decimal     0 
   sub_func              decimal     0 
   routine               string      ud_open_file() 
   file                  string      /usr/lpp/dirTalk/db/current_dir//upmb_dir/userdata_db 

EE Entry Time: Fri Mar 12 13:02:06 2021 
Close failed 
   sequence  = 2464074  csec      = 56      error_id  = 5018 
   asi_id    = 1       appl_id   = 53      error_no  = -4220 
   severity  = WHITE   vpd_discr = VAE     module_id = GENVAE 
   assoc_cls = NONE    alarm_thr = 0       assoc_alm = 0 
   appl name = UDSERVER 

   parameter             type        parameter value 
   --------------------  ----------  -------------------- 
   server                string      UDSERVER 
   func_id               decimal     0 
   sub_func              decimal     0 
   routine               string      ud_close_file() 
   file                  string      n/a


Cause

The file userdata_db is a dms data file.  This was introduced at the time when BVR used dms as it's database rather than Db2. It remains for compatability and so errors relating to it should not cause any problems in the BVR environment. The error is usually a result of the file becoming corrupt or being zero length.


Resolving the problem

In order to fix the problem and prevent the error from re-occurring, shutdown BVR and delete the userdata_db file from $CUR_DIR/upmb_dir:

rm $CUR_DIR/upmb_dir/userdata_db

The next time that BVR is restarted the file will be recreated and the errors should not appear.