Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-24-2008, 09:09 AM
Christoph Kukulies
 
Posts: n/a
Default how to deinstall oracle cleanly?

I had a 9.0.1 on a win2003 server recently and today I tried to install
10.1.0 on that machine.

Somehow deinstallation of 9.0.1 which was oin that machine before
did not work smoothly. I tried to remove registry entries but
could not remove all for some reason.

During installation of 10g I was told that an instance (ORCL) was already
there and I should use another name. Anyway, to make it short, the 10g
installation failed. I have an empty pfile directory in admin\orcl\pfile
and would like to start over the 10g installation without
having to reinstall the whole OS.

Any clues how to totally get rid of any traces of Orcale and get a clean
environment to start a fresh installation?


--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-24-2008, 09:09 AM
Alan
 
Posts: n/a
Default Re: how to deinstall oracle cleanly?


"Christoph Kukulies" <kuku@accms33.physik.rwth-aachen.de> wrote in message
news:30hio9F2vr56aU1@uni-berlin.de...
> I had a 9.0.1 on a win2003 server recently and today I tried to install
> 10.1.0 on that machine.
>
> Somehow deinstallation of 9.0.1 which was oin that machine before
> did not work smoothly. I tried to remove registry entries but
> could not remove all for some reason.
>
> During installation of 10g I was told that an instance (ORCL) was already
> there and I should use another name. Anyway, to make it short, the 10g
> installation failed. I have an empty pfile directory in admin\orcl\pfile
> and would like to start over the 10g installation without
> having to reinstall the whole OS.
>
> Any clues how to totally get rid of any traces of Orcale and get a clean
> environment to start a fresh installation?
>
>
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de


Can't speak to the versions you have, but with 8i on Windows 2000, we have
found it much faster to rebuild the server (OS, etc.) from scratch than to
try to eliminate all traces of 8i.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-24-2008, 09:09 AM
Murray Sobol
 
Posts: n/a
Default Re: how to deinstall oracle cleanly?

Try these instructions, they are for Windows NT but should work on Windows
2000 & 2003...
Removing Components on Windows NT
To remove all Oracle components from a computer on Windows NT:


----------------------------------------------------------------------------
WARNING:
These instructions remove all Oracle components, services, and registry
entries from your computer. In addition, any database files under
ORACLE_BASE\ORADATA\DB_NAME are also removed. Exercise extreme care when
removing registry entries. Removing incorrect entries can break your system.


----------------------------------------------------------------------------


Ensure you are logged in as a user with Administrator privileges.

Stop all Oracle services (if any are running):

Choose Start > Settings > Control Panel > Services.

If any Oracle services (their names begin with Oracle) exist and have the
status Started, select the service and click Stop.

Click Close to exit the Services window.

Start the registry at the MS-DOS command prompt:

C:\> REGEDT32

Go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.

Delete the ORACLE key.

Delete any Oracle key under HKEY_LOCAL_MACHINE\SOFTWARE\ODBC.

Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es and remove all
keys under here that begin with ORACLE.

Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es
\EventLog\Application, and remove all keys under here that begin with
ORACLE.

Close the registry.

Go to Start > Control Panel > System > Environment tab.

Click on the system variable path and modify the Path variable.

If JRE was installed by Oracle, remove the %ORACLE_HOME%\BIN path and the
JRE path. For example, you may see a path similar to this one:

C:\ORACLE\ORA81\BIN;G:\PROGRAM FILES\ORACLE\JRE\1.1.7\BIN

Exit the Control Panel.

Go to SYSTEM_DRIVE:\WINNT\PROFILES\ALL USERS\START MENU\PROGRAMS.

Delete the following icons:

Oracle - HOME_NAME

Oracle Installation Products

where HOME_NAME is the previous Oracle home name.

Delete SYSTEM_DRIVE:\Program Files\Oracle.

Delete all ORACLE_BASE directories on your hard drive.

Reboot your computer.

Murray
"Alan" <alan@erols.com> wrote in message
news:30hnnaF3071ttU1@uni-berlin.de...
>
> "Christoph Kukulies" <kuku@accms33.physik.rwth-aachen.de> wrote in message
> news:30hio9F2vr56aU1@uni-berlin.de...
>> I had a 9.0.1 on a win2003 server recently and today I tried to install
>> 10.1.0 on that machine.
>>
>> Somehow deinstallation of 9.0.1 which was oin that machine before
>> did not work smoothly. I tried to remove registry entries but
>> could not remove all for some reason.
>>
>> During installation of 10g I was told that an instance (ORCL) was already
>> there and I should use another name. Anyway, to make it short, the 10g
>> installation failed. I have an empty pfile directory in admin\orcl\pfile
>> and would like to start over the 10g installation without
>> having to reinstall the whole OS.
>>
>> Any clues how to totally get rid of any traces of Orcale and get a clean
>> environment to start a fresh installation?
>>
>>
>> --
>> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

