background - Why, dows 'neo4j console' work, and 'neo4j start' doesn't? -


i want use neo4j. installed neo4j-community 2.3.2-1 archlinux aur , when ise neo4j consoleeverything works fine. when want start server in background neo4j startthe server won't start error message:

warning: max 1024 open files allowed, minimum of 40 000 recommended. see neo4j manual. starting neo4j server...process [20559]... waiting server ready... failed start within 120 seconds. neo4j server may have failed start, please check logs. 

the server did not try start or 120 seconds, more 2 seconds. in addition callot find log-files anywhere. google told me tryout neo4j start-no-wait when command:

warning: max 1024 open files allowed, minimum of 40 000 recommended. see neo4j manual. starting neo4j server...process [21088]...started server in background, returning... 

but nothing started , webclient doesn't work when use neo4j console.

so basic question is: why neo4j consolework , neo4j startdoes not? , how can start neo4j in background , stop again without killing process?

edit: console.log says:

2016-01-29 12:51:18.338+0100 info  shutdown neo4j server 2016-01-29 12:51:18.348+0100 error failed start neo4j: starting neo4j failed: component 'org.neo4j.server.database.lifecyclemanagingdatabase@77e4c80f' initialized, failed start. please see attached cause exception. starting neo4j failed: component 'org.neo4j.server.database.lifecyclemanagingdatabase@77e4c80f' initialized, failed start. please see attached cause exception. org.neo4j.server.serverstartupexception: starting neo4j failed: component 'org.neo4j.server.database.lifecyclemanagingdatabase@77e4c80f' initialized, failed start. please see attached cause exception.         @ org.neo4j.server.exception.serverstartuperrors.translatetoserverstartuperror(serverstartuperrors.java:67)         @ org.neo4j.server.abstractneoserver.start(abstractneoserver.java:234)         @ org.neo4j.server.bootstrapper.start(bootstrapper.java:97)         @ org.neo4j.server.communitybootstrapper.start(communitybootstrapper.java:48)         @ org.neo4j.server.communitybootstrapper.main(communitybootstrapper.java:35) caused by: org.neo4j.kernel.lifecycle.lifecycleexception: component 'org.neo4j.server.database.lifecyclemanagingdatabase@77e4c80f' initialized, failed start. please see attached cause exception.         @ org.neo4j.kernel.lifecycle.lifesupport$lifecycleinstance.start(lifesupport.java:462)         @ org.neo4j.kernel.lifecycle.lifesupport.start(lifesupport.java:111)         @ org.neo4j.server.abstractneoserver.start(abstractneoserver.java:194)         ... 3 more caused by: java.lang.runtimeexception: java.io.filenotfoundexception: /var/lib/neo4j/data/graph.db/messages.log (permission denied)         @ org.neo4j.kernel.impl.factory.platformmodule.createlogservice(platformmodule.java:261)         @ org.neo4j.kernel.impl.factory.platformmodule.<init>(platformmodule.java:140)         @ org.neo4j.kernel.impl.factory.graphdatabasefacadefactory.createplatform(graphdatabasefacadefactory.java:181)         @ org.neo4j.kernel.impl.factory.graphdatabasefacadefactory.newfacade(graphdatabasefacadefactory.java:124)         @ org.neo4j.kernel.impl.factory.communityfacadefactory.newfacade(communityfacadefactory.java:43)         @ org.neo4j.kernel.impl.factory.graphdatabasefacadefactory.newfacade(graphdatabasefacadefactory.java:108)         @ org.neo4j.server.communityneoserver$1.newgraphdatabase(communityneoserver.java:66)         @ org.neo4j.server.database.lifecyclemanagingdatabase.start(lifecyclemanagingdatabase.java:95)         @ org.neo4j.kernel.lifecycle.lifesupport$lifecycleinstance.start(lifesupport.java:452)         ... 5 more caused by: java.io.filenotfoundexception: /var/lib/neo4j/data/graph.db/messages.log (permission denied)         @ java.io.fileoutputstream.open0(native method)         @ java.io.fileoutputstream.open(fileoutputstream.java:270)         @ java.io.fileoutputstream.<init>(fileoutputstream.java:213)         @ org.neo4j.io.fs.defaultfilesystemabstraction.openasoutputstream(defaultfilesystemabstraction.java:61)         @ org.neo4j.io.file.files.createoropenasouputstream(files.java:47)         @ org.neo4j.logging.rotatingfileoutputstreamsupplier.openoutputfile(rotatingfileoutputstreamsupplier.java:254)         @ org.neo4j.logging.rotatingfileoutputstreamsupplier.<init>(rotatingfileoutputstreamsupplier.java:138)         @ org.neo4j.logging.rotatingfileoutputstreamsupplier.<init>(rotatingfileoutputstreamsupplier.java:122)         @ org.neo4j.kernel.impl.logging.storelogservice.<init>(storelogservice.java:164)         @ org.neo4j.kernel.impl.logging.storelogservice.<init>(storelogservice.java:43)         @ org.neo4j.kernel.impl.logging.storelogservice$builder.tofile(storelogservice.java:110)         @ org.neo4j.kernel.impl.logging.storelogservice$builder.instoredirectory(storelogservice.java:105)         @ org.neo4j.kernel.impl.factory.platformmodule.createlogservice(platformmodule.java:252)         ... 13 more 


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -