Crashplan 无法启动。无法找到 swt-gtk

Crashplan 无法启动。无法找到 swt-gtk

我已经在我的 (K)Ubuntu 电脑上安装了 Crashplan。但是,它无法启动,ui_output.log 显示:

[09.02.12 15:24:43.518 INFO    main                 root                                    ] *************************************************************
[09.02.12 15:24:43.519 INFO    main                 root                                    ] *************************************************************
[09.02.12 15:24:43.524 INFO    main                 root                                    ] Loading lib/swt-64.jar, exists=true
[09.02.12 15:24:43.525 INFO    main                 root                                    ] [file:/usr/local/crashplan/lib/com.backup42.desktop.jar, file:/usr/local/crashplan/lang/, file:/usr/local/crashplan/skin/, file:/usr/local/crashplan/lib/swt-64.jar]
[09.02.12 15:24:43.527 INFO    main                 root                                    ] STARTED CrashPlanDesktop
[09.02.12 15:24:43.528 INFO    main                 root                                    ] CPVERSION = 3.2.1 - 1332824401321 (2012-03-27T05:00:01:321+0000)
[09.02.12 15:24:43.529 INFO    main                 root                                    ] ARGS = [  ]
[09.02.12 15:24:43.531 INFO    main                 root                                    ] LOCALE = English (United States)
[09.02.12 15:24:43.570 ERROR   main                 com.backup42.desktop.CPDesktop          ] Failed to launch CPDesktop; java.lang.UnsatisfiedLinkError: no swt-gtk-3557 or swt-gtk in swt.library.path, java.library.path or the jar file, java.lang.UnsatisfiedLinkError: no swt-gtk-3557 or swt-gtk in swt.library.path, java.library.path or the jar file
java.lang.UnsatisfiedLinkError: no swt-gtk-3557 or swt-gtk in swt.library.path, java.library.path or the jar file
    at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
    at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
    at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
    at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
    at com.backup42.desktop.CPDesktop.<init>(CPDesktop.java:231)
    at com.backup42.desktop.CPDesktop.main(CPDesktop.java:161)

[09.02.12 15:24:43.570 ERROR   main                 root                                    ] Failed to launch CPDesktop;  java.lang.UnsatisfiedLinkError: no swt-gtk-3557 or swt-gtk in swt.library.path, java.library.path or the jar file

我已经安装了相关的(我认为)swt-gtk 包。

答案1

我在将 CrashPlan 移至 SSD 后重新安装时遇到了这个问题。我已移至/tmpRAM,并对文件夹中的文件夹设置了限制权限/etc/fstab

这导致了我的问题:

tmpfs /tmp tmpfs nodev,nosuid,noexec,mode=1777 0 0

这修复了它:

tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0

noexec参数阻止 SWT 从/tmp目录执行,删除它可以解决问题。

相关内容