Dameng database installation error: OpenJDK 64-Bit Server VM warning: Insufficient space for shared memory file

The error message is shown in the figure below:

dmdba@localhost 桌面]S ./DMInstall.bin
解压安装程序.........OpenJDK 64-Bit Server VM warning: Insufficient space for shared memory file:11500Try using the -Djava.io.tmpdir= option to select an alternate temp location.
Exception in thread "main" java.lang.UnsatisfiedlinkError: Could not load SWT library. Reasons:
no swt-gtk-3659 in java.library.pathno swt-gtk in java.library.pathCan't load library: /tmp/swtlib-64/libswt-gtk-3659.soCan't load library: /tmp/swtlib-64/libswt-gtk.so
at org.eclipse.swtinternal.Library.loadribrary(library.java:267)at org.eclipse.swt.internal.library.loadlibrary(Library.java:174)at org.eclipse.swt.internal.C,<clinit>(c,java:21)org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)atat 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;16
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:382)at com.dameng.install,ui.MainApplication.run(MainApplication,java:80)at com.dameng.install.ui,MainApplication.main(MainApplication.java:437)

You can see that there are two main errors: 1. OpenJDK 64-Bit Server VM warning: Insufficient space for shared memory file: 11500 Try using the -Djava.io.tmpdir= option to select an alternate temp location.

2、Exception in thread "main" java.lang.UnsatisfiedlinkError: Could not load SWT library. Reasons:

no swt-gtk-3659 in java.library.pathno swt-gtk in java.library.path Can't load library: /tmp/swtlib-64/libswt-gtk-3659.soCan't load library: /tmp/swtlib-64/libswt-gtk.so

One is a prompt: there is not enough space for shared memory files, and the other is a prompt that the SWT library cannot be called, lacking /tmp/swtlib-64/libswt-gtk-3659.so and /tmp/swtlib-64/libswt-gtk.so

Theoretically, the prompt that so is missing and SWT cannot be called can be solved by installing the corresponding library. But here we use the method of ignoring and not using the graphical interface to install. Instead, use console interaction to install:

./DMInstall.bin -i

Then something like this happens:

还是提示 共享内存文件空间的问题。 经过查询网上资料,都说清理空间,但是通过df -h查看控件情况时发现,并没有什么异常。 后来死马当活马医,就增加了一个swap分区:具体操作:https://blog.csdn.net/yeyuningzi/article/details/112569931?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522167844186716800225514655%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=167844186716800225514655&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~rank_v31_ecpm-1-112569931-null-null.blog_rank_default&utm_term=swap&spm=1018.2226.3001.4450

后来就好了。

Guess you like

Origin blog.csdn.net/yeyuningzi/article/details/129448372