Score:0

Unable to connect sqlplus from Ubuntu server to Oracle windows machine

vc flag

I am trying to connect to sqlplus from Ubuntu server to Windows machine which I have Oracle 19c installed and working.

In Ubuntu, I have installed Oracle 19c instant client from this page on Oracle's website.

After following all the steps I am able to use sqlplus:

user@HOSTNAMEx:~$ sqlplus

SQL*Plus: Release 19.0.0.0.0 - Production on Thu Apr 6 12:33:14 2023
Version 19.18.0.0.0

Copyright (c) 1982, 2022, Oracle.  All rights reserved.

Now I tried connecting by below connection details from ubuntu machine to connect windows oracle machine, but it is not working:

user@HOSTNAMEx:~$ sqlplus "user/password@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=Windows IP)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))"

SQL*Plus: Release 19.0.0.0.0 - Production on Thu Apr 6 12:34:20 2023
Version 19.18.0.0.0

Copyright (c) 1982, 2022, Oracle.  All rights reserved.

ERROR:
**ORA-12541: TNS:no listener**

What is the next configuration I am missing? Please help and guide.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.