Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Reference Manual

## hadbm-start(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | EXAMPLES | EXIT STATUS | ERROR CODES | SEE ALSO

#### NAME

hadbm start– starts the database

#### SYNOPSIS

`hadbm start` [`––adminpassword=password` | `––adminpasswordfile=filename`] [`––agent=ma_url`] [dbname]

#### DESCRIPTION

Use the `hadbm start` command to start the database. Only the nodes that were running before the database was stopped will be started. If the database name is specified, it should be an existing database. If the database name is not specified, the default database is used. If one or more mirror node pairs have stopped simultaneously due to a power outage, machine reboot or some other disaster (i.e., the hadb instance is in a non-functional state), then the database instance cannot be started. In such a case, use the `hadbm clear` command to start the database and recreate the schema.

#### OPTIONS

`–w` `––adminpassword`

  The actual HADBM administration password.

`–W` `––adminpasswordfile`

  The file from which the passwords are read.

`–m` `––agent`

  Identifies the URL to the Management Agent. The default is localhost:1862.

#### OPERANDS

dbname

  The name of the database. The default database is hadb.

#### EXAMPLES

##### Example 1 Using start with a database identified

    hadbm start mydatabase
    Database successfully started

#### EXIT STATUS

0

  command executed successfully

1

  error in executing the command

#### ERROR CODES

22002

  specified database does not exist

22095

  database could not be started

22096

  database is already running

22097

  some nodes could not be started

22098

  database (hadb) could not be started. The stopstate cannot be determined. In case of uncontrolled stop of the database, use the `hadbm clear` command to start the database.

#### SEE ALSO

hadbm-addnodes(1), hadbm-clear(1), hadbm-delete(1), hadbm-list(1), hadbm-refragment(1), hadbm-restart(1), hadbm-status(1), hadbm-stop(1)

J2EE SDK 1.4 Last Revised 31 Jan 2005

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPERANDS | EXAMPLES | EXIT STATUS | ERROR CODES | SEE ALSO

- © 2010, Oracle Corporation and/or its affiliates