Duplicate Database server in oracle 11g Listner is started but when connecting sqlplus / as sysdba tnsprotocol error - oracle

Hi I want a to build Duplicate Database server in oracle 11g with rman duplicate feature I install software only not full database during installation.
Listner is started but when connecting sqlplus / as sysdba get this error ORA-12560: TNS:protocol adaptor error
OS is Windows Server 2012 R2

Related

Oracle XE 18c, on every connect attempt, Oracle listener OracleOraDB18Home1TNSListener stops, and I am unable to connect to any connection

For the purpose of learning, I have installed Oracle 18c XE v18.4.0.0 and Oracle SQL Developer v21.4.2. I have no previous experience with Oracle database.
Command LSNRCTL stat seems to show correct results:
LSNRCTL stat output
I am trying to connect to XEPDB1 Plugin database by using sqlplus command:
sqlplus system/oracle#192.168.1.102:1521/XEPDB1
(192.168.1.102 is my local IP)
but everytime I tried so, service OracleOraDB18Home1TNSListener (and listener also) stops.
Then I start it again manually and try again to connect to XEPDB1 but the same thing happen again.
Respond to connection command after few minutes is: ERROR: ORA-12537: TNS:connection closed.
Files listener.ora and tnsnames.ora are not modified after fresh installation of Oracle 18c XE.
Much appreciate if anybody can help me.

Don't have Oracle folder in HKEY_LOCAL_MACHINE\SOFTWARE

I'm installing Oracle 11g R2 and when I log in in SQL PLUS, It have error ORA-12560: TNS:protocol adapter error, and I think because I don't have Oracle folder in HKEY_LOCAL_MACHINE\SOFTWARE, how to create Oracle folder
If you are trying to connect to a database locally on the computer, ensure that you have set ORACLE_SID environment variable:
SET ORACLE_SID=ORCL
SQLPLUS user/password

How to restart an oracle 11g database in windows 10 machine

Accidently killed the oracle 11g process via task manager.
Sql plus login throws error
ERROR:
ORA-12560: TNS:protocol adapter error
Log in with SQLPlus as sys using this command:
sqlplus / as sysdba
then shutdown the database using this command:
SHUTDOWN IMMEDIATE;
then startup the instance, mount the database, and open the database with this command:
STARTUP;

ORA-12170: TNS:Connect timeout occurred on CentOS 7

I am configuring a server in CentOS 7 to connect to an Oracle database within the same network. IP ORACLE = 192.167.10.100 IP SERVER = 192.167.15.123
I have installed the Instant Client Package: Basic, SDK and SQL * Plus. Download link
Then set the environment variables:
ORACLE_HOME=/usr/lib/oracle/12.2/client64
PATH=$PATH:$ORACLE_HOME/bin
LD_LIBRARY_PATH=$ORACLE_HOME/lib
TNS_ADMIN=$ORACLE_HOME/network/admin
When entering with the SQL * Plus through the implicit connection string: With the format.
sqlplus username/password#host:port/sid
sqlplus testuser/orcltiger#192.167.10.100:1521/testdb
I get the error: ORA-12170: TNS: the connection timeout occurred
I have been able to connect with the same credentials from a Windows PC with Oracle SQL Developer but from CentOS I get an error:
Someone to help me find the solution, please.

Oracle 11g XE Issues while Installing the database

I have installed Oracle 11g XE successfully. I have applied the bash profile from the the oracle user (source ~/.bash_profile). It applied successfully. SQL*plus can also connect connected.
But whenever I type the command lsnrctl status, it shows no listener listening.
I am getting following ORA errors. I tried it every single solution from Google
ORA-12546: TNS: permission denied
TNS -12537: TNS connection closed
TNS -12560: TNS Adapter Error
TNS-00507: connection closed
Linux Error :29(Illegal Seek)
0RA- 27369 - Operation not Permitted

Resources