启动ASM 实例 报错 先启动LISTENER 在启动 ASM

 

[oracle@node2 bin]$ ./crs_stat -t
Name           Type           Target    State     Host       
------------------------------------------------------------
ora....B1.inst application    ONLINE    ONLINE    node1      
ora....B2.inst application    ONLINE    OFFLINE              
ora.RACDB.db   application    ONLINE    ONLINE    node2      
ora....SM1.asm application    ONLINE    ONLINE    node1      
ora....E1.lsnr application    ONLINE    UNKNOWN   node1      
ora.node1.gsd  application    ONLINE    ONLINE    node1      
ora.node1.ons  application    ONLINE    ONLINE    node1      
ora.node1.vip  application    ONLINE    ONLINE    node1      
ora....SM2.asm application    ONLINE    UNKNOWN   node2      
ora....E2.lsnr application    ONLINE    UNKNOWN   node2      
ora.node2.gsd  application    ONLINE    ONLINE    node2      
ora.node2.ons  application    ONLINE    ONLINE    node2      
ora.node2.vip  application    ONLINE    ONLINE    node2      
[oracle@node2 bin]$ ./crs_stat
NAME=ora.RACDB.RACDB1.inst
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node1

NAME=ora.RACDB.RACDB2.inst
TYPE=application
TARGET=ONLINE
STATE=OFFLINE

NAME=ora.RACDB.db
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node2

NAME=ora.node1.ASM1.asm
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node1

NAME=ora.node1.LISTENER_NODE1.lsnr
TYPE=application
TARGET=ONLINE
STATE=UNKNOWN on node1

NAME=ora.node1.gsd
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node1

NAME=ora.node1.ons
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node1

NAME=ora.node1.vip
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node1

NAME=ora.node2.ASM2.asm
TYPE=application
TARGET=ONLINE
STATE=UNKNOWN on node2

NAME=ora.node2.LISTENER_NODE2.lsnr
TYPE=application
TARGET=ONLINE
STATE=UNKNOWN on node2

NAME=ora.node2.gsd
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node2

NAME=ora.node2.ons
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node2

NAME=ora.node2.vip
TYPE=application
TARGET=ONLINE
STATE=ONLINE on node2

[oracle@node2 bin]$ pwd
/opt/ora10g/product/10.2.0/crs_1/bin
[oracle@node2 bin]$ srvctl start ora.node2.ASM2.asm
/opt/ora10g/product/10.2.0/db_1/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
[oracle@node2 bin]$ ./crs_start ora.node2.ASM2.asm
CRS-1028: Dependency analysis failed because of:
'Resource in UNKNOWN state: ora.node2.ASM2.asm'

CRS-0223: Resource 'ora.node2.ASM2.asm' has placement error.

[oracle@node2 bin]$ ./crs_start ora.node1.LISTENER_NODE1.lsnr
CRS-1028: Dependency analysis failed because of:
'Resource in UNKNOWN state: ora.node1.LISTENER_NODE1.lsnr'

CRS-0223: Resource 'ora.node1.LISTENER_NODE1.lsnr' has placement error.

[oracle@node2 bin]$ ./crs_stop ora.node1.LISTENER_NODE1.lsnr
Attempting to stop `ora.node1.LISTENER_NODE1.lsnr` on member `node1`
Stop of `ora.node1.LISTENER_NODE1.lsnr` on member `node1` succeeded.
[oracle@node2 bin]$ ./crs_start ora.node1.LISTENER_NODE1.lsnr
Attempting to start `ora.node1.LISTENER_NODE1.lsnr` on member `node1`
Start of `ora.node1.LISTENER_NODE1.lsnr` on member `node1` succeeded.
[oracle@node2 bin]$ ./crs_stop ora.node2.ASM2.asm
Attempting to stop `ora.node2.ASM2.asm` on member `node2`
Stop of `ora.node2.ASM2.asm` on member `node2` succeeded.
CRS-1016: Resources depending on 'ora.node2.ASM2.asm' are running

CRS-0223: Resource 'ora.node2.ASM2.asm' has placement error.

[oracle@node2 bin]$ ./crs_stop ora.node2.LISTENER_NODE2.lsnr
Attempting to stop `ora.node2.LISTENER_NODE2.lsnr` on member `node2`
Stop of `ora.node2.LISTENER_NODE2.lsnr` on member `node2` succeeded.
[oracle@node2 bin]$ ./crs_start ora.node2.LISTENER_NODE2.lsnr
Attempting to start `ora.node2.LISTENER_NODE2.lsnr` on member `node2`
Start of `ora.node2.LISTENER_NODE2.lsnr` on member `node2` succeeded.
[oracle@node2 bin]$ ./crs_stop ora.node2.ASM2.asm
`ora.node2.ASM2.asm` is already OFFLINE.
CRS-0216: Could not stop resource 'ora.node2.ASM2.asm'.

[oracle@node2 bin]$ ./crs_start ora.node2.ASM2.asm
Attempting to start `ora.node2.ASM2.asm` on member `node2`
Start of `ora.node2.ASM2.asm` on member `node2` succeeded.

你可能感兴趣的:(启动ASM 实例 报错 先启动LISTENER 在启动 ASM)