Discussions
Categories
- 196.9K All Categories
- 2.2K Data
- 240 Big Data Appliance
- 1.9K Data Science
- 450.4K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 546 SQLcl
- 4K SQL Developer Data Modeler
- 187.1K SQL & PL/SQL
- 21.3K SQL Developer
- 295.9K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.6K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 443 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
Unable to connect to 19c DB through Sql developer

Hi Everyone,
I installed Oracle 19c Database after installing another one and I am able to connect through command line to db through sql plus.
However i am not able to connect through Sql developer tool. I am getting the error:
Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection (CONNECTION_ID=z/Q7O7w8TReTjDflkD0i5A==)
I saw the listener has not started yet. So after the checking the listener status i got the error message.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=GSPC)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 61: Unknown error
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
64-bit Windows Error: 2: No such file or directory
After trying to start the listener, i am getting the error
Failed to start listener service, error 2: The system cannot find the file specified.
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
I am unable to start the service via Windows services as well.
Could some one please help to resolve this connection issue.
Thanks
Gautam
Answers
-
Your question is off-topic for this forum, as it has nothing to do with SQL or PL/SQL. And while your error appears in SQL Dev (which has it's own forum), it appears that SQL Dev is incidental. Better asked in the general database forum.
If I were sitting at your desk to debug this, I'd first want to see your successful connection with sqlplus, just to confirm exactly where the database is in relation to the client, and exactly what method you are using to connect with sqlplus.
Next I'd want to see your connection properties in SQL Dev, and confirm you really are pointing to the same database.
Next, I'd check the listener on the database server. Since you seem to have difficulty starting the listener, I'd want to see the listener.ora file.
-
Are two database services running, or one? Seems like installing the second database on top of the first did not get installed properly. What is the output of
lsnrctl status