Hmm,

are you sure there is no other process accessing the database?

can you try to manually start and stop the neo4j server?

Perhaps it's something in the shutdown sequence that just does a hard-kill?

Steven, do you have any ideas?

Michael

> Am 03.05.2016 um 10:58 schrieb Eran Hazout <[email protected]>:
> 
> Hi all,
> 
> I just installed Neo4j 3.0 through apt-get on ubuntu 14.04. after rebooting 
> the server I see that neo4j is running on "htop" but when I do #service neo4j 
> status I get this:
> Neo4j is not running
> 
> Tried to exec: #service neo4j restart and I get:
> Neo4j not running
> Starting Neo4j.
> /usr/share/neo4j/bin/neo4j: line 149: /var/run/neo4j/neo4j.pid: No such file 
> or directory
> 
> and neo4j.log show this exception: 
> 2016-05-03 08:52:13.371+0000 INFO  Starting...
> 2016-05-03 08:52:14.318+0000 INFO  Bolt enabled on localhost:7687.
> 2016-05-03 08:52:14.336+0000 INFO  Initiating metrics...
> 2016-05-03 08:52:14.466+0000 ERROR Failed to start Neo4j: Starting Neo4j 
> failed: Component 
> 'org.neo4j.server.database.LifecycleManagingDatabase@36b36a23' was 
> successfully initialized, but failed to start. Please see attached cause 
> except
> ion. Starting Neo4j failed: Component 
> 'org.neo4j.server.database.LifecycleManagingDatabase@36b36a23' was 
> successfully initialized, but failed to start. Please see attached cause 
> exception.
> org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 
> 'org.neo4j.server.database.LifecycleManagingDatabase@36b36a23' was 
> successfully initialized, but failed to start. Please see attached cause 
> exception.
>         at 
> org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
>         at 
> org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:217)
>         at 
> org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:81)
>         at 
> org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:60)
>         at 
> org.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:32)
> Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 
> 'org.neo4j.server.database.LifecycleManagingDatabase@36b36a23' was 
> successfully initialized, but failed to start. Please see attached cause 
> exception.
>         at 
> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444)
>         at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
>         at 
> org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:189)
>         ... 3 more
> Caused by: java.lang.RuntimeException: Error starting 
> org.neo4j.kernel.impl.enterprise.EnterpriseFacadeFactory, 
> /var/lib/neo4j/data/databases/graph.db
>         at 
> org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:144)
>         at 
> org.neo4j.kernel.impl.enterprise.EnterpriseFacadeFactory.newFacade(EnterpriseFacadeFactory.java:42)
>         at 
> org.neo4j.graphdb.EnterpriseGraphDatabase.<init>(EnterpriseGraphDatabase.java:57)
>         at 
> org.neo4j.server.enterprise.EnterpriseNeoServer.lambda$static$1(EnterpriseNeoServer.java:85)
>         at 
> org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:89)
>         at 
> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
>         ... 5 more
> Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 
> 'org.neo4j.kernel.internal.StoreLockerLifecycleAdapter@130ceaaa' was 
> successfully initialized, but failed to start. Please see attached cause 
> exception.
>         at 
> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444)
>         at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
>         at 
> org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:140)
>         ... 10 more
> 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
> 
> I didn't find anyone on google that experience the same problem so I created 
> a brand new ubuntu server and tried again.. unfortunately I get exactly the 
> same bug.
> btw, running on java 8:
> java version "1.8.0_91"
> Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
> Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode) 
> 
> Any idea how to fix or what I did wrong?
> 
> Thanks
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to