免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1547 | 回复: 3
打印 上一主题 下一主题

在linux80上安装informix出现如下错误如何处理? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-23 16:55 |只看该作者 |倒序浏览
我在linux8.0上安装
    出现如下错误:
   [root@linux tmp]# rpm -ivh iif2k920uc1_linux.rpm
                     (或者          #rpm -ivh --relocate /opt/informix=/opt/informix iif2k920uc1_linux.rpm)
Preparing...                ########################################### [100%]

ERROR: INFORMIXDIR does not match the target directory name provided in
the rpm command.  If you are not installing this product in the
default INFORMIXDIR name for Linux (/opt/informix), you MUST provide
your INFORMIXDIR directory name with the --prefix (RPM 2.X syntax)
or --relocate (RPM 3.X syntax) parameter in your rpm -i command line.

Example:  rpm -i --relocate /opt/informix=$INFORMIXDIR <package>;.rpm.

Hit the interrupt key NOW to abort RPM.

论坛徽章:
0
2 [报告]
发表于 2003-06-23 17:10 |只看该作者

在linux80上安装informix出现如下错误如何处理?

第一次碰到,   看看/opt 目录是否存在?   环境变量
INFORMIXDIR 是否设置成/opt/informix?

论坛徽章:
0
3 [报告]
发表于 2003-06-23 17:10 |只看该作者

在linux80上安装informix出现如下错误如何处理?

第一次碰到,   看看/opt 目录是否存在?   环境变量
INFORMIXDIR 是否设置成/opt/informix?
informix 用户是否已加?

论坛徽章:
0
4 [报告]
发表于 2003-06-23 17:29 |只看该作者

在linux80上安装informix出现如下错误如何处理?

我的安装步骤是:
  1、useradd informix -d /opt/informix
      2、分别给informix和root用户的.bash_profile加:
    INFORMIXDIR=/opt/informix
            export INFORMIXDIR
     3、#INFORMIXDIR=/opt/informix
      4、#export INFORMIXDIR
  5、rpm  -i *rpm(或者rpm -i --relocate /opt/informix=/oprt/informix *rpm
   错误依旧!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP