Disinstallare DB2

Installazione, configurazione e uso di programmi e strumenti.
kaidan
Prode Principiante
Messaggi: 113
Iscrizione: lunedì 17 maggio 2010, 0:48

Disinstallare DB2

Messaggio da kaidan »

Ho provato a installre DB2 Express per scopi didattici su Ubuntu, ma trovo molta difficoltà  a farlo funzionare  e quindi ho deciso di disinstallarlo.
La cartella creata al momento dell'installazione è /opt/ che contiene DB2 che ora non riesco a disinstallare.
Ho provato a scrivete su terminale :

file:///opt/ibm/db2/V9.7/install/db2_deinstall -a

ma non funziona.
Per errore avevo installato una seconda volta DB2, ma in quel caso sono riuscito a disinstallare tutto usando quel comando prima specificato ( ma sull'altra su cui si era fatta l'installazione).

Spero che qualche anima pia mi aiuti perché sto occupando 11GB sul disco fisso inutilmente.
kaidan
Prode Principiante
Messaggi: 113
Iscrizione: lunedì 17 maggio 2010, 0:48

Re: Disinstallare DB2

Messaggio da kaidan »

Ecco cosa compare quando provo a disinstallare :

antonino@antonino-laptop:~$ sudo '/opt/ibm/db2/V9.7/install/db2_deinstall' -a
DBI1016I  Program db2_deinstall is performing uninstallation. Please
      wait.


The deinstallation process cannot continue while there are DB2 instances related to the current DB2 copy.
If you need to move up or down a level from this DB2 level, use the installFixPack command from the DB2 image for the level you desire to move to, which will update this copy.
If you are only trying to uninstall this DB2 copy, you must either drop the related instances first, or you can update the instances to another DB2 copy which is at the same version as this DB2 copy, then restart the db2_deinstall command.

A major error occurred during the execution that caused this program to
terminate prematurely. If the problem persists, contact your technical service
representative.

For more information see the DB2 uninstallation log at
"/tmp/db2_deinstall.log.6931".
antonino@antonino-laptop:~$
kaidan
Prode Principiante
Messaggi: 113
Iscrizione: lunedì 17 maggio 2010, 0:48

Re: Disinstallare DB2

Messaggio da kaidan »

Questa è la versione completa del log :


DB2 Setup log file started at:  Thu Nov  4 20:50:23 2010 CET
============================================================

Operating system information: Linux 2.6.32-25-generic.#45-Ubuntu SMP Sat Oct 16 19:52:42 UTC 2010 x86_64
                                       
Previously Installed Products:         
    DB2 Express-C                         
Selected Products:                     
    DB2 Express-C                         
                                       
Previously Installed Components:       
    Base client support                   
    Java support                         
    SQL procedures                       
    Base server support                   
    Communication support - TCP/IP       
    Control Center                       
    DB2 data source support               
    DB2 LDAP support                     
    DB2 Instance Setup wizard             
    Integrated Flash Copy Support         
    First Steps                           
    Sample database source               
Selected Components:                   
    Base client support                   
    Java support                         
    SQL procedures                       
    Base server support                   
    Communication support - TCP/IP       
    Control Center                       
    DB2 data source support               
    DB2 LDAP support                     
    DB2 Instance Setup wizard             
    Integrated Flash Copy Support         
    First Steps                           
    Sample database source               
                                       
Previously Installed Languages:       
    English                               
Selected Languages:                   
    English                               
                                       
Target directory:                          /opt/ibm/db2/V9.7
                                       
                                       
                                       

ERROR: The deinstallation process cannot continue while there are DB2 instances
related to the current DB2 copy. If you need to move up or down a level from
this DB2 level, use the installFixPack command from the DB2 image for the level
you desire to move to, which will update this copy. If you are only trying to
uninstall this DB2 copy, you must either drop the related instances first, or
you can update the instances to another DB2 copy which is at the same version
as this DB2 copy, then restart the db2_deinstall command.

Preparing the system :.......Failure

DB2 Uninstall log file finished at:  gio 04 nov 2010 20:50:26 CET CET
============================================================
kaidan
Prode Principiante
Messaggi: 113
Iscrizione: lunedì 17 maggio 2010, 0:48

Re: Disinstallare DB2

Messaggio da kaidan »

metodo un po' troppo ortodosso forse, ma ho preferito cancellare tutta la directory direttamente.
C'è un modo per pulire eventuali residui ?
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: MoonDragon e 27 ospiti