RIDVAN EKER Oracle

November 6, 2007

Failed to allocate port(s) in the specified range(s) for the following process(es)

Filed under: sysman — RIDVAN EKER @ 2:37 pm

Create database control give error

$emca -config dbcontrol db

oracle.sysman.emcp.exception.EMConfigException: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]

This error happen when your dns server or /etc/hosts show different ip address.

This error happen to me while creating database with dbca.

After error I only create db control with operating system. Database repository also created while creating database.

September 26, 2007

Start Enterprise manager after activating standby database

Filed under: Standby,sysman — RIDVAN EKER @ 5:23 pm

After activating standby database we don’t have enterprice manager.

Because we do not have files on operating system,

and also most important one is we have repository with old server data.

Our repository contain data about old server hostname and ports,

But our new server hostname is different,

So we have to recreate repository, drop sysman, wmsys ..

To drop users and recreate repository below command work

emca -repos recreate

emctl stop dbconsole

emctl start dbconsole

TO create operating system files below command

emca -config dbcontrol db

emctl stop dbconsole

emctl start dbconsole

Thats all,

Ridvan Eker,

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.