Oracle database under Linux plsql connect virtual machines fail

Oracle database under Linux plsql connect virtual machines fail

plsql connect virtual machines under Linux Oracle database failed
September 9, 2017 09:10:23 watch dfdfdf Reads: 187 Tags: oraclelinux More
Personal Category: Tools software
to edit
Copyright: This article is a blogger original article, please reprint specify the article link. https://blog.csdn.net/xiaoanzi123/article/details/77905673
Because it is the first installation of Oracle on Linux, many operations are the first to find the problem-solving process wasted a lot of time.
First, D: \ oracle64 \ oracle_jimulu \ product \ 11.2.0 \ dbhome_1 \ tnsnames.ora file under NETWORK \ ADMIN directory add a listener is configured correctly.

Problems encountered:
①ORACLE listener listener the Supports NO Services at The
②TNS-12541 TNS-12560 TNS-00511 Linux Error: 111
③ORA-01034: ORACLE not the Available ORA-27101

According to an abnormal experience, according to three articles were resolved in this record and gratitude.

http://blog.csdn.net/snowfoxmonitor/article/details/47705885
http://blog.csdn.net/reda0821/article/details/7821007
http://jingyan.baidu.com/article/5552ef47c73eef518ffbc908.html?qq-pf-to=pcqq.c2c


Combined with their own problem-solving process, linux judgment is not open port 1521, resulting in the database can not be connected.

View start and stop oracle Services
-> SQL / PLUS / nolog
-> conn AS sysdba
-> the Startup start oracle service
-> shutdown immediately / abort stop oracle service
-> quit

View monitor status start the listener
lsnrctl Status
lsnrctl Start

open port 1521 under Linux
Iptables the -I the INPUT -p tcp - dport 1521 -j ACCEPT
Iptables the -I the FORWARD-1521 - dport the p-tcp -j ACCEPT

Published 104 original articles · won praise 1 · views 30000 +

Guess you like

Origin blog.csdn.net/xiaoanzi123/article/details/104390474