Home » Server Options » RAC & Failsafe » ONS service Offline after Reboot (Oracle 10.2.0.3 RHEL 4,CW 2)
ONS service Offline after Reboot [message #407487] Wed, 10 June 2009 05:45 Go to next message
rsreddy28
Messages: 295
Registered: May 2007
Senior Member
Hi All,

One of our RAC server has been rebooted and all the databases and CRS services have come up automatically except the ONS service.

NAME=ora.usfldby2.ons
TYPE=application
TARGET=ONLINE
STATE=OFFLINE

Can somebody help me in giving me the syntax of only this service online and it has to be by which user .

Thanks,
Raj

Re: ONS service Offline after Reboot [message #407607 is a reply to message #407487] Wed, 10 June 2009 12:02 Go to previous messageGo to next message
babuknb
Messages: 1734
Registered: December 2005
Location: NJ
Senior Member

Try to stop & start CRS services.

Post your CRS log

Thanks

[Updated on: Wed, 10 June 2009 12:02]

Report message to a moderator

Re: ONS service Offline after Reboot [message #407618 is a reply to message #407487] Wed, 10 June 2009 13:38 Go to previous messageGo to next message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
As root, you could manually try to start the resource with:

crs_start ora.usfldby2.ons

Check $CRS_HOME/opmn/logs/ for error log files.
Re: ONS service Offline after Reboot [message #407619 is a reply to message #407618] Wed, 10 June 2009 14:10 Go to previous messageGo to next message
babuknb
Messages: 1734
Registered: December 2005
Location: NJ
Senior Member


Thanks ebrian

Re: ONS service Offline after Reboot [message #407704 is a reply to message #407619] Thu, 11 June 2009 03:18 Go to previous messageGo to next message
rsreddy28
Messages: 295
Registered: May 2007
Senior Member
Thanks ebrian and babu.

And why doesn't the ONS service start automatically after a server reboot when all the other services and nodeapps have started. In my env , we dont have the $CRS_HOME/crs/public/ons.cap file also .

Can you enlighten me on this .
Re: ONS service Offline after Reboot [message #407733 is a reply to message #407704] Thu, 11 June 2009 06:00 Go to previous messageGo to next message
kumarrajnishgupta
Messages: 43
Registered: October 2008
Location: noida
Member

Yes some times when all instance getting reboot it creates problem
fist stop all services like this.
/u01/app/crs/bin/crs_stop -all
/u01/app/crs/bin/crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.fokerac.db application OFFLINE OFFLINE
ora....c1.inst application OFFLINE OFFLINE
ora....c2.inst application OFFLINE OFFLINE
ora....serv.cs application OFFLINE OFFLINE
ora....ac1.srv application OFFLINE OFFLINE
ora....ac2.srv application OFFLINE OFFLINE
ora....SM1.asm application OFFLINE OFFLINE
ora....H4.lsnr application OFFLINE OFFLINE
ora....rh4.gsd application OFFLINE OFFLINE
ora....rh4.ons application OFFLINE OFFLINE
ora....rh4.vip application OFFLINE OFFLINE
ora....SM2.asm application OFFLINE OFFLINE
ora....H4.lsnr application OFFLINE OFFLINE
ora....rh4.gsd application OFFLINE OFFLINE
ora....rh4.ons application OFFLINE OFFLINE
ora....rh4.vip application OFFLINE OFFLINE

after that
/u01/app/crs/bin/crs_start -all
then check it should like this
/u01/app/crs/bin/crs_stat -t

Name Type Target State Host
------------------------------------------------------------
ora.fokerac.db application ONLINE ONLINE vmora01rh4
ora....c1.inst application ONLINE ONLINE vmora01rh4
ora....c2.inst application ONLINE ONLINE vmora02rh4
ora....serv.cs application ONLINE ONLINE vmora02rh4
ora....ac1.srv application ONLINE ONLINE vmora01rh4
ora....ac2.srv application ONLINE ONLINE vmora02rh4
ora....SM1.asm application ONLINE ONLINE vmora01rh4
ora....H4.lsnr application ONLINE ONLINE vmora01rh4
ora....rh4.gsd application ONLINE ONLINE vmora01rh4
ora....rh4.ons application ONLINE ONLINE vmora01rh4
ora....rh4.vip application ONLINE ONLINE vmora01rh4
ora....SM2.asm application ONLINE ONLINE vmora02rh4
ora....H4.lsnr application ONLINE ONLINE vmora02rh4
ora....rh4.gsd application ONLINE ONLINE vmora02rh4
ora....rh4.ons application ONLINE ONLINE vmora02rh4
ora....rh4.vip application ONLINE ONLINE vmora02rh4

if it does not solved kindly let me know
with regds
rajnish

[Updated on: Thu, 11 June 2009 06:03]

Report message to a moderator

Re: ONS service Offline after Reboot [message #407743 is a reply to message #407704] Thu, 11 June 2009 06:37 Go to previous messageGo to next message
ebrian
Messages: 2794
Registered: April 2006
Senior Member
We always had problems with ons and eventually just removed it all together.
Re: ONS service Offline after Reboot [message #407746 is a reply to message #407743] Thu, 11 June 2009 06:51 Go to previous messageGo to next message
kumarrajnishgupta
Messages: 43
Registered: October 2008
Location: noida
Member

Take a look at patch 5749953 for your ONS issue
Re: ONS service Offline after Reboot [message #407805 is a reply to message #407746] Thu, 11 June 2009 12:32 Go to previous messageGo to next message
babuknb
Messages: 1734
Registered: December 2005
Location: NJ
Senior Member

Quote:
And why doesn't the ONS service start automatically after a server reboot when all the other services and nodeapps have started. In my env , we dont have the $CRS_HOME/crs/public/ons.cap file also .


Quote:
Check $CRS_HOME/opmn/logs/ for error log files.


In case if you found any error; post the details.

Babu
Re: ONS service Offline after Reboot [message #407917 is a reply to message #407805] Fri, 12 June 2009 06:08 Go to previous message
rsreddy28
Messages: 295
Registered: May 2007
Senior Member
Thanks ebrian,babu and gupta . We did stop all and started all over and now it works . But what happens when we ignore and the ONS is offline until the next reboot.
Previous Topic: ORA-15028: error in ASM
Next Topic: clone one of rac nodes for development through RMAN
Goto Forum:
  


Current Time: Thu Nov 20 15:30:58 CST 2014

Total time taken to generate the page: 0.27058 seconds