Im fairly new to RAC environments and Im going through one of my first installations. I have installed CRS and the Oracle Database software successfully.
I have configured my listener.ora file and am trying to start it with the following command:
srvctl start nodeapps -n <<node name>>
and am getting the following error message:
CRS-0210: Could not find resource ora.<<node name>>.LISTENER_<<NODE NAME>>.lsnr.
Is this because I havnt created a database yet? What is the .lsnr resource its complaining about?
I just want to make sure I havnt missed a configuration step up to this point.
Any thoughts are appreciated.
That's normal - if you have not yet configured listeners (for example for ASM or the database on CFS) then CRS can't start them. Check crs_stat -t and you will see ONS, GSD and VIP for each node but no listeners.
Listeners can be created with netca (tell it it's a cluster installation) or will automatically be detected as "missing" when creating a database/asm instance.
The other thing to confirm is the version of 10g.
10gR1 listener is a nodeapp
"srvctl start nodeapps -n nodename" ( vip, gsd, ons, and listener)
10gR2 listener is independent from node applications.
"srvctl start listener -n nodename" (just the listener)
"srvctl start nodeapps -n nodename" (vip, gsd, ons)
As the other poster has mentioned..
If the database has not been created or the ASM instance has not been started on the node/cluster.. the listener will not get created. Listener is part of the nodeapps because by default you only have one LISTENER per node.
Sorry for me is not clear. RAC is installed and running, now using netca utility I've created listener. Netca run listener but using 'srvctl status nodeapps' I get listener down on both nodes.
[oracle@itsm-cldb1a ~]$ srvctl status nodeapps -n itsm-cldb1a
VIP is running on node: itsm-cldb1a
GSD is running on node: itsm-cldb1a
PRKO-2016 : Error in checking condition of listener on node: itsm-cldb1a
ONS daemon is running on node: itsm-cldb1a
Instead with ps -ef I see listener running and also using:
[oracle@itsm-cldb1a ~]$ $CRS_HOME/bin/crs_stat -t
Name Type Target State Host
ora....1A.lsnr application OFFLINE OFFLINE
ora....b1a.gsd application ONLINE ONLINE itsm-cldb1a
ora....b1a.ons application ONLINE ONLINE itsm-cldb1a
ora....b1a.vip application ONLINE ONLINE itsm-cldb1a
ora....1C.lsnr application ONLINE ONLINE itsm-cldb1c
ora....b1c.gsd application ONLINE ONLINE itsm-cldb1c
ora....b1c.ons application ONLINE ONLINE itsm-cldb1c
ora....b1c.vip application ONLINE ONLINE itsm-cldb1c
Listener is running on second node (and it's right) and down on first node (right, was get down using srvctl stop nodeapps but same command is not able to start it):
[oracle@itsm-cldb1a ~]$ srvctl start listener -n itsm-cldb1a
CRS-0210: Could not find resource ora.itsm-cldb1a.LISTENER_ITSM-CLDB1A.lsnr.
Seems not to be normal... any hint?
This is a fresh install, DB is not already created.
Most likely this may not be the cause of the error, but anyways would like to give it a shot, can you please check to make sure if there is anything in your $OH/network/admin/listener.ora file?
I think it should work, in fact, when you attempt to create an ASM instance and if the dbca can't find any listeners, it willl prompt you asking if you like it to create listeners.