您的位置:程序门 -> db2 -> 基础类



db2 v8.2安装问题,求助好心人


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


db2 v8.2安装问题,求助好心人
发表于:2008-01-08 10:01:35 楼主
在suse   linux系统上安装db2   v8.2,安装日志如下:

db2   setup   log   file   started   at:   thu   jul     4   02:48:00   2002   pdt
============================================================

operating   system   information:   linux   2.6.5-7.111-default.#1   wed   oct   13   15:45:13   utc   2004   i686
notification   smtp   server   has   not   been   specified.     notifications   cannot   be   sent   to   contacts   in   your   contact   list   until   this   is   specified.     for   more   information   see   the   db2   administration   documentation.
product   to   install:                                                 db2   universal   database   enterprise   server   edition
installation   type:                                                   typical
previously   installed   components:                
selected   components:                                        
        product   messages   -   en_us.iso88591            
        base   client   support                                        
        db2   ldap   support                                              
        code   page   conversion   tables   -   unicode   support      
        code   page   conversion   tables                        
        icu   utilities                                                    
        java   help   (html)   -   en_us.iso88591            
        replication                                                        
        sql   procedures                                                  
        control   center   help   (html)   -   en_us.iso88591      
        java   common   files                                            
        first   steps                                                        
        db2   instance   setup   wizard                            
        java   support                                                      
        configuration   assistant                                
        run-time   environment                                      
        connect   support                                                
        communication   support   -   tcp/ip                  
        administration   server                                    
        db2   data   source   support                                
        base   db2   udb   support                                      
        sample   database   source                                  
        parallel   extension                                          
        control   center                                                  
        product   signature   for   db2   udb   enterprise   server   edition      
        java(tm)   development   kit   (jdk)                  
languages:                                                            
                languages:                                                   en
target   directory:                                                     /opt/ibm/db2/v8.1
                                                                               
space   required:                                                         503   mb
                                                                               
new   instances:                                                    
        instance   name:                                                   db2inst1
                authentication:                                         server
                start   instance   on   reboot:                     yes
                fcm   port   range:                                         60000-60003
                tcp/ip   configuration:                            
                        service   name:                                     db2c_db2inst1
                        port   number:                                       50001
                instance   user   information:                  
                        user   name:                                           db2inst1
                        group   name:                                         db2grp1
                        home   directory:                                 /home/db2inst1
                fenced   user   information:                      
                        user   name:                                           db2fenc1
                        group   name:                                         db2fgrp1
                        home   directory:                                 /home/db2fenc1
                                                                               
db2   administration   server:                            
        instance   user   information:                          
                user   name:                                                   dasusr1
                group   name:                                                 dasadm1
                home   directory:                                         /home/dasusr1
                                                                               
                                                                               
                                                                               
contact   specification:                                    
        new   contacts:                                                    
                name:                                                             db2inst1
                instance:                                                     db2inst1
                email   address:                                           db2inst1@hnhk-sysmon
                email   address   is   for   a   pager:             no
                                                                               

checking   license   agreement   acceptance:.......success
command   to   be   run:   "/bin/rpm   -ivh   '/itm6install/db2/db2/linux/ibm_db2msen81-8.1.0-73'.i386.rpm".
preparing...                                 ##################################################
ibm_db2msen81                               ##################################################


command   to   be   run:   "/bin/rpm   -ivh   '/itm6install/db2/db2/linux/ibm_db2cliv81-8.1.0-73'.i386.rpm".
error:
error:error:   cannot   get   exclusive   lock   on   /var/lib/rpm/packages
error:   cannot   open   packages   index   using   db3   -   operation   not   permitted   (1)
error:   cannot   open   packages   database   in   /var/lib/rpm

error:an   error   occurred   while   installing   file   set   "ibm_db2cliv81-8.1.0-73".  
please   correct   the   error   or   contact   a   technical   service   representative.

command   to   be   run:   "/bin/rpm   -ev   --nodeps   'ibm_db2cliv81-8.1.0-73'".

error:   package   ibm_db2cliv81-8.1.0-73   is   not   installed

command   to   be   run:   "/bin/rpm   -ev   --nodeps   'ibm_db2msen81-8.1.0-73'".

error:   cannot   get   exclusive   lock   on   /var/lib/rpm/packages
error:   cannot   open   packages   index   using   db3   -   operation   not   permitted   (1)
error:   cannot   open   packages   database   in   /var/lib/rpm


error:   cannot   get   exclusive   lock   on   /var/lib/rpm/packages
error:   cannot   open   packages   index   using   db3   -   operation   not   permitted   (1)
error:   cannot   open   packages   database   in   /var/lib/rpm

installing   db2   file   sets:.......failure
error:a   major   error   occurred   while   installing   "db2   universal   database  
enterprise   server   edition"   on   this   computer.   the   installation   can   not   continue.  
if   the   problem   persists   please   contact   your   technical   service   representative.


db2   setup   log   file   finished   at:   thu   jul     4   02:50:56   2002   pdt
============================================================


希望好心人能给出解决方法或指导意见,不甚感激!!
发表于:2008-01-08 11:12:591楼 得分:0
我记得db2的安装目录下有readme这个文件,你看看里面是怎么写的
发表于:2008-01-08 12:33:102楼 得分:0
我在suse桌面版安装db2       udb       enterprise       server       edition

不知道是不是系统不支持的原因
发表于:2008-01-08 14:19:303楼 得分:0
command       to       be       run:       "/bin/rpm       -ivh       '/itm6install/db2/db2/linux/ibm_db2cliv81-8.1.0-73'.i386.rpm".  
error:  
error:error:       cannot       get       exclusive       lock       on       /var/lib/rpm/packages  
error:       cannot       open       packages       index       using       db3       -       operation       not       permitted       (1)  
error:       cannot       open       packages       database       in       /var/lib/rpm  
从这里开始出现错误的,查找原因应该从这方面入手
发表于:2008-01-08 16:14:124楼 得分:0
是不是你没有使用root用户安装?
发表于:2008-01-09 14:21:385楼 得分:0
db2不需要一定用root用户安装的。
发表于:2008-01-09 16:53:196楼 得分:0
我建议楼主使用root用户安装是因为看到下面的错误,感觉好像是访问目录的权限不够,没有意味着db2必须要用root安装(这个我不太确定,我一直使用root安装的)
error:  
error:error:       cannot       get       exclusive       lock       on       /var/lib/rpm/packages  
error:       cannot       open       packages       index       using       db3       -       operation       not       permitted       (1)  
error:       cannot       open       packages       database       in       /var/lib/rpm  

发表于:2008-01-11 16:13:387楼 得分:0
我是用root用户安装的


快速检索

最新资讯
热门点击