TNS:protocol adapter error and no oracle service present - oracle

I am trying to login into my Oracle database as sys user through sqlPlus but I keep getting ORA-12560: TNS:protocol adapter error. One of the reason of this error is that oracle service not running however when I check services there is no OracleService there, there are only following services related to oracle and they all are already running.
Oracle - OraDb11g_home1TNSListener , Oracle - OraDb11g_home1clrAgent and Oracle MTS Recover service
Please help resolving this issue.

Use the "Database Configuration Assistant" and create an Oracle instance. This looks like a Windows installation of Oracle, so the assistant should be %ORACLE_HOME%\bin\dbca.bat.

Related

Able to connect to Oracle 12c database using SQL*Plus, but not Oracle SQL Developer

I installed Oracle Database 12c on my Windows 10. I was able to connect to database using SQL*Plus. I created a user named USER1 in SQL*Plus and granted full access. I tried to connect to the database using SQL Developer but got an error that says, "Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection". How can I fix it?
None of similar old posts were helpful, so posting this question here.
More info:-
I named my database as kitab. I made sure that all oracle services are running:-
This is what it shows when I check the status of listener:-
This is the information from listener.ora:-
I changed SID to CLRExtProc and it gives me same error:-
What else can I do to troubleshoot it?
Did you try to:
run "Services"
I don't have Windows 10, but - on Windows 7, you can find it by
typing "services.msc" into "Start - Search Programs and Files", or
in "Administrative tools" within the "Control Panel"
check status of Oracle services
I presume not all of them are started up. If so,
start them up now, manually, and then try to establish connection with SQL Developer
change their startup mode to "automatic" so that they are started every time you power on the computer

Problems in installing Oracle 10g database

While installing Oracle 10g software, at the end i got the following error message.
And then when i run SQLPlus.exe I can not sign in using Scott/Tiger username/password. I get this error message
"ORA-12560: TNS:protocol adapter error"
Whats the issue?
Also, At the end of installation, i get this screen which says Database Control URL is .......... iSQLPlus url is ......
but when I copy/paste this url in the browser i get
Network Error (dns_unresolved_hostname)
Your requested host "imccit101.imcc.ae" could not be resolved by DNS.
For assistance, contact your network support team.
What are these url's for and how can I use them?
You can check whether you have the necessary services installed related to oracle. There should be service for the oracle instance and Tnslistner. If you have them try start them manually.

Error while connecting to Oracle database from oracle SQL Developer though I've the oracle client installed

I've installed Oracle client in my machine, when I'm trying to connect to the oracle database server from Oracle SQL Developer am getting the following error:
Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
But am able to connect to the server using sql plus and TOAD as well from my machine. What is the issue if Toad connects to the server why cant my Oracle sql developer could not connect??
checked all the possible solutions like:
tns strings checking, telnet to the server and its port,
changing the oracle home in the sqldeveloper->tools->preferences->database->advanced tab.
None solved my issue. Is this the firewall issue?
If it is so how am able to connect using TOAD/sql plus ??
UPDATE: I'm connecting to the Oracle database server using the VPN.
Any help is much appreciated.
Thanks in advance.

ora 12560 tns protocol adapter error- while connecting to oracle

I have oracle 9i already installed in my machine. I am trying to connect to the oracle but while connection i am getting "ora 12560 tns protocol adapter error" type of error. i have tried it with the default pass scott/tiger , system/manager..
When i tried to connect to the oracle using default credentials i am getting the above error.
is it the problem with the username and password ? if so how can i get the username and password which is already set ?
IME, ORA-12560 means the Oracle Universal Installer messed up your listener configuration.
Assuming you have an Oracle 9i Server installed on your computer, here's a list of things to check.
does "lsnrctl status" show your database instance?
does "tnsping my_service_name" work?
do tnsnames.ora and listener.ora contain entries for your database? Are the hostname / port etc. correct?
If the configuration is wrong, your best bet is to start netca, remove your existing listener configuration and re-configure it.
One question, though: Why do you want to run Oracle 9i? Do you have to support some kind of legacy application / database? (Oracle 11gR2 is so much nicer than 9i)
Start -> Run -> services.msc
Select the oracle service name and right click on it then select start.

Cannot create connection in Oracle SQL Developer

I am a new user in Oracle. In Oracle SQL Developer, whenever I want to create a new connection and fill the "New Database Connection" form, it gives me this error: -
ORA-12560: TNS:protocol adapter error
Please Help.
To add more to my comment on the question...
Ensure your database is open (has been started up).
Start all oracle services for your database
Start the databases listener (lsnrctl start)
Startup your database instance (startup open <database_name>)
Also, ensure the database you are trying to connect to has an entry in the tnsnames.ora file your SQL Developer is using (depending upon your setup you may have a tnsnames.ora for both your oracle client and database software if they are on the same physical hardware like your PC or laptop).
I've faced that kinda problem also and I've tried stop all of oracle services and start it again. But unsuccessful. Eventually, I've needed to install Oracle again which can solve this problem.

Resources