1.4.8 Operation when an error occurs during installation

Organization of this subsection
(1) Error handling
(2) Checking whether HiRDB returned to pre-update status in the event of a failure during updating

(1) Error handling

If an error occurs during updating to the HiRDB update version, the pdprgrenew command returns automatically to the pre-update HiRDB and starts HiRDB operation. If this command outputs the KFPS04646-I message with return code 12 and then terminates, it means that the operation to return to the pre-update HiRDB failed. In such a case, refer to the preparation error that is output or to the error messages and KFPS04647-I message output to the syslogfile for guidance on what to do next.

Figure 1-6 shows how to handle errors during updating to the HiRDB update version.

Figure 1-6 Handling errors during updating to the HiRDB update version

[Figure]

  1. Correct whatever caused the error in the pdprgrenew command, and then re-execute the pdprgrenew command.
  2. If there are HiRDB processes, use the pdstop -f command to perform forced termination of HiRDB, and then execute the pdprgrenew -b command. If there are no HiRDB processes, execute the pdprgrenew -b command. When the pdprgrenew -b command is executed, recovery processing restarts the pre-update HiRDB.
    Error messages and abort codes relating to a HiRDB shutdown processing failure may also be displayed. Follow the message handling procedure, and check that HiRDB has returned to the pre-update environment.
  3. If there are HiRDB processes, use the pdstop -f command to perform forced termination of HiRDB, and then execute the pdprgrenew -b command. If there are no HiRDB processes, execute the pdprgrenew -b command. When the pdprgrenew -b command is executed, recovery processing returns to the directory for updating the HiRDB update version.
    Error messages and abort codes relating to a HiRDB startup processing failure may also be displayed. If after updating to the HiRDB update version there are problems with the operating environment, follow the procedure for the displayed message.

(2) Checking whether HiRDB returned to pre-update status in the event of a failure during updating

If updating to the HiRDB update version failed, you can check whether or not HiRDB returned to its pre-update status by checking the following items. If these conditions are satisfied, HiRDB returned to the pre-update status.