sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

User Commands | 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 administation password.

> W adminpasswordfile

>   The file from which the HADBM administration password is 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 | Go To Top | Last Changed 22 Dec 2004

Company Info | Contact | Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.