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.

Installation missing "neo4j.pid" on Debian

etienne
Node Link

See below

  • Openjdk8 = OK

  • Debian repository= OK

  • apt-get install neo4j = OK

  • Initial password = error

  • Attempt to start: "neo4j.pid" and "neo4j.log" Permission denied and in fact missing. What is the purpose of these files and what should be their content ???
    ===========================================================
    etienne@etienne-desktop:~$ wget -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -
    --2019-08-26 18:09:32-- https://debian.neo4j.org/neotechnology.gpg.key
    Resolving debian.neo4j.org (debian.neo4j.org)... 35.173.119.152, 34.199.24.74
    Connecting to debian.neo4j.org (debian.neo4j.org)|35.173.119.152|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 4791 (4.7K) [application/octet-stream]
    Saving to: 'STDOUT'

  •                                        100%[============================================================================================>]   4.68K  --.-KB/s    in 0s      
    

2019-08-26 18:09:33 (388 MB/s) - written to stdout [4791/4791]

OK
etienne@etienne-desktop:~ echo 'deb https://debian.neo4j.org/repo stable/' | sudo tee /etc/apt/sources.list.d/neo4j.list deb https://debian.neo4j.org/repo stable/ etienne@etienne-desktop:~ sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://files.eid.belgium.be/debian bionic InRelease
Hit:3 http://files2.eid.belgium.be/debian bionic InRelease
Hit:4 http://ppa.launchpad.net/nextcloud-devs/client/ubuntu bionic InRelease
Hit:5 http://linux.teamviewer.com/deb stable InRelease
Get:6 http://archive.neon.kde.org/user bionic InRelease [153 kB]
Hit:7 http://ppa.launchpad.net/webupd8team/brackets/ubuntu bionic InRelease
Hit:8 http://repository.spotify.com stable InRelease
Ign:9 https://debian.neo4j.org/repo stable/ InRelease
Get:10 https://debian.neo4j.org/repo stable/ Release [1479 B]
Get:11 https://debian.neo4j.org/repo stable/ Release.gpg [819 B]
Hit:12 http://be.archive.ubuntu.com/ubuntu bionic InRelease
Hit:13 http://be.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:14 http://be.archive.ubuntu.com/ubuntu bionic-backports InRelease
Fetched 155 kB in 2s (68.8 kB/s)
Reading package lists... Done
etienne@etienne-desktop:~ sudo apt-get install neo4j=1:3.5.8 Reading package lists... Done Building dependency tree Reading state information... Done neo4j is already the newest version (1:3.5.8). Starting pkgProblemResolver with broken count: 0 Starting 2 pkgProblemResolver with broken count: 0 Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. etienne@etienne-desktop:~ /usr/bin/neo4j-admin set-initial-password neopasss
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
Error: Could not find or load main class org.neo4j.commandline.admin.AdminTool
etienne@etienne-desktop:~ ^C etienne@etienne-desktop:~ neo4j start
Active database: graph.db
Directories in use:
home: /var/lib/neo4j
config: /etc/neo4j
logs: /var/lib/neo4j/logs
plugins: /var/lib/neo4j/plugins
import: NOT SET
data: /var/lib/neo4j/data
certificates: /var/lib/neo4j/certificates
run: /var/lib/neo4j/run
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
/usr/share/neo4j/bin/neo4j: line 451: /var/lib/neo4j/run/neo4j.pid: Permission denied
/usr/share/neo4j/bin/neo4j: line 450: /var/lib/neo4j/logs/neo4j.log: Permission denied

0 REPLIES 0