Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle8i 8.1.5 on NT
Here is my procedure: Doesn't answer your question, but
this doesn't change with release levels of oracle. Change
svrmgr23 to svrmgr30.
ORACLE ON NT, STANDARDS, STARTUP
Oracle Startup and Shutdown Procedure
DBSTART.CMD
rem ORACLE Startup Script
rem Start the listener service only if it has not been
started already
net start | find /I "OracleTNSListener" || net start OracleTNSListener
rem Start the ASID database with SQL*DBA(use Server Manager for 7.3)
set ORACLE_SID=ASID
net start |find /I "OracleServiceASID" || net start
OracleServiceASID
N:\orant\bin\svrmgr23 command=@N:\backup\dbstart.sql
pause
DBSTART.SQL spool N:\backup\dbstart%ORACLE_SID%.log connect sysop1/startup as sysoper;
DBSTOP.CMD
rem ORACLE Stop script
rem Stop the Listeners and Agent services
net stop OracleTNSListener
net stop OracleAgent
rem Stop the ASID Database with Svrmgr23, and then the
service
set ORACLE_SID=ASID
N:\orant\bin\svrmgr23 command=@N:\backup\dbstop.sql
net stop OracleServiceASID
pause
DBSTOP.SQL
spool N:\backup\dbstop%ORACLE_SID%.log
connect sysop1/startup as sysoper;
shutdown immediate
exit
Adjust the paths in the previous scripts
6. Use REGEDT32 to append or replace the Oracle start command.
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
\Current_Version\WinLogon\System
Add or Replace X:\backup\dbstart.cmd
Where: X is the drive letter
backup is the proper path
7. Services should have startup set to the following;
OracleAgent Automatic OracleServiceXXXX Manual OracleStart Disable OracleTNSListener Manual Where XXXX is the SID installed on the machine
8. Test startup by rebooting machine.
![]() |
![]() |