Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How do you remove an Oracle service?
Rauf Sarwar wrote:
>>> >>>HOWEVER, services are completely managed by SCM (Service Control >>>Manager). You can use SCM to install, remove, start, stop, pause etc a >>>service. Some services also have interdependency with other services. >> >>A rarely used option, though. Much to my dislike. Why not start the >>underlying instance when portals HTTP server is started?
I meant the interdependency.
>>>Just by hacking registry (as you mentioned) to remove a service is >>>definitely asking for trouble. Windows API advapi32.dll has functions >>>to interact with services in SCM... In particular DeleteService() >> >>So, you suggest I write a program? That should be part of the bundle! >>And it should be documented, too.
>>>function is used to mark a service for deletion from the SCM database. >>>There are NT resource kit tools like srvinstw.exe which use this >>>Windows API and can be safely used to remove a service. Going by your >> >>I have to buy extra options from the competition, then?
But ought to be bought. There's a licence fee to be paid (at least, that
used to be the case when I used it. Maybe it's for free now.)
>
>>>logic, why use oradim to even install an Oracle SID service, why not >>>just regedit and create a new key in >>>HKLM\System\CurrentControlSet\Services? >> >>Because it's more efficient to use oradim. ;-)
Come on! First you tell me I might just as well create services by hand, then to go and use SCM (there's no SCM installed on my computer; tried Run-> scm); then there's a DeleteService() call in SCN (okay - so SCM is not a program, it's something with an API. I've to write a program that uses the API), and when I want to use oradim, it's not a matter of efficiency?!?
We're stuck in an argument for the sake of an argument. I'm not
happy with that, and will stop it by saying that everybody should
use the tools he/she is familiar with.
I will even admin there's a potential danger in using "tools"
(mind the quotes...) as regedt32 or regedit because it's very easy
to do something virtually irreversable.
Yes, the use of regedit/regedt32 can make your computer useless!
But so can any other tool that tampers with the heart of the O/S.
So, kids, don't try this at home! Use what you're familiar with. Make up your own mind.
And last but not least - have a happy Easter!
-- Regards, Frank van BortelReceived on Fri Apr 18 2003 - 14:43:26 CDT