-24939: ERR_LASTREG - cannot delete last registration of instance

Explanation:

The last registration of a database instance cannot be deleted using the DBM command.

User Action:

To delete the database instance, use the DBM command db_drop. When you delete a database instance, all of its data, including its configuration, is deleted.