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.

Problem while installing community server edition

Hello,
Sorry, but I´m new concerning installing software in a server.
I´m trying to install community server edition in a Linux server, but I get stuck at this point, while starting neo4j from the server console. I receive two permission denied messages.
I receive this message:

/home/ubuntu$ neo4j start
Directories in use:
home: /var/lib/neo4j
config: /etc/neo4j
logs: /var/log/neo4j
plugins: /var/lib/neo4j/plugins
import: /var/lib/neo4j/import
data: /var/lib/neo4j/data
certificates: /var/lib/neo4j/certificates
run: /var/run/neo4j
/usr/share/neo4j/bin/neo4j: line 372: /var/run/neo4j/neo4j.pid: Permission denied
/usr/share/neo4j/bin/neo4j: line 371: /var/log/neo4j/neo4j.log: Permission denied
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.

Can anyone help me?

2 REPLIES 2

Check the permission in the log file. The Neo4j database needs to be able to read+write to the log folder. On Linux look up the commands chown and chmod

Hi Mike,
Thank you for your answer
I think Neo4j has started, but I can´t reach it through localhost:7474.

what I see on my screen right now is this:

Oct 13 12:17:40 euqu-nosql systemd[1]: Started Neo4j Graph Database.
Oct 13 12:17:41 euqu-nosql neo4j[3694]: Directories in use:
Oct 13 12:17:41 euqu-nosql neo4j[3694]: home: /var/lib/neo4j
Oct 13 12:17:41 euqu-nosql neo4j[3694]: config: /etc/neo4j
Oct 13 12:17:41 euqu-nosql neo4j[3694]: logs: /var/log/neo4j
Oct 13 12:17:41 euqu-nosql neo4j[3694]: plugins: /var/lib/neo4j/plugins
Oct 13 12:17:41 euqu-nosql neo4j[3694]: import: /var/lib/neo4j/import
Oct 13 12:17:41 euqu-nosql neo4j[3694]: data: /var/lib/neo4j/data
Oct 13 12:17:41 euqu-nosql neo4j[3694]: certificates: /var/lib/neo4j/certificates
Oct 13 12:17:41 euqu-nosql neo4j[3694]: run: /var/run/neo4j
Oct 13 12:17:41 euqu-nosql neo4j[3694]: Starting Neo4j.
Oct 13 12:17:42 euqu-nosql neo4j[3694]: 2020-10-13 12:17:42.464+0000 INFO Starting...
Oct 13 12:17:46 euqu-nosql neo4j[3694]: 2020-10-13 12:17:46.607+0000 INFO ======== Neo4j 4.1.3 ========
Oct 13 12:17:49 euqu-nosql neo4j[3694]: 2020-10-13 12:17:49.080+0000 INFO Performing postInitialization step for component 'security-users' with version 2 and status CURRENT
Oct 13 12:17:49 euqu-nosql neo4j[3694]: 2020-10-13 12:17:49.081+0000 INFO Updating the initial password in component 'security-users'
Oct 13 12:17:49 euqu-nosql neo4j[3694]: 2020-10-13 12:17:49.509+0000 INFO Bolt enabled on localhost:7687.
Oct 13 12:17:51 euqu-nosql neo4j[3694]: 2020-10-13 12:17:51.594+0000 INFO Remote interface available at http://localhost:7474/
Oct 13 12:17:51 euqu-nosql neo4j[3694]: 2020-10-13 12:17:51.595+0000 INFO Started.