ORA-00130: invalid listener address

一、环境描述
suse 11 企业版 SP3 ,Oracle 11gR2 单实例

二、问题
修改主机名后,数据库无法启动

三、问题处理

1、现象

mmpt-site:~ # su - oracle
[email protected]:~> sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 27 08:22:08 2018

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

Connected to an idle instance.

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

2、处理
修改主机名的同时,要修改IP与主机名对应关系。
mmpt-SRJ:~ # vi /etc/hosts
#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#

127.0.0.1       localhost

# special IPv6 addresses
::1             localhost ipv6-localhost ipv6-loopback

fe00::0         ipv6-localnet

ff00::0         ipv6-mcastprefix
ff02::1         ipv6-allnodes
ff02::2         ipv6-allrouters
ff02::3         ipv6-allhosts
#192.168.1.11    suse11.site suse11
192.168.1.11     mmpt-SRJ mmpt-SRJ
~
"/etc/hosts" 24L, 718C written
mmpt-SRJ:~ # su - oracle
[email protected]:~> sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Fri Apr 27 08:36:14 2018

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

Connected to an idle instance.

SQL>
SQL> startup
ORACLE instance started.

Total System Global Area  784998400 bytes
Fixed Size                  2217464 bytes
Variable Size             465570312 bytes
Database Buffers          314572800 bytes
Redo Buffers                2637824 bytes
Database mounted.
Database opened.
SQL>

原文地址:http://blog.51cto.com/roidba/2108386

时间: 2024-11-06 09:42:26

ORA-00130: invalid listener address的相关文章

一次ORA-00130: invalid listener address错误

登录数据库,提示: ora11g>sqlplus dcsopen/dcsopen1 SQL*Plus: Release 11.2.0.1.0 Production on Mon Jan 5 18:49:31 2015 Copyright (c) 1982, 2009, Oracle.  All rights reserved. ERROR: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist

go text/template html/template invalid memory address or nil pointer dereference

2017/08/14 20:06:10 http: panic serving 172.22.27.131:56324: runtime error: invalid memory address or nil pointer dereference goroutine 19 [running]: net/http.(*conn).serve.func1(0xc420171e00) /usr/local/go/src/net/http/server.go:1693 +0xd0 panic(0x7

live555 出现Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0 的解决方案。

网上的方案我没有使用.对于只有一个网卡的主机来说,它的ip只有一个.可用shell命令获取到这个ip. 官方的live555的live/groupsock/GroupsockHelper.cpp里面的函数ourIPAddress如下: 1 netAddressBits ourIPAddress(UsageEnvironment& env) { 2 static netAddressBits ourAddress = 0; 3 int sock = -1; 4 struct in_addr tes

golang panic: runtime error: invalid memory address or nil pointer dereference [

今天做消息队列持久化存储服务过程中,golang操作mysql 报错: panic: runtime error: invalid memory address or nil pointer dereference [ 经过反复查找,原来是变量定义问题 做个记录,以后再有问题可以做个参考,原始代码: var Db *sql.DB func init() {     Db, err := sql.Open("mysql", "root:[email protected]/tes

PRCT-1302 the OCR has an invalid ip address

PRCT-1302 the OCR has an invalid ip address 1. 报错信息 an internal error occurred within cluster verification framework unable to obtain network interface list from oracle clusterware PRCT-1302 the OCR has an invalid ip address format 11.2.0.3OracleRAC软

H3CS10510报Invalid MAC address处理

公司新购的H3CS10510交换机,配置微软NLB虚拟IP时报"Invalid MAC address".联系H3C官网,因为新款设备V7版本,开启了MAC检查功能,默认时开启的,关闭后即可以绑定.在系统视图下,先执行undo arp check enable后,再执行arp static进行绑定操作即可忽略检查,配置静态arp成功. 原文地址:https://blog.51cto.com/3267244/2419220

ORA-0019 invalid specification for system parameter LOCAL_LISTENER

SQL>startup ORA-00119:   invalid specification for system parameter LOCAL_LISTENER ORA-00130:   invalid listener address '(ADDRESS=(PROTOCOL=TCP) (HOST=bl660)(PORT=1521))' 数据库启动失败 解决办法: 在/etc/hosts里面加入主机名和IP即可

ORA-00119,ORA-00130 错误处理

环境说明:操作系统版本:redhat 6.5 数据库版本:oracle 12.1.0.2 原主机名 ora12c  现主机名 dg1 原IP地址:192.168.1.7  现IP地址:192.168.1.135 自己将主机名和IP地址修改后,启动数据库报如下错误 SQL> startup nomount;ORA-00119: invalid specification for system parameter LOCAL_LISTENERORA-00130: invalid listener a

linux下oracle启动问题

需要注意的 1.由root用户切换到su oracle 不能启动sqlplus 由root用户切换到su -oracle 可以启动sqlplus 由oracle用户直接登陆也可以启动sqlplus命令 2.通过sysdba 启动数据库的时候启动报错 ORA-00119: invalid specification for system parameter LOCAL_LISTENER     ORA-00130: invalid listener address '(ADDRESS=(PROTO