cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

neo4j won't start; new installation

ecb
Node

Followed install steps and tried to start the service and it fails

 

 

Jan 13 12:32:16  neo4j[7031]: 2023-01-13 17:32:16.821+0000 INFO  Starting...
Jan 13 12:32:18  neo4j[7031]: Exception in thread "main" java.lang.UnsatisfiedLinkError: /var/lib/neo4j/.cache/JNA/temp/jna1011214>
Jan 13 12:32:18  neo4j[7031]:         at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
Jan 13 12:32:18  neo4j[7031]:         at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)
Jan 13 12:32:18  neo4j[7031]:         at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501)
Jan 13 12:32:18  neo4j[7031]:         at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700)
Jan 13 12:32:18  neo4j[7031]:         at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2630)
Jan 13 12:32:18  neo4j[7031]:         at java.base/java.lang.Runtime.load0(Runtime.java:768)
Jan 13 12:32:18  neo4j[7031]:         at java.base/java.lang.System.load(System.java:1837)
Jan 13 12:32:18  neo4j[7031]:         at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1019)
Jan 13 12:32:18  neo4j[7031]:         at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:989)
Jan 13 12:32:18  neo4j[7031]:         at com.sun.jna.Native.<clinit>(Native.java:195)
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.internal.unsafe.UnsafeUtil.allocateMemory(UnsafeUtil.java:385)
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.io.pagecache.impl.muninn.VictimPageReference.getVictimPage(VictimPageReference.>
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.io.pagecache.impl.muninn.MuninnPageCache.<init>(MuninnPageCache.java:395)
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.kernel.impl.pagecache.ConfiguringPageCacheFactory.createPageCache(ConfiguringPa>
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.kernel.impl.pagecache.ConfiguringPageCacheFactory.getOrCreatePageCache(Configur>
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.graphdb.factory.module.GlobalModule.createPageCache(GlobalModule.java:393)
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.graphdb.factory.module.GlobalModule.lambda$new$1(GlobalModule.java:234)
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.graphdb.factory.module.GlobalModule.tryResolveOrCreate(GlobalModule.java:281)
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.graphdb.factory.module.GlobalModule.<init>(GlobalModule.java:233)
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.createGlobalModule(DatabaseMana>
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.graphdb.facade.DatabaseManagementServiceFactory.build(DatabaseManagementService>
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.server.CommunityBootstrapper.createNeo(CommunityBootstrapper.java:36)
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:142)
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.server.NeoBootstrapper.start(NeoBootstrapper.java:95)
Jan 13 12:32:18  neo4j[7031]:         at org.neo4j.server.CommunityEntryPoint.main(CommunityEntryPoint.java:34)
Jan 13 12:32:18  neo4j[7031]: 2023-01-13 17:32:18.352+0000 INFO  Neo4j Server shutdown initiated by request
Jan 13 12:32:18  neo4j[7031]: 2023-01-13 17:32:18.354+0000 INFO  Stopped.

 

The above error got chopped, here is the full trace for the line

Jan 13 12:32:15  neo4j[6999]: Starting Neo4j.
Jan 13 12:32:16  neo4j[7031]: 2023-01-13 17:32:16.821+0000 INFO  Starting...
Jan 13 12:32:18  neo4j[7031]: Exception in thread "main" java.lang.UnsatisfiedLinkError: /var/lib/neo4j/.cache/JNA/temp/jna10112141433711279388.tmp: /var/lib/neo4j/.cache/JNA/temp/jna10112141433711279388.tmp: cannot open shared object file: Operation not permitted
Jan 13 

Also, I can't find my neo4j.config or even neo4j home.  

 

 

 yum list installed | grep neo4j
neo4j.noarch                                       4.4.16-1                                                    
[root@ bin]#

[root@ bin]# yum list installed | grep cypher
cypher-shell.noarch                                4.4.12-1                                                    @@commandline

[root@ bin]# find / -name neo4j
/var/log/neo4j
/var/lib/neo4j
/etc/rc.d/init.d/neo4j
/etc/default/neo4j
/etc/neo4j
/usr/bin/neo4j
/usr/share/doc/neo4j
/usr/share/neo4j
/usr/share/neo4j/bin/neo4j

[root@ ~]# neo4j --version
neo4j 4.4.16

[root@~]# java -version
openjdk version "11.0.17" 2022-10-18 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.17.0.8-2.el8_6) (build 11.0.17+8-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.17.0.8-2.el8_6) (build 11.0.17+8-LTS, mixed mode, sharing)

 

 

Any guidance would help.  Absolutely new to this product.

Thanks!

1 REPLY 1

ok, i found the neo4j.conf.... the install guide called it neo4j.config