请教一下,新安装Oracle, 不能访问问题, 安装 参考 《http://www.jianshu.com/p/36a78274a00e》进行的。
看这位博主也遇到了同样的问题,但不知道是否已经解决;
环境: centos7 + oracle 12c
命令操作显示如下:
[oracle@mes ~]$ lsnrctl status
LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 04-JAN-2017 04:28:41
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=mes.dfec.com)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 12.1.0.2.0 - Production
Start Date 04-JAN-2017 04:28:28
Uptime 0 days 0 hr. 0 min. 13 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /oracle/app/oracle/product/12.1.2/db_1/network/admin/listener.ora
Listener Log File /oracle/app/oracle/diag/tnslsnr/mes/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=mes.dfec.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
[oracle@mes ~]$ sqlplus / as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Wed Jan 4 04:28:57 2017
Copyright (c) 1982, 2014, Oracle. All rights reserved.
ERROR:
ORA-12547: TNS:lost contact
Enter user-name:
ERROR:
ORA-12547: TNS:lost contact
Enter user-name:
ERROR:
ORA-12547: TNS:lost contact
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
[oracle@mes ~]$