【DB2】在AIX 上安裝DB2 遇到空間不足的錯誤

楊奇龍發表於2010-10-09

在AIX 上安裝DB2 時 ,一切步驟正常,直到檢查例項時,沒有建立例項。

安裝日誌裡報如下錯誤:

Sep 27, 2010 2:40:19 AM java.util.prefs.FileSystemPreferences$3 run
INFO: Created system preferences directory in java.home.
Exception in thread "AWT-EventQueue-0"
java.lang.ArrayIndexOutOfBoundsException: No such child: 0
 。。。。。。
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:197)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:191)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:183)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:144)


Starting DB2 Fault Monitor :.......Success
Updating the db2ls link :.......Success
Registering DB2 licenses :.......Success
Setting default global profile registry variables :.......Success
Creating the DB2 Administration Server :.......Success
Initializing instance list :.......Success
Command to be run: "cd /opt/IBM/db2/V9.5/;/opt/IBM/db2/V9.5/instance/db2icrt -a server -s ese -u db2fenc2 -p db2c_db2inst2 db2inst2".
ERROR: An error occurred while creating the instance "db2inst2". The return
code is "1". Create the instance manually using the command "db2icrt".

ERROR: DBI1080E  Disk full. Minimum space required in /home/db2inst2 is 364276
      KB, whereas only 129156 KB space is available.

Explanation:
There is not enough free space available in the file system or
directory.
User response:
Free more disk space and retry the command.
  ---提示 沒有足夠空間,事實上就是沒有足夠磁碟空間了。
DBI1079I  Output is saved in the log file /tmp/db2icrt.log.725034.
Explanation:
All processed and failed operations have been saved into this log file.
User response:
Do not modify this file in any way. This file is for IBM Technical
Support reference.

ERROR: An error occurred while configuring the instance "db2inst2".
Configuring DB2 instances :.......Failure
--提示例項沒有建立。
Configuring the DB2 Administration Server :.......Success
Updating global profile registry :.......Success
WARNING: A minor error occurred while installing "DB2 Enterprise Server Edition
" on this computer. Some features may not function correctly.
---使用smitty chfs 選擇 /opt檔案系統,增大其空間大小。再次安裝(別忘了將之前的db2 解除安裝了)

成功的安裝的報告:


DB2 Setup log file started at:  Mon Sep 27 02:40:16 CDT 2010 CDT
============================================================
Operating system information: AIX 5.3
Product to install:                        DB2 Enterprise Server Edition
Installation type:                         Typical
Previously Installed Components:       
Selected Components:                   
    Base client support                   
    Java support                          
    SQL procedures                        
    Base server support                   
    IBM Software Development Kit (SDK) for Java(TM)   
    Connect support                       
    Communication support - TCP/IP        
    Replication tools                     
    DB2 data source support               
    DB2 LDAP support                      
    DB2 Instance Setup wizard             
    First Steps                           
    Sample database source                
    DB2 Text Search                                                             
Languages:                             
    English                               
        All Products                      
                                       
Target directory:                          /opt/IBM/db2/V9.5                                  
Space required:                            1275 MB
Install SA MP Base Component:              No                               
New instances:                         
    Instance name:                         db2inst1
        Start instance on reboot:          Yes
        FCM port range:                    60000-60003
        TCP/IP configuration:             
            Service name:                  db2c_db2inst1
            Port number:                   50000
        Instance user information:        
            User name:                     db2inst1
            Group name:                    db2iadm1
            Home directory:                /home/db2inst1
        Fenced user information:          
            User name:                     db2fenc1
            Group name:                    db2fadm1
            Home directory:                /home/db2fenc1
        DB2 Text Search:                  
            HTTP service name:             db2j_db2inst1
            HTTP service port number:      55000
                                       
DB2 Administration server:             
    Instance user information:            
        User name:                         dasusr1
        Group name:                        dasadm1
        Home directory:                    /home/dasusr1
Response file name:                        /tmp/db2ese.rsp
Enabling Asynchronous I/O :.......Success
Checking license agreement acceptance :.......Success
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/BASE_CLIENT_R_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/DB2_PRODUCT_MESSAGES_EN_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/BASE_CLIENT_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/JAVA_RUNTIME_SUPPORT_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/DB2_JAVA_HELP_EN_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/BASE_DB2_ENGINE_R_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/ACS_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/GSK_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/JAVA_SUPPORT_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/SQL_PROCEDURES_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/ICU_SUP_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/JAVA_COMMON_FILES_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/BASE_DB2_ENGINE_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/JDK_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/CONNECT_SUPPORT_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/COMMUNICATION_SUPPORT_TCPIP_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/DATABASE_PARTITIONING_SUPPORT_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/REPL_CLIENT_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/DB2_DATA_SOURCE_SUPPORT_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/LDAP_EXPLOITATION_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/INSTANCE_SETUP_SUPPORT_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/FIRST_STEPS_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/ESE_PRODUCT_SIGNATURE_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/DB2_SAMPLE_DATABASE_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Command to be run: "/bin/gunzip -c /tmp/install_soft/db2/server/db2/aix/FILES/TEXT_SEARCH_9.5.0.5_aix64_ppc.tar.gz | (cd /opt/IBM/db2/V9.5; /bin/tar xvf -)".
Installing DB2 file sets :.......Success
Setting DB2 library path :.......Success
Executing control tasks :.......Success
Updating global registry :.......Success
The installation of IBM Tivoli Monitoring for Databases  has completed. The log
file can be found at /opt/IBM/db2/V9.5/itma/logs/itm_install.log.

Starting DB2 Fault Monitor :.......Success
Updating the db2ls link :.......Success
Registering DB2 licenses :.......Success
Setting default global profile registry variables :.......Success
Creating the DB2 Administration Server :.......Success
Initializing instance list :.......Success
Command to be run: "cd /opt/IBM/db2/V9.5/;/opt/IBM/db2/V9.5/instance/db2icrt -a server -s ese -u db2fenc1 -p db2c_db2inst1 db2inst1".
The instance "db2inst1" has been created successfully.

The value "SVCENAME=db2c_db2inst1" was set in the DBM CFG file for the
"db2inst1" instance.
The value "DB2AUTOSTART=YES" was set in the Profile Registry for the "db2inst1"
instance.

Configuring DB2 instances :.......Success --例項安裝成功!
Configuring the DB2 Administration Server :.......Success
Updating global profile registry :.......Success
最後:這裡沒有給出安裝db2 的具體步驟,其實和在linux 下安裝oracle一樣的,要調整一些環境變數,一些系統引數。想要提醒的是temp 空間一定要足夠大,安裝軟體的檔案也要足夠大。。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22664653/viewspace-675645/,如需轉載,請註明出處,否則將追究法律責任。

相關文章