local_listener

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/EVISWANG/article/details/81474356

数据库监听无法创建总是报错这个端口已被占用,服务名已被占用
hosts文件ip地址错误

sqlplus / as sysdba 查看数据库实例没问题
通过监听连接不正常

[oracle@centos02 admin]$ sqlplus scott/tiger@evistest

SQL*Plus: Release 11.2.0.4.0 Production on Mon Aug 6 21:34:01 2018

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

ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0


Enter user-name: 
ERROR:
ORA-01017: invalid username/password; logon denied


Enter user-name: 
ERROR:
ORA-01017: invalid username/password; logon denied


SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
[oracle@centos02 admin]$ 
下面参数注册错误

SQL> show parameter local_listener

NAME                     TYPE     VALUE
------------------------------------ ----------- ------------------------------
local_listener                 string      (ADDRESS=(PROTOCOL=TCP)(HOST=
                         192.168.56.104)(PORT=1521))
SQL> 

alter system set local_listener='(ADDRESS =(PROTOCOL=TCP)(HOST=192.168.56.102)(PORT=1521)(SID=evistest))';

猜你喜欢

转载自blog.csdn.net/EVISWANG/article/details/81474356
今日推荐