Home » RDBMS Server » Server Administration » Oradim is not creating OracleStartSid services
Oradim is not creating OracleStartSid services [message #121699] Tue, 31 May 2005 10:18 Go to next message
lupien1
Messages: 9
Registered: May 2005
Junior Member
Hi,

Here is my configuration:

Oracle server 8.1.7 on Windows server 2000.

I would like my instance to start automatically when the server is booting.

I use oradim to delete the OracleserviceSID and i use oradim again to create the two services (oracleservicesid and oraclestartsid) but only oracleservicesid is create.

To start the database, i need to use svrmgrl or «oradim -startup ...». those command line work fine, but i would like to automatically start my database at boot-up.

Is there someone who can help me.
Re: Oradim is not creating OracleStartSid services [message #121713 is a reply to message #121699] Tue, 31 May 2005 11:32 Go to previous messageGo to next message
smartin
Messages: 1803
Registered: March 2005
Location: Jacksonville, Florida
Senior Member
Don't know about 8.1.7 on windows, but in 10g, look at the options to the oradim command. One of them is startmode. Set it to auto.

Something like: oradim -edit -sid <sidname> -startmode auto

You can also specify startmode when creating the service.
Re: Oradim is not creating OracleStartSid services [message #121714 is a reply to message #121713] Tue, 31 May 2005 11:47 Go to previous messageGo to next message
lupien1
Messages: 9
Registered: May 2005
Junior Member
Hi, smartin

I tried what you tell me (-startmode AUTO) and it does not work.
Re: Oradim is not creating OracleStartSid services [message #121728 is a reply to message #121699] Tue, 31 May 2005 13:45 Go to previous messageGo to next message
smartin
Messages: 1803
Registered: March 2005
Location: Jacksonville, Florida
Senior Member
Also look at the -starttype option to oradim
Re: Oradim is not creating OracleStartSid services [message #121734 is a reply to message #121699] Tue, 31 May 2005 14:39 Go to previous messageGo to next message
lupien1
Messages: 9
Registered: May 2005
Junior Member
i'm not sure but i think -starttype is an option use only for oradim -startup.

Re: Oradim is not creating OracleStartSid services [message #121735 is a reply to message #121734] Tue, 31 May 2005 14:45 Go to previous messageGo to next message
girish.rohini
Messages: 744
Registered: April 2005
Location: Delhi (India)
Senior Member
Check in Services for win2k OS. There will be one Oracle service with name oracleservice<sid>. Make the startup mode "Automatic"

In Registry goto HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0

In ORA_<SID>_AUTOSTART make the entry TRUE.
Now everytime OS boots the servie will start and database too will get started.
Also configure the listener to start automatically.
Re: Oradim is not creating OracleStartSid services [message #121848 is a reply to message #121699] Wed, 01 June 2005 07:29 Go to previous messageGo to next message
lupien1
Messages: 9
Registered: May 2005
Junior Member
Hi Girish,

The OracleService<SID> is start automatically and work perfectly, the ORA_<SID>_AUTOSTART was already to TRUE. My problem is that the OracleStart<SID> is not create when oradim is use with the -new option.

Can someone take a look in the registry (HKEY_LOCAL_MACHINE\system\currentcontrolset\services\oraclestart<SID> and print the content on his reply. Maybe i can use the backdoor to create the service. Also information about oraclestart<SID> in other place in the registry will be appreciate.

thank you and please excuse my english!!!
Re: Oradim is not creating OracleStartSid services [message #121851 is a reply to message #121848] Wed, 01 June 2005 07:58 Go to previous messageGo to next message
girish.rohini
Messages: 744
Registered: April 2005
Location: Delhi (India)
Senior Member
Pls find the registry file as attached.
Import this file and then check for the entries.
SID is OEMREP in this case
Re: Oradim is not creating OracleStartSid services [message #121853 is a reply to message #121699] Wed, 01 June 2005 08:17 Go to previous messageGo to next message
lupien1
Messages: 9
Registered: May 2005
Junior Member
Hi girish,

I compare your OEMREP instance with my instance and they are both the same. What about your OracleStartOEMREP???
Re: Oradim is not creating OracleStartSid services [message #121873 is a reply to message #121853] Wed, 01 June 2005 09:53 Go to previous messageGo to next message
girish.rohini
Messages: 744
Registered: April 2005
Location: Delhi (India)
Senior Member
Sorry not found in my systems registry.
Re: Oradim is not creating OracleStartSid services [message #122059 is a reply to message #121699] Thu, 02 June 2005 10:46 Go to previous messageGo to next message
lupien1
Messages: 9
Registered: May 2005
Junior Member
Hi girish,

I found what was my problem. First OracleStartSid does not exist anymore (our previous oracle version was 7.3.4 on NT4). By modifying SQLNET.AUTHENTICATION_SERVICES=(NTS) to SQLNET.AUTHENTICATION_SERVICES=(NONE) in my sqlnet.ora everything is now OK. My database is now starting at boot-up.

I want to thank you for the time you took to help me.

Have a good day!
Re: Oradim is not creating OracleStartSid services [message #125421 is a reply to message #122059] Fri, 24 June 2005 18:58 Go to previous message
bodger
Messages: 3
Registered: June 2005
Junior Member
Pleased to see you found a solution, but one reason the instance will not start when the OracleService<sid> starts is because the registry value ORA_<sid>_AUTOSTART is not set to TRUE. If it is not TRUE the OracleService will start but the database instance will not and will have to be started separately e.g. with oradim

I am running 8.1.7 on XP Pro with SQLNET.AUTHENTICATION_SERVICES=(NTS) and if ORA_<sid>_AUTOSTART = FALSE then the instance doesn't start when I manually start the service (from Control Panel->Administrative Tools->Services), but it does if ORA_<sid>_AUTOSTART = TRUE
Previous Topic: problems with Change data capture
Next Topic: problem starting oracle 8i and logging
Goto Forum:
  


Current Time: Fri Sep 27 00:20:22 CDT 2024