ibm mq java linux,linux安装MQ报错解决方案

当执行

[root@localhost CZ4VEML]# ./mqlicense.sh -accept

语句时(这句的意思是接受许可协议),

报如下错误

Licensed Materials - Property of IBM

5724-H72

(C) Copyright IBM Corporation 1994, 2009 All rights reserved.

US Government Users Restricted Rights - Use, duplication or disclosure

restricted by GSA ADP Schedule Contract with IBM Corp.

./mqlicense.sh: ./lap/jre/jre/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录

ERROR: Installation will not succeed unless the license

agreement can be accepted.

If the error was caused by a display problem,

read the license agreement file (LA_xx, where

xx represents your language ) in the 'licenses'

directory, and then run the following command:

mqlicense.sh -accept

Only use this command if you accept the license

agreement.

For other errors, contact your IBM support centre.

证明Linux系统为64位,而安装的软件为32位系统。执行下面语句解决该问题。

[root@localhost CZ4VEML]# yum install glibc.i686

继续执行[root@localhost CZ4VEML]# ./mqlicense.sh -accept语句

如果报如下错误

Licensed Materials - Property of IBM

5724-H72

(C) Copyright IBM Corporation 1994, 2009 All rights reserved.

US Government Users Restricted Rights - Use, duplication or disclosure

restricted by GSA ADP Schedule Contract with IBM Corp.

libgcc_s.so.1 must be installed for pthread_cancel to work

./mqlicense.sh: line 172: 2730 已放弃 (core dumped) ${JRE?} -cp ${LAPCLASSPATH?} com.ibm.lex.lapapp.LAP -l ${PROGPATH?}/lap/licenses -s /tmp/mq_license ${STATUSARG} ${DISPLAYARG}

ERROR: Installation will not succeed unless the license

agreement can be accepted.

If the error was caused by a display problem,

read the license agreement file (LA_xx, where

xx represents your language ) in the 'licenses'

directory, and then run the following command:

mqlicense.sh -accept

Only use this command if you accept the license

agreement.

For other errors, contact your IBM support centre.

需要继续安装程序包

yum install libstdc++.so.6

然后继续执行语句[root@localhost CZ4VEML]# ./mqlicense.sh -accept

执行结果如下

[root@localhost CZ4VEML]# ./mqlicense.sh -accept

Licensed Materials - Property of IBM

5724-H72

(C) Copyright IBM Corporation 1994, 2009 All rights reserved.

US Government Users Restricted Rights - Use, duplication or disclosure

restricted by GSA ADP Schedule Contract with IBM Corp.

License has already been accepted: Proceed with install.

表示许可证已被接受,可以继续安装。(如之后仍然有错误,再进行补充)

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值