【问题标题】:DBeaver does not start on Ubuntu 18.04DBeaver 无法在 Ubuntu 18.04 上启动
【发布时间】:2019-07-01 07:33:48
【问题描述】:

我有 Ubuntu 18.04.2LTS 侏儒 3.28.2 爪哇: 〜$ java -版本 java版本“11.0.2” 2019-01-15 LTS Java(TM) SE 运行时环境 18.9(构建 11.0.2+9-LTS) Java HotSpot(TM) 64 位服务器 VM 18.9(内部版本 11.0.2+9-LTS,混合模式)

    ~$ dbeaver
    2019-07-01 10:19:38.974 - Create display
    2019-07-01 10:19:39.157 - > Start org.jkiss.dbeaver.core [6.1.1.201906240635]
    2019-07-01 10:19:39.161 - DBeaver 6.1.1.201906240635 is starting
    2019-07-01 10:19:39.161 - OS: Linux 4.18.0-25-generic (amd64)
    2019-07-01 10:19:39.161 - Java version: 11.0.2 by Oracle Corporation (64bit)
    2019-07-01 10:19:39.162 - Install path: '/usr/share/dbeaver'
    2019-07-01 10:19:39.162 - Instance path: 'file:/home/ilya/.dbeaver4/'
    2019-07-01 10:19:39.162 - Memory available 64Mb/1024Mb
    2019-07-01 10:19:39.180 - Starting RMI server at 21449
    2019-07-01 10:19:39.222 - Run workbench
    2019-07-01 10:19:39.228 - > Start org.eclipse.e4.ui.workbench.swt [0.14.500.v20190214-0851]
    2019-07-01 10:19:39.229 - > Start org.eclipse.e4.core.services [2.1.400.v20181215-2145]
    2019-07-01 10:19:39.230 - > Start org.eclipse.e4.core.contexts [1.8.0.v20190214-1713]
    2019-07-01 10:19:39.238 - > Start org.eclipse.e4.ui.services [1.3.400.v20190212-2214]
    2019-07-01 10:19:39.265 - > Start org.eclipse.e4.ui.di [1.2.500.v20190214-1316]
    2019-07-01 10:19:39.297 - > Start org.eclipse.emf.common [2.15.0.v20181220-0846]
    2019-07-01 10:19:39.312 - > Start org.eclipse.emf.ecore [2.17.0.v20190116-0940]
    2019-07-01 10:19:39.363 - > Start org.eclipse.emf.ecore.xmi [2.15.0.v20180706-1146]
    2019-07-01 10:19:39.493 - > Start org.eclipse.core.filesystem [1.7.300.v20190218-2054]
    2019-07-01 10:19:39.541 - > Start org.eclipse.core.resources [3.13.300.v20190218-2054]
    2019-07-01 10:19:39.686 - > Start org.eclipse.e4.ui.workbench.addons.swt [1.3.400.v20190224-1542]
    2019-07-01 10:19:39.695 - > Start org.eclipse.core.expressions [3.6.300.v20190218-1215]
    2019-07-01 10:19:39.711 - > Start org.eclipse.e4.ui.workbench.renderers.swt [0.14.500.v20190220-1002]
    2019-07-01 10:19:39.814 - > Start org.eclipse.e4.ui.bindings [0.12.400.v20190131-1604]
    2019-07-01 10:19:39.872 - > Start org.eclipse.e4.core.di.extensions [0.15.300.v20190213-1308]
    2019-07-01 10:19:40.157 - > Start org.eclipse.e4.ui.css.swt [0.13.400.v20190223-1254]
    2019-07-01 10:19:40.253 - > Start org.eclipse.e4.ui.css.swt.theme [0.12.200.v20190212-2214]
    2019-07-01 10:19:40.295 - > Start org.jkiss.dbeaver.ui [5.1.26.201906240635]
    2019-07-01 10:19:40.448 - > Start org.eclipse.equinox.p2.core [2.6.0.v20190215-2242]
    2019-07-01 10:19:40.450 - > Start org.eclipse.equinox.p2.operations [2.5.300.v20190202-1801]
    2019-07-01 10:19:40.454 - > Start org.eclipse.equinox.p2.engine [2.6.200.v20190215-2242]
    2019-07-01 10:19:40.459 - > Start org.eclipse.equinox.p2.metadata [2.4.300.v20190215-2242]
    2019-07-01 10:19:40.471 - > Start org.eclipse.equinox.p2.ui.sdk.scheduler [1.4.200.v20181102-0649]
    2019-07-01 10:19:40.472 - > Start org.eclipse.equinox.p2.updatechecker [1.2.100.v20180827-1122]
    2019-07-01 10:19:40.477 - > Start org.eclipse.equinox.p2.metadata.repository [1.3.100.v20180822-1302]
    2019-07-01 10:19:40.477 - > Start org.eclipse.equinox.p2.repository [2.4.300.v20190215-2242]
    2019-07-01 10:19:40.540 - DBeaver is stopping
    2019-07-01 10:19:40.540 - Stop RMI server
    2019-07-01 10:19:40.575 - < Stop org.jkiss.dbeaver.ext.mssql.ui [1.0.10.201906240635]
    2019-07-01 10:19:40.576 - < Stop org.jkiss.dbeaver.ext.mssql [1.0.105.201906240635]
    2019-07-01 10:19:40.576 - < Stop org.jkiss.dbeaver.ext.oracle [2.1.96.201906240635]
    2019-07-01 10:19:40.576 - < Stop org.jkiss.dbeaver.ext.ui.tipoftheday [1.0.17.201906240635]

~$ apt policy dbeaver-ce dbeaver-ce: Установлен: 6.1.1 Кандидат: 6.1.1 Таблица версий: *** 6.1.1 500 500 https://dbeaver.io/debs/dbeaver-ce 包 100 /var/lib/dpkg/状态 6.1.1~ubuntu16.04 500 500 http://ppa.launchpad.net/serge-rider/dbeaver-ce/ubuntu bionic/main amd64 包

怎么办?如何让 dbeaver 运行?

【问题讨论】:

    标签: ubuntu-18.04 dbeaver


    【解决方案1】:

    我有类似的问题。实际上我的机器卡住了,我不得不强制紧急关闭。我的机器启动后,我无法打开 DBeaver。经过一番努力,我决定重新安装它。

    在您卸载之前,请确保您的数据库连接已保存到不同的文件夹。 将这些文件复制到此文件夹中:

    c:\Users{您的用户名}\AppData\Roaming\DBeaverData\workspace6\General\

    (这适用于 windows,但对于 ubuntu 应该是 $XDG_DATA_HOME/DBeaverData/workspace6/General see DBeaver wiki for details

    然后您可以开始使用程序和功能卸载应用程序(在 Win10 上),对于 Ubuntu,您可以使用以下命令:sudo apt-get remove DBeaver

    从那里您应该已经知道安装它的步骤,并且不要忘记将您的工作区文件(DBConnections 等)复制回原始位置。

    如果 DBeaver 仍未打开,则说明工作区已损坏,可能是文件未正确关闭(或字符编码问题?),但最安全的修复方法是:再次添加连接。

    【讨论】:

      【解决方案2】:

      我有同样的问题,通过 snap 卸载/安装,ando 没有工作。但简单刷新一下就解决了。

       snap refresh --edge dbeaver-ce
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2018-10-30
        • 2022-06-10
        • 1970-01-01
        • 2023-03-13
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多