Oracle asm self-starting

Source: Internet
Author: User

Do not use the form of service, directly in/etc/rc. add a script for local: su-oracle-c "/home/oracle/product/10.2.0/db_1/bin/dbstart". Change ORACLE_HOME_LISTNER of dbstart to $ ORACLE_HOME.
Restart the system. The oracle instance is not started. Check the startup log and find that:
Oct 17 21:05:23 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:05:23 simpleit logger: ASM instance + ASM. Wait 1.
Oct 17 21:05:44 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:05:44 simpleit logger: ASM instance + ASM. Wait 2.
Oct 17 21:06:06 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:06:06 simpleit logger: ASM instance + ASM. Wait 3.
Oct 17 21:06:28 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:06:28 simpleit logger: ASM instance + ASM. Wait 4.
Oct 17 21:06:49 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:06:49 simpleit logger: ASM instance + ASM. Wait 5.
Oct 17 21:07:11 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:07:11 simpleit logger: ASM instance + ASM. Wait 6.
Oct 17 21:07:33 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:07:33 simpleit logger: ASM instance + ASM. Wait 7.
Oct 17 21:07:55 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:07:55 simpleit logger: ASM instance + ASM. Wait 8.
Oct 17 21:08:16 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:08:16 simpleit logger: ASM instance + ASM. Wait 9.
Oct 17 21:08:36 simpleit ntpd [2847]: synchronized to LOCAL (0), stratum 10
Oct 17 21:08:36 simpleit ntpd [2847]: kernel time sync enabled 0001
Oct 17 21:08:38 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:08:38 simpleit logger: ASM instance + ASM. Wait 10.
Oct 17 21:09:00 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:09:00 simpleit logger: ASM instance + ASM. Wait 11.
Oct 17 21:09:21 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:09:21 simpleit logger: ASM instance + ASM. Wait 12.
Oct 17 21:09:40 simpleit ntpd [2847]: synchronized to 218.75.4.130, stratum 2
Oct 17 21:09:43 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:09:43 simpleit logger: ASM instance + ASM. Wait 13.
Oct 17 21:10:05 simpleit logger: Waiting for Oracle CSS service to be available before starting
Oct 17 21:10:05 simpleit logger: ASM instance + ASM. Wait 14.
Oct 17 21:10:27 simpleit logger: Timed out waiting to start ASM instance + ASM
Oct 17 21:10:27 simpleit logger: CSS service is NOT available.
Oracle CSS service is unavailable. solution:
Edit/etc/inittab
Specifically, the respawn line for the init.css d process must fall between the wait for runlevel 2 and runlevel 3.
L2: 2: wait:/etc/rc. d/rc 2
H1: 35: respawn:/etc/init. d/init.css d run>/dev/null 2> & 1 </dev/null
L3: 3: wait:/etc/rc. d/rc 3

Restart the system. The asm and oracle instances have been started.

From: Laughing Column

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.