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…

     

如果這文章對你有幫助,請掃左上角微信支付-支付寶,給於打賞,以助博客運營