libmawt.so: ld.so.1: java: fatal: libXm.so.4: open failed: No such file or directory

  今天在solaris 11上装rac后打psu补丁,由于是gi+db的补丁一起打采用auto方式。

创建ocm configuration response file,就是一个.rsp文件,报错(下面报错截取mos上的我的是11.2.0.4,基本一样)


Installation of 11.2.0.3 Oracle database client on Oracle Solaris on SPARC 11 (64-bit) fails with below errors:

./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 180 MB. Actual 1383 MB Passed
Checking swap space: must be greater than 150 MB. Actual 12288 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-07-24_01-00-18PM. Please wait ...sat1svdap401:/apps/oracle/product/software/client
SMARTAUD_CLIENT > Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2013-07-24_01-00-18PM/jdk/jre/lib/sparcv9/motif21/libmawt.so: ld.so.1: java: fatal: libXm.so.4: open failed: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1753)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1649)
at java.lang.Runtime.load0(Runtime.java:769)
at java.lang.System.load(System.java:968)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1753)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1670)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
at java.awt.Toolkit.<clinit>(Toolkit.java:1530)
at com.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:484)
at com.jgoodies.looks.LookUtils.<clinit>(LookUtils.java:249)
at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:135)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1779)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:453)
at oracle.install.commons.util.Application.startup(Application.java:780)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:165)
at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:182)
at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:348)
at oracle.install.ivw.client.driver.ClientInstaller.startup(ClientInstaller.java:87)
at oracle.install.ivw.client.driver.ClientInstaller.main(ClientInstaller.java:97)
官方给出的解释个解决方案

   Cause

 AWT_TOOLKIT=XToolkit is not set.

Solution

There were no additional package required to install 11.2.0.3 Oracle database server/client on Oracle Solaris on SPARC 11 (64-bit), all the required packages comes with default installation, but still the above error occurs.

Set the following variable prior invoking the runinstaller

就是说有一个参数需要设置

简单 su - grid

export  AWT_TOOLKIT=XToolkit

然后执行就ok



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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值