-24939: ERR_LASTREG - cannot delete last registration of instance 

Explanation:

The last registration of a database instance cannot be deleted using the DBMServer statement.

User Action:

To delete the database instance, use the DBMServer statement db_drop. This statement deletes all of the database instance data including its configuration.