terminating the instance due to error 119

RAC安装过程一切正常,关机重启后,GI启动正常,实例没起来。

[[email protected] network-scripts]# crsctl stat res -t

--------------------------------------------------------------------------------

NAME           TARGET  STATE        SERVER                   STATE_DETAILS

--------------------------------------------------------------------------------

Local Resources

--------------------------------------------------------------------------------

ora.DATA.dg

ONLINE  ONLINE       rac1

ONLINE  ONLINE       rac2

ora.FRA.dg

ONLINE  ONLINE       rac1

ONLINE  ONLINE       rac2

ora.LISTENER.lsnr

ONLINE  ONLINE       rac1

ONLINE  ONLINE       rac2

ora.OCR.dg

ONLINE  ONLINE       rac1

ONLINE  ONLINE       rac2

ora.asm

ONLINE  ONLINE       rac1                     Started

ONLINE  ONLINE       rac2                     Started

ora.gsd

OFFLINE OFFLINE      rac1

OFFLINE OFFLINE      rac2

ora.net1.network

ONLINE  ONLINE       rac1

ONLINE  ONLINE       rac2

ora.ons

ONLINE  ONLINE       rac1

ONLINE  ONLINE       rac2

--------------------------------------------------------------------------------

Cluster Resources

--------------------------------------------------------------------------------

ora.LISTENER_SCAN1.lsnr

1        ONLINE  ONLINE       rac1

ora.LISTENER_SCAN2.lsnr

1        ONLINE  ONLINE       rac2

ora.LISTENER_SCAN3.lsnr

1        ONLINE  ONLINE       rac2

ora.cvu

1        ONLINE  ONLINE       rac2

ora.oc4j

1        ONLINE  ONLINE       rac2

ora.rac.db

1        ONLINE  OFFLINE                               Instance Shutdown

2        ONLINE  OFFLINE                               Instance Shutdown

ora.rac1.vip

1        ONLINE  ONLINE       rac1

ora.rac2.vip

1        ONLINE  ONLINE       rac2

ora.scan1.vip

1        ONLINE  ONLINE       rac1

ora.scan2.vip

1        ONLINE  ONLINE       rac2

ora.scan3.vip

1        ONLINE  ONLINE       rac2

马上查数据库日志,有如下发现

[[email protected] trace]$ tail -200f alert_RAC1.log

USER (ospid: 3610): terminating the instance due to error 119

Instance terminated by USER, pid = 3610

强行启动行不行呢?

[[email protected] ~]# srvctl start database -d RAC

PRCR-1079 : 无法启动资源 ora.rac.db

CRS-5017: The resource action "ora.rac.db start" encountered the following error:

ORA-00119: invalid specification for system parameter REMOTE_LISTENER

ORA-00132: syntax error or unresolved network name ‘rac-scan.us.oracle.com:1521‘

. For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/rac2/agent/crsd/oraagent_oracle/oraagent_oracle.log".

CRS-5017: The resource action "ora.rac.db start" encountered the following error:

ORA-00119: invalid specification for system parameter REMOTE_LISTENER

ORA-00132: syntax error or unresolved network name ‘rac-scan.us.oracle.com:1521‘

. For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/rac1/agent/crsd/oraagent_oracle/oraagent_oracle.log".

CRS-2674: Start of ‘ora.rac.db‘ on ‘rac2‘ failed

CRS-2674: Start of ‘ora.rac.db‘ on ‘rac1‘ failed

CRS-2632: There are no more servers to try to place resource ‘ora.rac.db‘ on that would satisfy its placement policy

注意到报错信息中提到ORA-00132: syntax error or unresolved network name ‘rac-scan.us.oracle.com:1521‘,是不是呢?

反正和网络有关先tnsping一下

[[email protected] ~]$ tnsping rac2

TNS Ping Utility for Linux: Version 11.2.0.4.0 - Production on 09-DEC-2015 00:56:12

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

Used parameter files:

/u01/app/11.2.0/grid/network/admin/sqlnet.ora

Used EZCONNECT adapter to resolve the alias

Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.56.12)(PORT=1521)))

OK (0 msec)

看来到监听是没问题的

不放心,再看一眼tnsnames.ora

[[email protected] ~]# cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

# tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

# Generated by Oracle configuration tools.

RAC =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = rac-scan.us.oracle.com)(PORT = 1521))

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = RAC)

)

)

[[email protected] ~]# ping rac-scan.us.oracle.com

ping: unknown host rac-scan.us.oracle.com

这就有问题了,我在DNS中配置的域名怎么会不可达呢?安装时一切功能都正常的呀!

[[email protected] ~]# nslookup rac-scan.us.oracle.com

Server: 192.168.1.1

Address: 192.168.1.1#53

** server can‘t find rac-scan.us.oracle.com: NXDOMAIN

更有问题了,DNS服务器怎么成192.168.1.1了呢?

