Home > linux, oracle > Error when creating oracle 11gR2 database with dbca: ORA-21561: OID generation failed

Error when creating oracle 11gR2 database with dbca: ORA-21561: OID generation failed

I’m creating a new Oracle 11g release 2 database on Red Hat Enterprise Linux Server release 6.1 using the Database Configuration Assistant (dbca).

When I’ve finished all the configuration steps, create a database with dbca and I get this error:


$ dbca

ORA-21561: OID generation failed

The error is in the /etc/hosts file, as this is a virtual machine generated from a template (we’re using VMWare) that we reuse to create new virtual database machines.

I’ve to assign the correct IP and now the database creation is successful.

About these ads
Categories: linux, oracle Tags:
  1. February 5, 2014 at 11:55

    Может это и очевидно, но для справки: hostname можно получить выполнением hostname и подправить в /etc/sysconfig/network.
    При смене имени домена, долго искал почему оракл бьет эту ошибку.

    • February 10, 2014 at 11:27

      Thanks @vbabin. I’ve had to translate it to read your post ;-D

      Regards

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 33 other followers

%d bloggers like this: