No server connection during a restore

During a whole system restore with ON-Bar, the error archive api error: no server connection might appear in the bar_act.log file. ON-Bar then connects to the storage manager successfully, but eventually fails with the error archive api error: not yet open. If you receive these message, you can take steps to solve the problem.

The bar_act.log file contains information similar to the following messages:
2000-03-09 10:51:06 19304  19303 /usr/informix/bin/onbar_d -r -w
2000-03-09 10:51:09 19304  19303 ERROR: Unable to start the physical restore:
Archive API error: no server connection.
2000-03-09 10:51:09 19304  19303 Successfully connected to Storage Manager.
2000-03-09 10:51:36 19304  19303 Process 19304 received signal 3. Process will
exit after cleanup.
2000-03-09 10:59:13 19811  19810 /usr/informix/bin/onbar_d -r -w
2000-03-09 10:59:16 19811  19810 ERROR: Unable to start the physical restore:
Archive API error: no server connection.
2000-03-09 10:59:16 19811  19810 Successfully connected to Storage Manager.
2000-03-09 11:01:12 19811  19810 Begin cold level 0 restore llog1.
2000-03-09 11:01:12 19811  19810 ERROR: Unable to write restore data to the
database server: Archive API error: not yet open.

To solve this problem, check if the database server is still running. If it is, shut down the database server and run the command again.