【DB2】在AIX 上安装DB2 遇到空间不足的错误

简介: 在AIX 上安装DB2 时 ,一切步骤正常,直到检查实例时,没有创建实例。 安装日志里报如下错误: Sep 27, 2010 2:40:19 AM java.util.prefs.FileSystemPreferences$3 runINFO: Created system preferences directory in java.home.Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: No such child: 0 。

在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 空间一定要足够大,安装软件的文件也要足够大。。

目录
相关文章
|
5月前
|
存储 安全 Linux
使用 `db_dump` 命令备份 Berkeley DB 数据库
`db_dump` 是 Linux 中用于备份 Berkeley DB 数据库的工具,它将数据库内容转储到输出或文件。
|
SQL 关系型数据库 数据库
|
Oracle 关系型数据库 Linux
|
Oracle 关系型数据库 数据库
|
SQL 关系型数据库 数据库
|
Oracle Java 关系型数据库
|
SQL 分布式数据库 数据库