Red Hat 7.9安裝達夢資料庫DM8 使用Xmanager Enterprise 5啟動圖形化時報錯
Red Hat 7.9安裝達夢資料庫DM8 使用Xmanager Enterprise 5啟動圖形化時報錯:
【報錯資訊】
[dmdba@dmdb01 dmsetup]$ ./DMInstall.bin
Extract install files.........
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-pi-gtk-3659 in java.library.path
no swt-pi-gtk in java.library.path
/tmp/swtlib-64/libswt-pi-gtk-3659.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
Can't load library: /tmp/swtlib-64/libswt-pi-gtk.so
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:267)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:132)
at org.eclipse.swt.widgets.Widget.isValidSubclass(Widget.java:988)
at org.eclipse.swt.widgets.Decorations.checkSubclass(Decorations.java:164)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:258)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:253)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:204)
at org.eclipse.swt.widgets.Shell.<init>(Shell.java:140)
at com.dameng.common.gui.util.SWTUtility.canInitGUI(SWTUtility.java:380)
at com.dameng.install.ui.MainApplication.run(MainApplication.java:80)
at com.dameng.install.ui.MainApplication.main(MainApplication.java:436)
[dmdba@dmdb01 dmsetup]$
【解決方法】
此類錯誤是圖形相關與缺少rpm包的報錯提示,使用find命令查詢相關的rpm包也不存在,就需要額外安裝。
確保本地yum源配置正確或網路保持暢通,敲入以下命令
yum install gtk2 libXtst xorg-x11-fonts-Type1
[root@dmdb01 yum.repos.d]# yum install gtk2 libXtst xorg-x11-fonts-Type1
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Package libXtst-1.2.3-1.el7.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package gtk2.x86_64 0:2.24.31-1.el7 will be installed
---> Package xorg-x11-fonts-Type1.noarch 0:7.5-9.el7 will be installed
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: ttmkfdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Processing Dependency: mkfontdir for package: xorg-x11-fonts-Type1-7.5-9.el7.noarch
--> Running transaction check
---> Package ttmkfdir.x86_64 0:3.0.9-42.el7 will be installed
---> Package xorg-x11-font-utils.x86_64 1:7.5-21.el7 will be installed
--> Processing Dependency: libfontenc.so.1()(64bit) for package: 1:xorg-x11-font-utils-7.5-21.el7.x86_64
--> Running transaction check
---> Package libfontenc.x86_64 0:1.1.3-3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================================
Installing:
gtk2 x86_64 2.24.31-1.el7 rhel-source 3.4 M
xorg-x11-fonts-Type1 noarch 7.5-9.el7 rhel-source 521 k
Installing for dependencies:
libfontenc x86_64 1.1.3-3.el7 rhel-source 31 k
ttmkfdir x86_64 3.0.9-42.el7 rhel-source 48 k
xorg-x11-font-utils x86_64 1:7.5-21.el7 rhel-source 104 k
Transaction Summary
==========================================================================================================================================
Install 2 Packages (+3 Dependent packages)
Total download size: 4.1 M
Installed size: 14 M
Is this ok [y/d/N]: y
Downloading packages:
------------------------------------------------------------------------------------------------------------------------------------------
Total 120 MB/s | 4.1 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : ttmkfdir-3.0.9-42.el7.x86_64 1/5
Installing : libfontenc-1.1.3-3.el7.x86_64 2/5
Installing : 1:xorg-x11-font-utils-7.5-21.el7.x86_64 3/5
Installing : xorg-x11-fonts-Type1-7.5-9.el7.noarch 4/5
Installing : gtk2-2.24.31-1.el7.x86_64 5/5
Verifying : xorg-x11-fonts-Type1-7.5-9.el7.noarch 1/5
Verifying : libfontenc-1.1.3-3.el7.x86_64 2/5
Verifying : 1:xorg-x11-font-utils-7.5-21.el7.x86_64 3/5
Verifying : gtk2-2.24.31-1.el7.x86_64 4/5
Verifying : ttmkfdir-3.0.9-42.el7.x86_64 5/5
Installed:
gtk2.x86_64 0:2.24.31-1.el7 xorg-x11-fonts-Type1.noarch 0:7.5-9.el7
Dependency Installed:
libfontenc.x86_64 0:1.1.3-3.el7 ttmkfdir.x86_64 0:3.0.9-42.el7 xorg-x11-font-utils.x86_64 1:7.5-21.el7
Complete!
[root@dmdb01 yum.repos.d]#
再次啟動安裝程式就能夠正常顯示圖形化了。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/70017402/viewspace-2890743/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Red Hat 7.9安裝達夢資料庫DM8圖形化顯示英文和亂碼資料庫
- 使用Xmanager軟體遠端呼叫圖形化安裝Oracle資料庫Oracle資料庫
- 國產化之銀河麒麟安裝達夢資料庫DM8資料庫
- Red Hat Enterprise Linux Server 7.4 安裝LinuxServer
- G002-DM-INS-01 達夢資料庫 DM 8 圖形化安裝資料庫
- 達夢資料庫安裝資料庫
- Red Hat Enterprise Linux 6使用 XDMCP (Xmanager)的一些設定Linux
- 達夢資料庫圖形化作業管理資料庫
- Xmanager2.0連線不上遠端的Red Hat Enterprise Linux5Linux
- 達夢資料庫DM8在LINUX環境下安裝步驟資料庫Linux
- Red Hat Enterprise Linux使用資源的限制Linux
- Oracle9.2.0.4 在 Red Hat Enterprise 4上的安裝Oracle
- 達夢8資料庫安裝和解除安裝資料庫
- Red Hat Enterprise LinuxLinux
- 達夢資料庫odbc的安裝教程資料庫
- 達夢資料庫DM8之資料快速載入工具dmfldr使用方法資料庫
- 從 Red Hat Enterprise Linux 2.1 AS升級到 Red Hat Enterprise Linux 3Linux
- Red Hat Enterprise Linux 7.4Linux
- 達夢資料庫DM8中WITH子句的簡單用法資料庫
- 在red hat enterprise linux 5.4上安裝oracle11gLinuxOracle
- 達夢資料庫安裝及基礎操作資料庫
- 達夢資料庫(DM8)大規模並行叢集MPP 2節點安裝部署資料庫並行
- 國產化之 .NET Core 操作達夢資料庫DM8的兩種方式資料庫
- Red Hat Enterprise Linux 5產品線終結Linux
- asm 包下載地址 Red Hat Enterprise Linux5ASMLinux
- 安裝Oracle資料庫軟體./runInstall 圖形安裝介面報錯Oracle資料庫
- 達夢資料庫DM8共享叢集測試記錄資料庫
- 【Linux】Virtualbox 安裝 Red hat Enterprise Linux 6.4-64位Linux
- G005-OS-INS-02 Red Hat Enterprise Linux V8.2 安裝Linux
- 達夢資料庫DM8主備叢集測試記錄資料庫
- Kylin Desktop V10部署達夢資料庫(DM8)資料庫
- 達夢資料庫dmap服務無法正常啟動資料庫
- 在Red Hat和Centos上安裝MongoDBCentOSMongoDB
- red hat linux 9.0安裝求助!(轉)Linux
- 麒麟linux +達夢資料庫遠端圖形介面如何呼叫Linux資料庫
- Oracle9i (9.2.0.4.0) Installation on Red Hat Enterprise Linux 5OracleLinux
- How to configure password openldap server in Red Hat Enterprise Linux 5?LDAServerLinux
- Red Hat Enterprise Linux Server release 6.2配置被動yumLinuxServer