Linux下安装sybase15.7,无法打开图形化安装界面

昨天,在linux安装sybase15.7,想着给自已弄个Sybase单机环境,方便研究sybase,但在安装sybase时,就遇到图形化界面无法打开的错误:如下为错误解决过程:

[root@co2 sb157]# export DISPLAY=192.168.134.1:0.0
[root@co2 sb157]# ./setup.bin
Preparing to install…
Extracting the JRE from the installer archive…
Unpacking the JRE…
Extracting the installation resources from the installer archive…
Configuring the installer for this system’s environment…

Launching installer…

Graphical installers are not supported by the VM. The console mode will be used instead…

===============================================================================
Sybase Adaptive Server Enterprise Suite (created with InstallAnywhere)
——————————————————————————-

Preparing CONSOLE Mode Installation…

起初, 我以为在VM虚拟机下面,真的不支持图形化安装,就想当然地选择console方式安装:

一开始都很顺,都是选择安装选项,但直到Configure Web Services 时就报错:

** Web Services Configuration utility completed.
** At 09/25/18 19:30:03 CST
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.UnsatisfiedLinkError: /tmp/install.dir.1912/Linux/resource/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)

起初不为留意这个报错,好打开安装日志,再留意到这个错误:

[root@co2 sb157]# yum search Xext
Loaded plugins: fastestmirror
Determining fastest mirrors
base | 3.7 kB 00:00
base/primary_db | 4.7 MB 00:12
extras | 3.4 kB 00:00
extras/primary_db | 26 kB 00:00
updates | 3.4 kB 00:00
updates/primary_db | 1.2 MB 00:03
======================================================================== N/S Matched: Xext ========================================================================
libXext.i686 : X.Org X11 libXext runtime library
libXext.x86_64 : X.Org X11 libXext runtime library
libXext-devel.i686 : X.Org X11 libXext development package
libXext-devel.x86_64 : X.Org X11 libXext development package

Name and summary matches only, use “search all” for everything.
[root@co2 sb157]# yum install libXext.i686 libXext.x86_64 libXext-devel.i686 libXext-devel.x86_64 -y
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
Package libXext-1.3.3-1.el6.x86_64 already installed and latest version

又再次启动sybase的安装命令:又继续遇到如下报错:

Unified Agent – Self Discovery Service Adaptor
adaptor JINI
Host Name localhost
Port Number 4160
JINI Heart Beat Period (seconds) 900
Unified Agent – Security Login Modules
CSI.attributer.1.provider com.sybase.ua.services.security.xml.XM
CSI.authorizer.1.provider com.sybase.ua.services.security.xml.XM
CSI.loginModule.0.controlFlag sufficient
CSI.loginModule.0.options.moduleName Anonymous Login Module
CSI.loginModule.0.options.roles uaAnonymous
CSI.loginModule.0.provider com.sybase.ua.services.security.anonym
CSI.loginModule.1.controlFlag sufficient
CSI.loginModule.1.options.encrypted false
CSI.loginModule.1.options.moduleName Simple Login Module
CSI.loginModule.1.options.password ******
CSI.loginModule.1.options.roles uaAgentAdmin,uaPluginAdmin
CSI.loginModule.1.options.username uafadmin
CSI.loginModule.1.provider com.sybase.ua.services.security.simple
CSI.loginModule.2.controlFlag sufficient
CSI.loginModule.2.options.moduleName ASE Login Module
CSI.loginModule.2.provider com.sybase.ua.services.security.ase.AS
Do you want to continue? (DEFAULT: yes):
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.UnsatisfiedLinkError: /tmp/install.dir.30305/Linux/resource/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)

继续安装linux 的组件:

This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
[root@co2 sb157]# yum search Xtst
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
======================================================================== N/S Matched: Xtst ========================================================================
libXtst.i686 : X.Org X11 libXtst runtime library
libXtst.x86_64 : X.Org X11 libXtst runtime library
libXtst-devel.i686 : X.Org X11 libXtst development package
libXtst-devel.x86_64 : X.Org X11 libXtst development package

Name and summary matches only, use “search all” for everything.
[root@co2 sb157]# yum install libXtst.i686 libXtst.x86_64 libXtst-devel.i686 libXtst-devel.x86_64 -y
Loaded plugins: fastestmirror
Setting up Install Process

Installed:
libXtst.i686 0:1.2.3-1.el6 libXtst-devel.i686 0:1.2.3-1.el6 libXtst-devel.x86_64 0:1.2.3-1.el6

Dependency Installed:
libXfixes-devel.x86_64 0:5.0.3-1.el6 libXi.i686 0:1.7.8-1.el6 libXi-devel.i686 0:1.7.8-1.el6 libXi-devel.x86_64 0:1.7.8-1.el6

Complete!

[root@co2 install]# cd sb157
[root@co2 sb157]# ls
archives ase1570_linx8664_64.tgz ASE-FDT-List.pdf sample_response.txt setup.bin Sybase-FDT-Master.pdf sysam_setup sysam_utilities
[root@co2 sb157]# ./setup.bin
Preparing to install…
Extracting the JRE from the installer archive…
Unpacking the JRE…
Extracting the installation resources from the installer archive…
Configuring the installer for this system’s environment…

Launching installer…

终于见到sybase的安装界面,然后在安装图形化界面安装操作,就一马平川地完成安装.

以下文章点击率最高

Loading…

发表评论