依次对照所有的DNS配置文件,发现了一个异常的

[[email protected] ~]# cat /etc/resolv.conf

; generated by /sbin/dhclient-script

nameserver 192.168.1.1

nameserver 192.168.0.1

怎么回到了操作系统最初始的配置了呢?这就要提到另外一个配置文件

[[email protected] network-scripts]# cat ifcfg-eth0

DEVICE=eth0

TYPE=Ethernet

ONBOOT=yes

NM_CONTROLLED=yes

BOOTPROTO=dhcp

DEFROUTE=yes

PEERDNS=yes

PEERROUTES=yes

IPV4_FAILURE_FATAL=yes

IPV6INIT=no

NAME="System eth0"

USERCTL=no

注意到其中的PEERDNS=yes这一项了吗?

在5.0时代DNS服务器写在 /etc/resolv.conf 文件中,但到了6.0时代DNS可以写在/etc/resolv.conf但是此时需要在 /etc/sysconfig/network-scripts/ifcfg-eth0 文件中添加 PEERDNS=no 配置,不然每次重启网卡就会重写/etc/resolv.conf文件的内容。

http://blog.chinaunix.net/uid-26495963-id-3230810.html

时间: 2024-10-19 12:22:29

terminating the instance due to error 119的相关文章

微软云azure部署oracle报错:PMON (ospid: 7504): terminating the instance due to error 822

oracle11g启动报错,startup nomount失败,后台alert报错日志如下: [[email protected] dbs]$ more /oracle/app/oracle/diag/rdbms/pdunq/powerdes/trace/alert_powerdes.log Wed Feb 03 20:56:28 2016 Starting ORACLE instance (normal) .... dispatchers = "(PROTOCOL=TCP) (SERVICE=

oracle 数据库无法启动,报错 terminating the instance due to error 16014

前言: 早晨上班,开发告知数据库连接不上,说是报内存溢出,查看内存空余空间确实不足,遂将高内存进程结束,但结束后还是连接不上,重启数据库,悲剧发生了,数据库居然启不来了,因前一天改了下dastart文件,已为是文件改动的问题,但使用sqlpuls /as nolog登陆后 conn /as sysdba连接数据再startup也是启不来. 之前没有接触过oracle数据库,想先找找错误日志吧,看看有没有报错,结果一顿找,也没找到错误日志在哪,不过后来找到一个启动日志/oracle/app/ora

解决terminating the instance due to error 481导致ASM无法启动故障

1.现象描述 一个RAC数据库,意外DOWN机后,第一个节点正常启动,但是第二个节点却无法启动ASM和CRS资源. 2.分析原因 由于ASM磁盘组无法启动,查看ASM日志发现如下信息: MMNL started with pid=21,OS id=14028 lmon registered with NM -instance number 2 (internal mem no 1) Tue Nov 18 14:48:50 2014 PMON (ospid:13986): terminating

PMON (ospid: 2853): terminating the instance due to error 471

今早发现oracle数据库宕库 ,重新启动数据库正常,之后查询alter日志发现在 23点出现 PMON (ospid: 2853): terminating the instance due to error 471 导致数据库停止 日志截图 alter log日志 Wed Mar 08 23:36:02 2017System state dump requested by (instance=1, osid=2853 (PMON)), summary=[abnormal instance t

ADG terminated by LGWR, terminating the instance

11.2.0.4 RAC TO RAC FOR ADG环境.由于历史原因,备库节点二一直没有启动,一直是启动节点一对外提供服务.节点一alert报错,lgwr进行kill实例操作并自行重启.Mon Dec 24 16:11:24 2018Archived Log entry 262740 added for thread 2 sequence 185858 ID 0x92570693 dest 1:Mon Dec 24 16:12:28 2018Exception [type: SIGSEGV,

Could not allocate CursorWindow size due to error -12 错误解决方法

04-29 11:13:54.284 13584-13584/com.uniubi.smartfrontdesk E/art: Throwing OutOfMemoryError "pthread_create (1040KB stack) failed: Try again" 04-29 11:13:54.292 13584-13606/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 13606 (

The package failed to load due to error 0xC0011008

For some reason I tried to open the dtsx file in the Deployment folder in sql server 2012 which build in visual studio 2013. After all I had nothing to lose. That is when I got these errors; Error 1: Error loading CleanStagingTables.dtsx: The version

openstack instance resize Resize error: Unable to resize disk down

Resize error: Unable to resize disk down openstack instance resize 云主机的类型基本一致

主库报 Error 12154 received logging on to the standby PING[ARC2]

主备网络配置存在问题 一系列报错 [[email protected] bin]# ./srvctl  start database -d devdbPRCR-1079 : Failed to start resource ora.devdb.dbCRS-5017: The resource action "ora.devdb.db start" encountered the following error: ORA-00119: invalid specification for