Oracle启动出现了ORA-00119,ORA-00130
Oracle启动出现了ORA-00119,ORA-00130
启动虚拟机的Oracle,执行startup,出现了下面故障码,
SQL> startup
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=orapy)(PORT=1521))'
SQL>
根据ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=orapy)(PORT=1521))' 初步判断是IP设置问题
查看主机ip
[root@orapy ~]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:0C:29:A7:7A:5D
inet addr:192.168.216.129 Bcast:192.168.216.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fea7:7a5d/64 Scope:Link
查看监听文件listener.ora
[oracle@orapy admin]$ cat listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.1/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.216.128)(PORT = 1521)) 发现配置文件的ip和主机ip不一致
)
修改好ip好,,启动oracle,问题还是出现
SQL> startup
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=orapy)(PORT=1521))'
SQL>
再查看一下linux的配置问题hosts,发现ip配置错误,
[root@orapy ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.216.128 st ------------修改为对应的ip和主机名(我这里是192.168.216.129 orapy)
[root@orapy ~]#
然后启动数据库,问题解决
SQL> startup
ORACLE instance started.
Total System Global Area 368263168 bytes
Fixed Size 1336596 bytes
Variable Size 272632556 bytes
Database Buffers 88080384 bytes
Redo Buffers 6213632 bytes
Database mounted.
Database opened.
SQL>
相关阅读:
SPFILE 错误导致数据库无法启动(ORA-01565)
ORA-01172、ORA-01151错误处理
ORA-00600 [2662]错误解决
ORA-01078 和 LRM-00109 报错解决方法
ORA-00471 处理方法笔记
ORA-00314,redolog 损坏,或丢失处理方法
ORA-00257 归档日志过大导致无法存储的解决办法
推荐阅读
-
oracle 11g配置 解决启动连接数据库出现的ora错误
-
Oracle数据库新装之后出现的监听程序无法正常启动和运行(Oracle-12514)问题
-
SpringBoot项目在启动时出现了Cannot determine embedded database driver class for database type NONE 错误
-
Oracle数据库新装之后出现的监听程序无法正常启动和运行(Oracle-12514)
-
安装oracle 11g时,报启动服务出现错误,找不到OracleMTSRecoveryService的解决方法
-
Oracle启动出现了ORA-00119,ORA-00130
-
mysql-Mysql做了主从配置之后,启动项目就出现异常了。提示Hibernate什么的,不知道这么回事
-
mysql-Mysql做了主从配置之后,启动项目就出现异常了。提示Hibernate什么的,不知道这么回事
-
Oracle启动时出现ORA-32004报错的解决方法
-
Oracle启动出现ORA-27125错误