由于主机静态ip与实际学不匹配,而导致的TNS-00512: Address already in use

在将Centos5.8的IP地址更改为动态IP后,遇到了Oracle数据库连接错误TNS-00512: Address already in use。这可能是由于IP变更导致的配置冲突。
摘要由CSDN通过智能技术生成

1.由于把Centos5.8的ip改为动态ip,所引起的一系列错误

今天在打开oracle遇到的错误如下:

oracle@oracle Desktop]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Wed Apr 30 21:15:36 2014

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

Connected to an idle instance.

SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DATA/orcl/spfileorcl.ora'
ORA-17503: ksfdopn:2 Failed to open file +DATA/orcl/spfileorcl.ora
ORA-15077: could not locate ASM instance serving a required diskgroup

2. 发现asm没有启动,尝试启动asm

[grid@oracle ~]$ sqlplus / as sysasm

SQL*Plus: Release 11.2.0.1.0 Production on Wed Apr 30 21:16:11 2014

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

Connected to an idle instance.

SQL> startup
ORA-00119: invalid specification for system parameter LOCAL_LISTENER
ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=oracle)(PORT=1521))'

3. 发现监听没有启动

[grid@oracle ~]$ lsnrctl start

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 30-APR-2014 21:16:21

Copyright (c) 19
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值