neo4j 3.0(社区版) - 无法在debian 8上启动服务器

时间:2016-05-05 18:36:20

标签: neo4j debian

我在两台机器上试过neo4j 3.0。

  1. 有一个正在运行的neo4j 2.x并通过apt-get upgrade升级到neo4j 3.0

  2. 全新安装neo4j 3.0

  3. 在这两种情况下,neo4j都无法启动,我看到以下错误消息 [控制台]

    sudo service neo4j start
    Job for neo4j.service failed. See 'systemctl status neo4j.service' and 'journalctl -xn' for details.
    
    $ sudo systemctl status neo4j.service -l
    ● neo4j.service - LSB: Neo4j Graph Database server
       Loaded: loaded (/etc/init.d/neo4j)
       Active: failed (Result: exit-code) since Thu 2016-05-05 18:24:14 UTC; 8min ago
      Process: 1377 ExecStart=/etc/init.d/neo4j start (code=exited, status=1/FAILURE)
    
    May 05 18:24:14 abc-com neo4j[1377]: Starting Neo4j.
    May 05 18:24:14 abc-com neo4j[1377]: WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
    May 05 18:24:14 abc-com neo4j[1377]: /usr/share/neo4j/bin/neo4j: line 149: /var/run/neo4j/neo4j.pid: No such file or directory
    May 05 18:24:14 abc-com systemd[1]: neo4j.service: control process exited, code=exited status=1
    May 05 18:24:14 abc-com systemd[1]: Failed to start LSB: Neo4j Graph Database server.
    May 05 18:24:14 abc-com systemd[1]: Unit neo4j.service entered failed state.
    
    cat /var/log/neo4j/neo4j.log
        Caused by: org.neo4j.kernel.StoreLockException: Store and its lock file has been locked by another process: /var/lib/neo4j/data/databases/graph.db/store_lock. Please ensure no other process is using this database, and that the directory is writable (required even for read-only access)
            at org.neo4j.kernel.internal.StoreLocker.storeLockException(StoreLocker.java:90)
            at org.neo4j.kernel.internal.StoreLocker.checkLock(StoreLocker.java:76)
            at org.neo4j.kernel.internal.StoreLockerLifecycleAdapter.start(StoreLockerLifecycleAdapter.java:40)
            at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
            ... 12 more
    

0 个答案:

没有答案