Pazar , 13 Temmuz 2014
Son Haberler
Anasayfa / MAKALELER / Veri Tabanı / Unix üzerinde çalışan Oracle 11g Nasıl Kaldırılır

Unix üzerinde çalışan Oracle 11g Nasıl Kaldırılır

Oracle 11G R2 de standalone Oracle veritabanı kurulumlarını , Oracle Clusterware ve ASM kurulu olan veritabanlarının yanı sıra Oracle Real Application Clusters (Oracle RAC) ve Oracle client kurulumlarını deinstall komutu aracılığı ile  kaldırabiliriz.

$ORACLE_HOME/deinstall dizini altında  deinstall aracını  bulabiliriz.

 

Eğer deinstall tool sunucumuzda yüklü değilse  aşağıdaki adresten  indirebiliriz.

 

http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112020-zlinux64-352074.html

 

-  İndirmek istediğimiz Deinstallation aracı sayfanın sonunda bulunmaktadır.

Kullanımı ise;

 

$ORACLE_HOME/deinstall/deinstall  şeklindedir.

 

Eğer Oracle 11G R1 kullanıyorsak  unix te runInstaller kullanarak uninstall ediyoruz.

Bu şekilde başarılı bi şekilde kaldıramadığımız zamani manuel olarak aşağıdaki şekilde kaldırabiliriz.

 

-bash-3.00$ crsctl stop resource -all

CRS-2500: Cannot stop resource ‘ora.diskmon’ as it is not running

CRS-2679: Attempting to clean ‘ora.LISTENER.lsnr’ on ‘test1′

CRS-2679: Attempting to clean ‘ora.DATA.dg’ on ‘test1′

CRS-2679: Attempting to clean ‘ora.asm’ on ‘test1′

CRS-2679: Attempting to clean ‘ora.test1.db’ on ‘test1′

CRS-2673: Attempting to stop ‘ora.cssd’ on ‘test1′

CRS-2677: Stop of ‘ora.cssd’ on ‘test1′ succeeded

CRS-2680: Clean of ‘ora.DATA.dg’ on ‘test1′ failed

CRS-5802: Unable to start the agent process

CRS-2680: Clean of ‘ora.LISTENER.lsnr’ on ‘test1′ failed

CRS-5802: Unable to start the agent process

CRS-2680: Clean of ‘ora.asm’ on ‘test1′ failed

CRS-5802: Unable to start the agent process

CRS-2680: Clean of ‘ora.test1.db’ on ‘test1′ failed

CRS-5802: Unable to start the agent process

CRS-4000: Command Stop failed, or completed with errors.

 

-bash-3.00$ crs_stat -t

Name           Type           Target    State     Host

————————————————————

ora.DATA.dg    ora….up.type OFFLINE   UNKNOWN   test1

ora….ER.lsnr ora….er.type OFFLINE   UNKNOWN   test1

ora.asm        ora.asm.type   OFFLINE   UNKNOWN   test1

ora.cssd       ora.cssd.type  OFFLINE   OFFLINE

ora.diskmon    ora….on.type OFFLINE   OFFLINE

ora.test1.db   ora….se.type OFFLINE   UNKNOWN   test1

 

[email protected] #

[email protected] # ps -ef | grep crs

root 10493  9173   0 08:37:04 syscon      0:00 grep crs

[email protected] # ps -ef | grep evm

root 10502  9173   0 08:37:41 syscon      0:00 grep evm

[email protected] # ps -ef | grep css

0000101 25147     1   0   Dec 03 ?         158:56 /u01/app/oracle/product/11.1.0/db_1/bin/ocssd.bin

0000101 25135     1   0   Dec 03 ?          24:12 /u01/app/oracle/product/11.1.0/db_1/bin/cssdagent

root 10504  9173   0 08:37:46 syscon      0:00 grep css

[email protected] # kill -9 25147

[email protected] # ps -ef | grep css

root 10506  9173   0 08:38:24 syscon      0:00 grep css

0000101 25135     1   0   Dec 03 ?          24:13 /u01/app/oracle/product/11.1.0/db_1/bin/cssdagent

[email protected] # ps -ef | grep css

root 10508  9173   0 08:38:37 syscon      0:00 grep css

[email protected] #

[email protected] # rm -Rf /var/opt/oracle/scls_scr

[email protected] # rm -Rf /var/opt/oracle/oprocd

[email protected] # rm -rf /var/opt/oracle

[email protected] # rm -rf /var/tmp/.oracle

[email protected] # rm -rf /etc/oracle/ocr.loc

[email protected] # rm -rf /etc/inittab.crs

[email protected] # rm -rf /tmp/.oracle

[email protected] #

[email protected] # dd if=/dev/zero of=/dev/rdsk/c3t5006016039A03F8Ed0s2 bs=512 count=1

1+0 records in

1+0 records out

[email protected] #

[email protected] # rm -R   /export/home/

[email protected] # rm -R /u01/

Hakkında Yunus Emre Kilinc

Mersin Üniversitesi Bilgisayar Mühendisliği bölümünü bitirdikten sonra Ankara'da yaşamaya başladım. Şu anda Fatih Üniversitesinde İşletme yüksek Lisansı(MBA) na devam etmekteyim. 2010 yılında Oracle DBA eğitimi aldım. OCA 11gR2 sertifikasına sahibim. 2009 yılından beri Türk Telekom A.Ş de xDSL teknolojileri alanında çalışmaktayım. Oracle veritabanı yönetimi konularında kendimi geliştirmeye çalışmaktayım. İlgilendiğim ve kullandığım teknolojiler : Oracle SQL , PL/SQL Oracle 11g , Oracle 10g , UNIX (Sun Solaris), UNIX (HP-UX) ,OSI Model , IP ,DSL ,Unix Shell Scripting

Cevapla

E-posta adresiniz yayınlanmayacak. Required fields are marked *

*


Şu HTML etiketlerini ve özelliklerini kullanabilirsiniz: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>