Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Database Creation Assistant (DBCA) fails with TNS Error Ora-12560

user5381562Mar 1 2016 — edited Mar 2 2016

Hello,

I need to install Oracle 12c Enterprise Edition on my new machine running Windows 10 (64 bit).

I selected the install process which includes the creation of the database.

I followed the the install guide.

I have installed loopback adapter beforehand. The IP address for this has been set to 10.10.10.10. Hostname with this static IP was added to hosts file.

I had the installer create a new local user for Oracle (oracle). The user and the groups seems to be all there as far as I can tell.

The listener service has been created and is running.

The database creation piece failed with ORA-12560: TNS protocol adapter error. I skipped this step and the software was installed successfully.

When I then try to run DBCA to create the database it always fails with the same error message (ORA-12560). I am using pretty much default setting. I did select Create As Container Database and I am defining a Pluggable Database Name. (I don't require multi-tenant setup though).

When the creation process starts the Oracle Service is installed and running. When the error message pops-up and I click "Ok" the services are deleted again.

I tried my best to find a resolution online, but had no success.

1.PNG

The installer used localhost instead of my computer name, but that should be ok?

# listener.ora Network Configuration File: e:\oracle\product\12.1.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = e:\oracle\product\12.1.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:e:\oracle\product\12.1.0\dbhome_1\bin\oraclr12.dll")
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)

# sqlnet.ora Network Configuration File: e:\oracle\product\12.1.0\dbhome_1\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.

# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.

SQLNET.AUTHENTICATION_SERVICES= (NTS)

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

# tnsnames.ora Network Configuration File: e:\oracle\product\12.1.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))

ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)

Any help would be much appreciated.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 30 2016
Added on Mar 1 2016
20 comments
3,796 views