>
> Can't speak to the versions you have, but with 8i on Windows 2000, we have
> found it much faster to rebuild the server (OS, etc.) from scratch than to
> try to eliminate all traces of 8i.
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-24-2008, 09:09 AM
Jim Cheng
 
Posts: n/a
Default Re: how to deinstall oracle cleanly?

Try the following steps:
a.. Shutdown and drop the database using SQL * plus
$sqlplus /nolog
SQL>connect / as sysdba
SQL>shutdown immediate
SQL>exit

a.. remove following directories/files:
app/oracle_admin/$ORACLE_SID
oradata/$ORACLE_SID
$ORACLE_HOME/dbs/init$ORACLE_SID.ora
$ORACLE_HOME/dbs/lk$ORACLE_SID
$ORACLE_HOME/dbs/orapw$ORACLE_SIDGood Luck!Jim Cheng
"Christoph Kukulies" <kuku@accms33.physik.rwth-aachen.de> wrote in message
news:30hio9F2vr56aU1@uni-berlin.de...
>I had a 9.0.1 on a win2003 server recently and today I tried to install
> 10.1.0 on that machine.
>
> Somehow deinstallation of 9.0.1 which was oin that machine before
> did not work smoothly. I tried to remove registry entries but
> could not remove all for some reason.
>
> During installation of 10g I was told that an instance (ORCL) was already
> there and I should use another name. Anyway, to make it short, the 10g
> installation failed. I have an empty pfile directory in admin\orcl\pfile
> and would like to start over the 10g installation without
> having to reinstall the whole OS.
>
> Any clues how to totally get rid of any traces of Orcale and get a clean
> environment to start a fresh installation?
>
>
> --
> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-24-2008, 09:10 AM
Ed Stevens
 
Posts: n/a
Default Re: how to deinstall oracle cleanly?

Reply embedded ...

On Tue, 23 Nov 2004 16:50:36 -0800, "Jim Cheng"
<jinxcheng@hotmail.com> wrote:

>Try the following steps:
> a.. Shutdown and drop the database using SQL * plus
>$sqlplus /nolog
>SQL>connect / as sysdba
>SQL>shutdown immediate
>SQL>exit
>


Bzzt! That shuts down the db, but doesn't DROP it.

> a.. remove following directories/files:
>app/oracle_admin/$ORACLE_SID
>oradata/$ORACLE_SID
>$ORACLE_HOME/dbs/init$ORACLE_SID.ora
>$ORACLE_HOME/dbs/lk$ORACLE_SID
>$ORACLE_HOME/dbs/orapw$ORACLE_SIDGood Luck!Jim Cheng


Bzzt! That only removes some specific db related files, not Oracle
itself. And it removes them from a Unix system, not the Window system
the OP asked about. And it assumes whatever files were placed in a
directory 'app/oracle_admin ...' which is certainly not a given but
simply local standard.

