【一步一步学习 OceanBase 系列】
——author:gelyon
OceanBase1.4 终结篇——OCP 的安装
1、安装 OCP 问题总结
1.1、无法启动 OCP 安装 GUI 界面
# java -jar ocp-setup-1.0-lite.jar
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError:
/usr/local/jdk1.8.0_241/jre/lib/amd64/libglass.so: libX11.so.6: cannot open shared object file: No
such file or directory
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:288)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:211)
at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:675)
at
com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:337)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
... 5 more
原因: 没有配置 x11 windows 环境
# yum groupinfo "Server with GUI"
# yum -y groupinstall x11
文档被以下合辑收录
评论