PRCR-1079 : Failed to start resource ora.oc4j
OR
CRS-2501: Resource 'ora.oc4j' is disabled
After the installer of 11gR2 Grid home when tried to check the status of the component, I found that two of them i.e. GSD and OC4J were not started. While gsd is mainly needed for the backward comptability with 10g its not mendatory to have it running with 11g DB. Hence by default it is disabled and one can enable it as and when needed.[oracle@appsractest bin]$ ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.DATA.dg ora....up.type ONLINE ONLINE appsractest
ora....ER.lsnr ora....er.type ONLINE ONLINE appsractest
ora....N1.lsnr ora....er.type ONLINE ONLINE appsractest
ora....SM1.asm application ONLINE ONLINE appsractest
ora....ST.lsnr application ONLINE ONLINE appsractest
ora....est.gsd application OFFLINE OFFLINE
ora....est.ons application ONLINE ONLINE appsractest
ora....est.vip ora....t1.type ONLINE ONLINE appsractest
ora.asm ora.asm.type ONLINE ONLINE appsractest
ora.eons ora.eons.type ONLINE ONLINE appsractest
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....network ora....rk.type ONLINE ONLINE appsractest
ora.oc4j ora.oc4j.type OFFLINE OFFLINE
ora.ons ora.ons.type ONLINE ONLINE appsractest
ora....ry.acfs ora....fs.type ONLINE ONLINE appsractest
ora.scan1.vip ora....ip.type ONLINE ONLINE appsractest
-- When tried to start it manually, it says...
[oracle@appsractest bin]$ ./srvctl start oc4j -v
OC4J could not be started
PRCR-1079 : Failed to start resource ora.oc4j
CRS-2501: Resource 'ora.oc4j' is disabled
-- So I tried to enable it and start it manually as follows
[oracle@appsractest bin]$ ./srvctl enable oc4j
[oracle@appsractest bin]$ ./srvctl start oc4j -v
OC4J has been started
-- After that I tried to fix the issue with GSD as follows
[oracle@appsractest bin]$ ./srvctl enable nodeapps -v
GSD is enabled successfully on node(s): appsractest
PRKO-2415 : VIP is already enabled on node(s): appsractest
PRKO-2416 : Network resource is already enabled.
PRKO-2417 : ONS is already enabled on node(s): appsractest
PRKO-2418 : eONS is already enabled on node(s): appsractest
[oracle@appsractest bin]$ ./srvctl start nodeapps
PRKO-2421 : Network resource is already started on node(s): appsractest
PRKO-2420 : VIP is already started on node(s): appsractest
PRKO-2422 : ONS is already started on node(s): appsractest
PRKO-2423 : eONS is already started on node(s): appsractest
[oracle@appsractest bin]$ ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.DATA.dg ora....up.type ONLINE ONLINE appsractest
ora....ER.lsnr ora....er.type ONLINE ONLINE appsractest
ora....N1.lsnr ora....er.type ONLINE ONLINE appsractest
ora....SM1.asm application ONLINE ONLINE appsractest
ora....ST.lsnr application ONLINE ONLINE appsractest
ora....est.gsd application ONLINE ONLINE appsractest
ora....est.ons application ONLINE ONLINE appsractest
ora....est.vip ora....t1.type ONLINE ONLINE appsractest
ora.asm ora.asm.type ONLINE ONLINE appsractest
ora.eons ora.eons.type ONLINE ONLINE appsractest
ora.gsd ora.gsd.type ONLINE ONLINE appsractest
ora....network ora....rk.type ONLINE ONLINE appsractest
ora.oc4j ora.oc4j.type ONLINE ONLINE appsractest
ora.ons ora.ons.type ONLINE ONLINE appsractest
ora....ry.acfs ora....fs.type ONLINE ONLINE appsractest
ora.scan1.vip ora....ip.type ONLINE ONLINE appsractest
As you can see now both of them are now started successfully and you can go ahead with remaining of your setup.
No comments:
Post a Comment