前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >CentOS 6.5 下安装 IBM Installation Manager 1.6.2

CentOS 6.5 下安装 IBM Installation Manager 1.6.2

作者头像
星哥玩云
发布2022-06-29 21:27:37
1.1K0
发布2022-06-29 21:27:37
举报
文章被收录于专栏:开源部署

因为要安装 WAS 8.5.5 (WebSphere Application Server), 所以必须先安装IM (Installation Manager)。

环境

远程CentOS 6.5 64bit Server

本地Thinkpad

下载安装包 InstalMgr1.6.2_LNX_X86_64_WAS_8.5.5.zip 并上传到服务器

本地Thinkpad上运行Xming

打开Putty, 注意Putty的 Enable X11 forwarding 选项要开启, 否则Xming不能在本地显示图形化安装界面。

打开Server的session连接远程Server

安装

12 unzip InstalMgr1.6.2_LNX_X86_64_WAS_8.5.5.zip

./install

完成

下一步就是加Repo, 安装WAS了。

这之前有过一个小插曲, 不愿意看可以略过。

第一次安装的时候, install 命令返回如下错误:

[root@dstsmdlab im]# ./install 00:00.55 ERROR [main] org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory safeLogged   Could not load SWT library. Reasons:         /tmp/im/configuration/org.eclipse.osgi/bundles/29/1/.cp/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)         swt-pi-gtk (Not found in java.library.path)         /root/.swt/lib/linux/x86/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)         /root/.swt/lib/linux/x86/libswt-pi-gtk.so (/root/.swt/lib/linux/x86/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)   java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:         /tmp/im/configuration/org.eclipse.osgi/bundles/29/1/.cp/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)         swt-pi-gtk (Not found in java.library.path)         /root/.swt/lib/linux/x86/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)         /root/.swt/lib/linux/x86/libswt-pi-gtk.so (/root/.swt/lib/linux/x86/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)   java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:         /tmp/im/configuration/org.eclipse.osgi/bundles/29/1/.cp/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)         swt-pi-gtk (Not found in java.library.path)         /root/.swt/lib/linux/x86/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory)         /root/.swt/lib/linux/x86/libswt-pi-gtk.so (/root/.swt/lib/linux/x86/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)     at org.eclipse.swt.internal.Library.loadLibrary(Library.java:331)     at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240)     at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)     at java.lang.J9VMInternals.initializeImpl(Native Method)     ... The displayed failed to initialize.  See the log /tmp/im/configuration/1391762016115.log for details.

试着找到so文件并且加入load path里面

[root@dstsmdlab tmp]# find /usr -name libgtk-x11-2.0* /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgtk-x11-2.0.so.0.2000.1 /usr/lib64/libgtk-x11-2.0.so.0 [root@dstsmdlab tmp]# LD_LIBRARY_PATH=/usr/lib64 && export  LD_LIBRARY_PATH [root@dstsmdlab tmp]# cd im [root@dstsmdlab im]# ./install 00:00.56 ERROR [main] org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory safeLogged   Could not load SWT library. Reasons:         /tmp/im/configuration/org.eclipse.osgi/bundles/29/1/.cp/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64)         swt-pi-gtk (Not found in java.library.path)         /root/.swt/lib/linux/x86/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64)         /root/.swt/lib/linux/x86/libswt-pi-gtk.so (/root/.swt/lib/linux/x86/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)   java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:         /tmp/im/configuration/org.eclipse.osgi/bundles/29/1/.cp/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64)         swt-pi-gtk (Not found in java.library.path)         /root/.swt/lib/linux/x86/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64)         /root/.swt/lib/linux/x86/libswt-pi-gtk.so (/root/.swt/lib/linux/x86/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)   java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:         /tmp/im/configuration/org.eclipse.osgi/bundles/29/1/.cp/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64)         swt-pi-gtk (Not found in java.library.path)         /root/.swt/lib/linux/x86/libswt-pi-gtk-4234.so (libgtk-x11-2.0.so.0: wrong ELF class: ELFCLASS64)         /root/.swt/lib/linux/x86/libswt-pi-gtk.so (/root/.swt/lib/linux/x86/liblibswt-pi-gtk.so.so: cannot open shared object file: No such file or directory)     at org.eclipse.swt.internal.Library.loadLibrary(Library.java:331)     at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240)     at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)     at java.lang.J9VMInternals.initializeImpl(Native Method)     ... The displayed failed to initialize.  See the log /tmp/im/configuration/1391762503195.log for details.

还是不能够啊。  但错误明显变了。 思考着, 思考着... 我突然生气了。 上面的错误暗示着so的位数不对, 我的server是64位的, 它要32位的so... 恍然大悟... 你猜对了, 我换了个64位的IM安装包。 好了。

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
云服务器
云服务器(Cloud Virtual Machine,CVM)提供安全可靠的弹性计算服务。 您可以实时扩展或缩减计算资源,适应变化的业务需求,并只需按实际使用的资源计费。使用 CVM 可以极大降低您的软硬件采购成本,简化 IT 运维工作。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档