Hitachi

Hitachi Advanced Database Setup and Operation Guide


3.12.1 I created the DB directory as a superuser by mistake

If you created the DB directory (/home/adbmanager/db) as a superuser instead of as the HADB administrator (adbmanager), delete the DB directory that was created.

To delete the DB directory:

  1. Log on as a superuser.

    If you are logged on as the HADB administrator (adbmanager), log off, and then log on again as a superuser.

  2. Delete the DB directory.

    Enter the following operating system command and press Enter:

    rmdir /home/adbmanager/db

You have now deleted the DB directory. Now log on as the HADB administrator (adbmanager) and create a new DB directory.

If you cannot delete the DB directory using the rmdir command, enter the following operating system command and press Enter:

rm -rf /home/adbmanager/db