Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Starting 9iAS using services only
Hi, Stefan,
This is a frequently asked question. The problem is that OID relies on iasdb and the midtier startup relies on OID. But iasdb could startup too late, due to e.g. earlier unclean shutdown. We need to delay OID startup. Metalink Note:158983.1 and Note:216269.1 suggest creating a separate service to achieve this goal. I think that's an overkill. Not many people are aware of the method Windows starts up services or runs programs in specified order on reboot (the way UNIX achieves this is well known). Try this to see if it works for you.
Unfortunately we're not taking advantage of Windows's capability of running scripts in order, because once iasdb service is started, it's hard to determine when it's fully ready. But feel free to write a script to login and select from dual to make sure it's ready, if you don't want to rely on sleep 60 in your start_oidsvc.bat.
To test, create a big transaction in iasdb. Kill the database process
in task manager (or shutdown abort from another session). Reboot and
check for "Beginning crash recovery of 1 threads" in alert.log. And
make sure these processes
oidservice.exe (3040)
**oidldapd.exe (2896)
****oidldapd.exe (892)
are seen in indented format (my tlist -t output; I added * because
Google groups-beta removes leading spaces).
Yong Huang Received on Thu Dec 09 2004 - 09:02:49 CST