There is a lengthy paper on MetaLink about how to wipe Oracle from a
Windows system (running de-install from the Oracle Universal Installer
doesn't even begin to get the job done). As others have pointed out,
it boils down to
1 - stop all Ora* services
2 - delete the registry key HKLM\software\oracle
3 - delete the Oracle registry keys from HKLM\software\odbc
4 - delete the Oracle registry keys from HKLM\Current Control
Set\services
5 - delete all Oracle directories from your hard drive. You may need
to stop the service Distributed Transaction Coordinator to release
locks on one of the dlls -- I belive it's CORE32.dll or something
similar.
6 - remove oracle references from you PATH.

This may still leave some obscure references deep in the guts of the
registry, but I've never found that to be a problem, and I have
followed the above procedure dozens of times.


>"Christoph Kukulies" <kuku@accms33.physik.rwth-aachen.de> wrote in message
>news:30hio9F2vr56aU1@uni-berlin.de...
>>I had a 9.0.1 on a win2003 server recently and today I tried to install
>> 10.1.0 on that machine.
>>
>> Somehow deinstallation of 9.0.1 which was oin that machine before
>> did not work smoothly. I tried to remove registry entries but
>> could not remove all for some reason.
>>
>> During installation of 10g I was told that an instance (ORCL) was already
>> there and I should use another name. Anyway, to make it short, the 10g
>> installation failed. I have an empty pfile directory in admin\orcl\pfile
>> and would like to start over the 10g installation without
>> having to reinstall the whole OS.
>>
>> Any clues how to totally get rid of any traces of Orcale and get a clean
>> environment to start a fresh installation?
>>
>>
>> --
>> Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-24-2008, 09:11 AM
Paul Drake
 
Posts: n/a
Default Re: how to deinstall oracle cleanly?

Christoph Kukulies <kuku@accms33.physik.rwth-aachen.de> wrote in message news:<30hio9F2vr56aU1@uni-berlin.de>...
> I had a 9.0.1 on a win2003 server recently and today I tried to install
> 10.1.0 on that machine.
>
> Somehow deinstallation of 9.0.1 which was oin that machine before
> did not work smoothly. I tried to remove registry entries but
> could not remove all for some reason.
>
> During installation of 10g I was told that an instance (ORCL) was already
> there and I should use another name. Anyway, to make it short, the 10g
> installation failed. I have an empty pfile directory in admin\orcl\pfile
> and would like to start over the 10g installation without
> having to reinstall the whole OS.
>
> Any clues how to totally get rid of any traces of Orcale and get a clean
> environment to start a fresh installation?


1. fdisk
2. clean install of w2k3 svr

had to do this last night when I botched an upgrade of the w2k HAL
from uni to multi processor. A bearded old guy appeared and said "you
have chosen poorly" and screams arose in the server room.

THAT is how you know that your backups work - when the entire storage
configuration was lost and the partitions on the RAID vols are no
longer there.

after that it was smooth sailing for the rest of the 8.1.7 to 9.2
upgrade.

-bdbafh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-24-2008, 09:27 AM
kuku@physik.rwth-aachen.de
 
Posts: n/a
Default Re: how to deinstall oracle cleanly?

Thanks for all the tips.
At present I have another woe:

I followed the instructions suggested but when I want to reinstall
(8.1.7 in this case on XP) I have one deinstallation pending (8.1.7
which I chose before on my fruitless attempt to deinstall using
the "de"installer) and the other products are not getting installed since the
installer "thinks" they are already installed.

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-24-2008, 09:38 AM
Patrick SenderaKurt Kuddy
 
Posts: n/a
Default Re: how to deinstall oracle cleanly?

On Mon, 06 Dec 2004 12:46:51 +0000, kuku wrote:

> Thanks for all the tips.
> At present I have another woe:
>
> I followed the instructions suggested but when I want to reinstall
> (8.1.7 in this case on XP) I have one deinstallation pending (8.1.7
> which I chose before on my fruitless attempt to deinstall using
> the "de"installer) and the other products are not getting installed since the
> installer "thinks" they are already installed.


http://www.oraclepower.com/?AID=SP&P...raclewin2k.htm

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-24-2008, 09:38 AM
Michel Cadot
 
Posts: n/a
Default Re: how to deinstall oracle cleanly?


"Patrick SenderaKurt Kuddy" <kurtkuddy@steeldragon.net> a écrit dans le message de
newsan.2004.12.12.20.50.45.140815@steeldragon.ne t...
> On Mon, 06 Dec 2004 12:46:51 +0000, kuku wrote:
>
> > Thanks for all the tips.
> > At present I have another woe:
> >
> > I followed the instructions suggested but when I want to reinstall
> > (8.1.7 in this case on XP) I have one deinstallation pending (8.1.7
> > which I chose before on my fruitless attempt to deinstall using
> > the "de"installer) and the other products are not getting installed since the
> > installer "thinks" they are already installed.

>
> http://www.oraclepower.com/?AID=SP&P...raclewin2k.htm
>


This page is a (illegal?) not up to date copy of note 124353.1 on Metalink.

Regards
Michel Cadot


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-24-2008, 09:39 AM
greatguangong@gmail.com
 
Posts: n/a
Default Re: how to deinstall oracle cleanly?

5 years of working with Oracle, mainly on Solaris and Linux, I've had
numerous issues with deinstalling orasw.
Keep your hair - reinstall the OS and reiterate

guangong

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:16 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601