Hi,
Originally they got the error about 'messages.log (Permission denied)' and
then under my account I changed the file messages.log permission to rw to
all. But they still got the following error when they used their account to
type "./bin/neo4j-shell -v -config ./conf/neo4j.properties -path
/my_dir_path/neo4j_db2":
ERROR (-v for expanded information):
Error starting org.neo4j.kernel.EmbeddedGraphDatabase,
/my_dir_path/neo4j_db2
java.lang.RuntimeException: Error starting
org.neo4j.kernel.EmbeddedGraphDatabase, /my_dir_path/neo4j_db2
at
org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:331)
at
org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:59)
at
org.neo4j.graphdb.factory.GraphDatabaseFactory.newDatabase(GraphDatabaseFactory.java:103)
at
org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase(GraphDatabaseFactory.java:90)
at
org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:176)
at
org.neo4j.shell.kernel.GraphDatabaseShellServer.instantiateGraphDb(GraphDatabaseShellServer.java:200)
at
org.neo4j.shell.kernel.GraphDatabaseShellServer.<init>(GraphDatabaseShellServer.java:63)
at
org.neo4j.shell.StartClient.tryStartLocalServerAndClient(StartClient.java:243)
at org.neo4j.shell.StartClient.startLocal(StartClient.java:230)
at org.neo4j.shell.StartClient.start(StartClient.java:162)
at org.neo4j.shell.StartClient.main(StartClient.java:124)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.impl.transaction.state.DataSourceManager@6f778bc3' was
successfully initialized, but failed to start. Please see attached cause
exception.
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:513)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:115)
at
org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:326)
... 10 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component
'org.neo4j.kernel.NeoStoreDataSource@34e236bc' was successfully
initialized, but failed to start. Please see attached cause exception.
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:513)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:115)
at
org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataSourceManager.java:117)
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:507)
... 12 more
Caused by: org.neo4j.kernel.impl.store.UnderlyingStorageException: Unable
to open file /my_dir_path/neo4j_db2/neostore.relationshiptypestore.db.names
at
org.neo4j.kernel.impl.store.CommonAbstractStore.checkStorage(CommonAbstractStore.java:171)
at
org.neo4j.kernel.impl.store.CommonAbstractStore.<init>(CommonAbstractStore.java:117)
at
org.neo4j.kernel.impl.store.AbstractDynamicStore.<init>(AbstractDynamicStore.java:92)
at
org.neo4j.kernel.impl.store.DynamicStringStore.<init>(DynamicStringStore.java:53)
at
org.neo4j.kernel.impl.store.StoreFactory.newDynamicStringStore(StoreFactory.java:204)
at
org.neo4j.kernel.impl.store.StoreFactory.newRelationshipTypeTokenStore(StoreFactory.java:223)
at
org.neo4j.kernel.impl.store.StoreFactory.newRelationshipTypeTokenStore(StoreFactory.java:210)
at
org.neo4j.kernel.impl.store.StoreFactory.newNeoStore(StoreFactory.java:160)
at
org.neo4j.kernel.NeoStoreDataSource.buildNeoStore(NeoStoreDataSource.java:569)
at
org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:476)
at
org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:507)
... 15 more
Caused by: java.io.FileNotFoundException:
/my_dir_path/neo4j_db2/neostore.relationshiptypestore.db.names (Permission
denied)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:233)
at
org.neo4j.io.fs.DefaultFileSystemAbstraction.open(DefaultFileSystemAbstraction.java:54)
at
org.neo4j.io.fs.DefaultFileSystemAbstraction.open(DefaultFileSystemAbstraction.java:45)
at
org.neo4j.kernel.impl.store.CommonAbstractStore.checkStorage(CommonAbstractStore.java:167)
... 25 more
On Thursday, March 26, 2015 at 10:35:19 AM UTC-7, Dawn Yu wrote:
>
> Hi,
>
> I created a database under my account directory on our server using import
> of neo4j-v2.2 and in my side it works well including Cypher. However,
> other
> people can't access the database:
>
> ./bin/neo4j-shell -v -config ./conf/neo4j.properties -path
> /my_dir_path/neo4j_db2
> ERROR (-v for expanded information):
> java.io.FileNotFoundException: /my_dir_path/neo4j_db2/messages.log
> (Permission denied)
>
> Is there any help? Thanks a lot!
> Dawn
>
>
>
--
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.