Neo4j 2.2.2 on Ubuntu 14.04, server fails to start, database readable by neo4j-shell

323 views
Skip to first unread message

Jay Pedersen

unread,
Jun 17, 2015, 4:13:11 PM6/17/15
to ne...@googlegroups.com
Hi,

I installed Neo4j 2.2.2 on an Ubuntu 14.04 server, from
'deb http://debian.neo4j.org/repo stable' as my apt-get repository,
and using apt-get install neo4j.

Ubuntu "uname -a" report:
Linux <machine> 3.13.0-55-generic #92~precise1-Ubuntu SMP Sun Jun 14 18:32:23 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

THE GOOD:

I am able to use neo4j-shell to build a neo4j database,
by giving it a script of CYPHER commands to execute
which creates a database.

I can then use neo4j-shell to process that database and
use the Cypher MATCH command to count nodes
(there are approximately 1.5 million nodes).

I have modified the /etc/neo4j/neo4j-server.properties
to set the database location.

THE BAD:

When I try to start the neo4j-service, it fails to start ==>

"""
sudo service neo4j-service start
[sudo] password for <me>
Starting Neo4j Server...WARNING: not changing user
process [18836]... waiting for server to be ready.... Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.
"""

THE LOG FILES:

The console.log looks like this:

2015-06-17 18:35:30.017+0000 INFO  [API] Setting startup timeout to: 120000ms based on 120000
2015-06-17 18:35:31.143+0000 INFO  [API] Successfully shutdown Neo4j Server.

the neo4j.0.0 log looks like:

Jun 17, 2015 12:21:54 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.18.1 02/19/2014 03:28 AM'

My server config non-commented lines:

org.neo4j.server.database.location=/sno/neo/intl_20150131
org.neo4j.server.db.tuning.properties=conf/neo4j.properties
org.neo4j.server.webserver.address=0.0.0.0
org.neo4j.server.webserver.port=7474
org.neo4j.server.webserver.https.enabled=true
org.neo4j.server.webserver.https.port=7473
org.neo4j.server.webserver.https.cert.location=conf/ssl/snakeoil.cert
org.neo4j.server.webserver.https.key.location=conf/ssl/snakeoil.key
org.neo4j.server.webserver.https.keystore.location=data/keystore
org.neo4j.server.http.log.enabled=false
org.neo4j.server.http.log.config=conf/neo4j-http-logging.xml
org.neo4j.server.webadmin.rrdb.location=data/rrd

The messages.log in the database directory appears a lot more interesting.  It is relatively large
and I append and example below (same behavior appears to repeat each restart attempt):

Any clue as to what might be going on or how to debug it?  Thanks!

-Jay Pedersen

messages.log example (long):

2015-06-17 18:14:50.889+0000 INFO  [org.neo4j]: No locking implementation specified, defaulting to 'community'
2015-06-17 18:14:51.065+0000 INFO  [org.neo4j]: --- INITIALIZED diagnostics START ---
2015-06-17 18:14:51.067+0000 INFO  [org.neo4j]: Neo4j Kernel properties:
    read_only=false
    store_dir=/sno/neo/intl_20150131/
    ephemeral=false
2015-06-17 18:14:51.075+0000 INFO  [org.neo4j]: Diagnostics providers:
    org.neo4j.kernel.configuration.Config
    org.neo4j.kernel.info.DiagnosticsManager
    SYSTEM_MEMORY
    JAVA_MEMORY
    OPERATING_SYSTEM
    JAVA_VIRTUAL_MACHINE
    CLASSPATH
    LIBRARY_PATH
    SYSTEM_PROPERTIES
    LINUX_SCHEDULERS
    NETWORK
2015-06-17 18:14:51.076+0000 INFO  [org.neo4j]: System memory information:
    Total Physical memory: 31.42 GB
    Free Physical memory: 23.02 GB
    Committed virtual memory: 9.29 GB
    Total swap space: 3.81 GB
    Free swap space: 3.81 GB
2015-06-17 18:14:51.084+0000 INFO  [org.neo4j]: JVM memory information:
    Free  memory: 296.42 MB
    Total memory: 482.00 MB
    Max   memory: 6.98 GB
    Garbage Collector: PS Scavenge: [PS Eden Space, PS Survivor Space]
    Garbage Collector: PS MarkSweep: [PS Eden Space, PS Survivor Space, PS Old Gen, PS Perm Gen]
    Memory Pool: Code Cache (Non-heap memory): committed=2.44 MB, used=592.69 kB, max=48.00 MB, threshold=0.00 B
    Memory Pool: PS Eden Space (Heap memory): committed=126.00 MB, used=70.03 MB, max=2.58 GB, threshold=?
    Memory Pool: PS Survivor Space (Heap memory): committed=21.00 MB, used=20.98 MB, max=21.00 MB, threshold=?
    Memory Pool: PS Old Gen (Heap memory): committed=335.00 MB, used=94.57 MB, max=5.24 GB, threshold=0.00 B
    Memory Pool: PS Perm Gen (Non-heap memory): committed=21.00 MB, used=7.46 MB, max=166.00 MB, threshold=0.00 B
2015-06-17 18:14:51.092+0000 INFO  [org.neo4j]: Operating system information:
    Operating System: Linux; version: 3.13.0-55-generic; arch: amd64; cpus: 4
    Max number of file descriptors: 40000
    Number of open file descriptors: 38
    Process id: 18509@wcampbel-02
    Byte order: LITTLE_ENDIAN
    Local timezone: America/Chicago
2015-06-17 18:14:51.104+0000 INFO  [org.neo4j]: JVM information:
    VM Name: OpenJDK 64-Bit Server VM
    VM Vendor: Oracle Corporation
    VM Version: 24.79-b02
    JIT compiler: HotSpot 64-Bit Tiered Compilers
    VM Arguments: [-Dapp.name=neo4j-shell, -Dapp.pid=18509, -Dapp.repo=/var/lib/neo4j/lib, -Dbasedir=/var/lib/neo4j, -Dfile.encoding=UTF-8]
2015-06-17 18:14:51.106+0000 INFO  [org.neo4j]: Java classpath:
     [loader.1] file:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/libatk-wrapper.so
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-io-2.2.2.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-graph-matching-2.2.2.jar
     [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar
     [loader.1] file:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/dnsns.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-import-tool-2.2.2.jar
     [classpath + loader.0] file:/d01/Snomed_G_Code/Build_SNOMED_G/
     [classpath + loader.0] file:/usr/share/neo4j/lib/server-api-2.2.2.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-graph-algo-2.2.2.jar
     [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/parboiled-core-1.1.7.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-primitive-collections-2.2.2.jar
     [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-cypher-2.2.2.jar
     [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-lucene-index-2.2.2.jar
     [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar
     [loader.1] file:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/zipfs.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-shell-2.2.2.jar
     [loader.1] file:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunpkcs11.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-cypher-compiler-2.2-2.2.2.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-udc-2.2.2.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-cypher-compiler-1.9-2.0.4.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-jmx-2.2.2.jar
     [loader.1] file:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/java-atk-wrapper.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-kernel-2.2.2.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-cypher-compiler-2.1-2.1.8.jar
     [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/classes
     [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/parboiled-scala_2.10-1.1.7.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-consistency-check-2.2.2.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/scala-library-2.10.5.jar
     [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar
     [bootstrap] /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/org.apache.servicemix.bundles.jline-0.9.94_1.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/opencsv-2.3.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-csv-2.2.2.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/concurrentlinkedhashmap-lru-1.4.jar
     [loader.1] file:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/icedtea-sound.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-cypher-compiler-2.0-2.0.4.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/lucene-core-3.6.2.jar
     [loader.1] file:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunjce_provider.jar
     [classpath + loader.0] file:/usr/share/neo4j/lib/neo4j-unsafe-2.2.2.jar
     [loader.1] file:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/localedata.jar
2015-06-17 18:14:51.111+0000 INFO  [org.neo4j]: Library path:
    /usr/java/packages/lib/amd64
    /usr/lib/x86_64-linux-gnu/jni
    /lib/x86_64-linux-gnu
    /usr/lib/x86_64-linux-gnu
    /usr/lib/jni
    /lib
    /usr/lib
2015-06-17 18:14:51.111+0000 INFO  [org.neo4j]: System.properties:
    sun.boot.library.path = /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
    path.separator = :
    file.encoding.pkg = sun.io
    user.country = US
    sun.java.launcher = SUN_STANDARD
    sun.os.patch.level = unknown
    user.dir = /d01/Snomed_G_Code/Build_SNOMED_G
    basedir = /var/lib/neo4j
    app.name = neo4j-shell
    sun.jnu.encoding = UTF-8
    app.repo = /var/lib/neo4j/lib
    sun.management.compiler = HotSpot 64-Bit Tiered Compilers
    user.home = /home/jpedersen
    user.timezone = America/Chicago
    file.encoding = UTF-8
    user.name = jpedersen
    sun.java.command = org.neo4j.shell.StartClient -path /sno/neo/intl_20150131/
    sun.arch.data.model = 64
    user.language = en
    awt.toolkit = sun.awt.X11.XToolkit
    file.separator = /
    sun.io.unicode.encoding = UnicodeLittle
    sun.cpu.endian = little
    app.pid = 18509
    sun.cpu.isalist =
2015-06-17 18:14:51.113+0000 INFO  [org.neo4j]: Linux scheduler information:
    noop [deadline] cfq
    noop [deadline] cfq
    noop [deadline] cfq
    noop [deadline] cfq
    noop [deadline] cfq
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
    none
2015-06-17 18:14:51.120+0000 INFO  [org.neo4j]: Network information:
    Interface eth0:
        address: fe80:0:0:0:20c:29ff:fedb:2ec0%2
        address: 137.197.247.163
    Interface lo:
        address: 0:0:0:0:0:0:0:1%1
        address: 127.0.0.1
2015-06-17 18:14:51.122+0000 INFO  [org.neo4j]: --- INITIALIZED diagnostics END ---
2015-06-17 18:14:51.758+0000 INFO  [org.neo4j]: IndexingService.init: index 1 on :label[0](property[0]) is ONLINE
2015-06-17 18:14:51.832+0000 INFO  [org.neo4j]: IndexingService.init: index 3 on :label[0](property[1]) is ONLINE
2015-06-17 18:14:51.962+0000 INFO  [org.neo4j]: IndexingService.init: index 5 on :label[1](property[0]) is ONLINE
2015-06-17 18:14:52.109+0000 INFO  [org.neo4j]: IndexingService.init: index 7 on :label[1](property[1]) is ONLINE
2015-06-17 18:14:52.179+0000 INFO  [org.neo4j]: IndexingService.init: index 9 on :label[1](property[2]) is ONLINE
2015-06-17 18:14:52.222+0000 INFO  [org.neo4j]: IndexingService.init: index 11 on :label[2](property[0]) is ONLINE
2015-06-17 18:14:52.298+0000 INFO  [org.neo4j]: IndexingService.init: index 13 on :label[2](property[1]) is ONLINE
2015-06-17 18:14:52.394+0000 INFO  [org.neo4j]: IndexingService.init: index 14 on :label[3](property[1]) is ONLINE
2015-06-17 18:14:52.432+0000 INFO  [org.neo4j]: Opened logical log [/sno/neo/intl_20150131/neostore.transaction.db.11] version=11, lastTxId=7043 (clean)
2015-06-17 18:14:52.441+0000 INFO  [org.neo4j]: IndexingService.start: index 1 on :RelationshipConcept(id) is ONLINE
2015-06-17 18:14:52.442+0000 INFO  [org.neo4j]: IndexingService.start: index 3 on :RelationshipConcept(sctid) is ONLINE
2015-06-17 18:14:52.442+0000 INFO  [org.neo4j]: IndexingService.start: index 5 on :ObjectConcept(id) is ONLINE
2015-06-17 18:14:52.442+0000 INFO  [org.neo4j]: IndexingService.start: index 7 on :ObjectConcept(sctid) is ONLINE
2015-06-17 18:14:52.442+0000 INFO  [org.neo4j]: IndexingService.start: index 9 on :ObjectConcept(FSN) is ONLINE
2015-06-17 18:14:52.442+0000 INFO  [org.neo4j]: IndexingService.start: index 11 on :Description(id) is ONLINE
2015-06-17 18:14:52.443+0000 INFO  [org.neo4j]: IndexingService.start: index 13 on :Description(sctid) is ONLINE
2015-06-17 18:14:52.443+0000 INFO  [org.neo4j]: IndexingService.start: index 14 on :RoleGroup(sctid) is ONLINE
2015-06-17 18:14:52.446+0000 INFO  [org.neo4j]: Recovering index sampling for index :Description(id)
2015-06-17 18:14:52.451+0000 INFO  [org.neo4j]: Sampled index :Description(id) with 0 unique values in sample of avg size 0 taken from index containing 0 entries
2015-06-17 18:14:52.459+0000 INFO  [org.neo4j]: Kernel health set to OK
2015-06-17 18:14:52.905+0000 INFO  [org.neo4j]: --- STARTED diagnostics for KernelDiagnostics:Versions START ---
2015-06-17 18:14:52.905+0000 INFO  [org.neo4j]: Graph Database: org.neo4j.kernel.EmbeddedGraphDatabase StoreId{creationTime=1434560987606, randomId=3179857117467023344, storeVersion=14969031248344582, upgradeTime=1434560987606, upgradeId=1}
2015-06-17 18:14:52.905+0000 INFO  [org.neo4j]: Kernel version: Neo4j - Graph Database Kernel (neo4j-kernel), version: 2.2.2
2015-06-17 18:14:52.905+0000 INFO  [org.neo4j]: Neo4j component versions:
2015-06-17 18:14:52.911+0000 INFO  [org.neo4j]:   Neo4j - Lucene Index (neo4j-lucene-index), version: 2.2.2; revision: 2.2.2:2.2:973/0ee8628da67da8c582a299d6aa109768be6886d7
2015-06-17 18:14:52.911+0000 INFO  [org.neo4j]:   Neo4j - JMX support (neo4j-jmx), version: 2.2.2; revision: 2.2.2:2.2:973/0ee8628da67da8c582a299d6aa109768be6886d7
2015-06-17 18:14:52.911+0000 INFO  [org.neo4j]:   Neo4j - Graph Matching (neo4j-graph-matching), version: 2.2.2; revision: 2.2.2:2.2:973/0ee8628da67da8c582a299d6aa109768be6886d7
2015-06-17 18:14:52.911+0000 INFO  [org.neo4j]:   Neo4j - Cypher Compiler 2.1 (neo4j-cypher-compiler-2.1), version: 2.1.8; revision: 2.1.8:2.1-maint:687/5c83ce3a5ddf33259593f719153ce71a6fe89fc7
2015-06-17 18:14:52.911+0000 INFO  [org.neo4j]:   Neo4j - Server API (server-api), version: 2.2.2; revision: 2.2.2:2.2:973/0ee8628da67da8c582a299d6aa109768be6886d7
2015-06-17 18:14:52.911+0000 INFO  [org.neo4j]:   Neo4j - Import Command Line Tool (neo4j-import-tool), version: 2.2.2; revision: 2.2.2:2.2:973/0ee8628da67da8c582a299d6aa109768be6886d7
2015-06-17 18:14:52.911+0000 INFO  [org.neo4j]:   Neo4j - Graph Database Kernel (neo4j-kernel), version: 2.2.2; revision: 2.2.2:2.2:973/0ee8628da67da8c582a299d6aa109768be6886d7
2015-06-17 18:14:52.911+0000 INFO  [org.neo4j]:   Neo4j - Cypher (neo4j-cypher), version: 2.2.2; revision: 2.2.2:2.2:973/0ee8628da67da8c582a299d6aa109768be6886d7
2015-06-17 18:14:52.911+0000 INFO  [org.neo4j]:   Neo4j - Graph Algorithms (neo4j-graph-algo), version: 2.2.2; revision: 2.2.2:2.2:973/0ee8628da67da8c582a299d6aa109768be6886d7
2015-06-17 18:14:52.911+0000 INFO  [org.neo4j]:   Neo4j - Cypher Compiler 2.2 (neo4j-cypher-compiler-2.2), version: 2.2.2; revision: 2.2.2:2.2:973/0ee8628da67da8c582a299d6aa109768be6886d7
2015-06-17 18:14:52.911+0000 INFO  [org.neo4j]:   Neo4j - Cypher Compiler 2.0 (neo4j-cypher-compiler-2.0), version: 2.0.4; revision: 2.0.4:2.0-maint:130/4a7d10bc274a5d26a180bbe9df25100e8a694748
2015-06-17 18:14:52.911+0000 INFO  [org.neo4j]:   Neo4j - Consistency Checker (neo4j-consistency-check), version: 2.2.2; revision: 2.2.2:2.2:973/0ee8628da67da8c582a299d6aa109768be6886d7
2015-06-17 18:14:52.912+0000 INFO  [org.neo4j]:   Neo4j - Generic shell (neo4j-shell), version: 2.2.2; revision: 2.2.2:2.2:973/0ee8628da67da8c582a299d6aa109768be6886d7
2015-06-17 18:14:52.912+0000 INFO  [org.neo4j]:   Neo4j - Cypher Compiler 1.9 (neo4j-cypher-compiler-1.9), version: 2.0.4; revision: 2.0.4:2.0-maint:130/4a7d10bc274a5d26a180bbe9df25100e8a694748
2015-06-17 18:14:52.912+0000 INFO  [org.neo4j]:   neo4j-udc, version: 2.2.2; revision: 2.2.2:2.2:973/0ee8628da67da8c582a299d6aa109768be6886d7
2015-06-17 18:14:52.912+0000 INFO  [org.neo4j]: --- STARTED diagnostics for KernelDiagnostics:Versions END ---
2015-06-17 18:14:52.913+0000 INFO  [org.neo4j]: --- STARTED diagnostics for NEO_STORE_VERSIONS START ---
2015-06-17 18:14:52.914+0000 INFO  [org.neo4j]: Store versions:
    Store versions:
      NeoStore v0.A.5
      SchemaStore v0.A.5
      NodeStore v0.A.5
      RelationshipStore v0.A.5
      RelationshipTypeStore v0.A.5
      LabelTokenStore v0.A.5
      PropertyStore v0.A.5
      PropertyIndexStore v0.A.5
      StringPropertyStore v0.A.5
      ArrayPropertyStore v0.A.5
      RelationshipGroupStore v0.A.5
2015-06-17 18:14:52.914+0000 INFO  [org.neo4j]: --- STARTED diagnostics for NEO_STORE_VERSIONS END ---
2015-06-17 18:14:52.914+0000 INFO  [org.neo4j]: --- STARTED diagnostics for NEO_STORE_ID_USAGE START ---
2015-06-17 18:14:52.914+0000 INFO  [org.neo4j]: Id usage:
    Id usage:
      SchemaStore: used=15 high=14
      NodeStore: used=1575316 high=1575315
      RelationshipStore: used=2413730 high=2413729
      RelationshipTypeStore: used=61 high=60
      LabelTokenStore: used=4 high=3
      PropertyStore: used=15088866 high=15088865
      PropertyIndexStore: used=23 high=22
      StringPropertyStore: used=821720 high=821719
      ArrayPropertyStore: used=1 high=0
      RelationshipGroupStore: used=17700 high=17699
2015-06-17 18:14:52.915+0000 INFO  [org.neo4j]: --- STARTED diagnostics for NEO_STORE_ID_USAGE END ---
2015-06-17 18:14:52.915+0000 INFO  [org.neo4j]: --- STARTED diagnostics for KernelDiagnostics:StoreFiles START ---
2015-06-17 18:14:52.915+0000 INFO  [org.neo4j]: Disk space on partition (Total / Free / Free %): 203398725632 / 196506501120 / 96
Storage files: (filename : modification date - size)
      index:
      - Total: 2015-06-17T12:09:47-0500 - 0.00 B
      lock: 2015-06-17T13:14:51-0500 - 0.00 B
      messages.log: 2015-06-17T13:14:52-0500 - 95.89 kB
      neostore: 2015-06-17T13:14:51-0500 - 99.00 B
      neostore.counts.db.a: 2015-06-17T12:20:49-0500 - 6.77 kB
      neostore.counts.db.b: 2015-06-17T13:12:34-0500 - 6.77 kB
      neostore.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.labeltokenstore.db: 2015-06-17T13:14:51-0500 - 20.00 B
      neostore.labeltokenstore.db.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.labeltokenstore.db.names: 2015-06-17T13:14:51-0500 - 190.00 B
      neostore.labeltokenstore.db.names.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.nodestore.db: 2015-06-17T13:14:51-0500 - 22.54 MB
      neostore.nodestore.db.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.nodestore.db.labels: 2015-06-17T13:14:51-0500 - 68.00 B
      neostore.nodestore.db.labels.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.propertystore.db: 2015-06-17T13:14:51-0500 - 589.98 MB
      neostore.propertystore.db.arrays: 2015-06-17T13:14:51-0500 - 128.00 B
      neostore.propertystore.db.arrays.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.propertystore.db.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.propertystore.db.index: 2015-06-17T13:14:51-0500 - 207.00 B
      neostore.propertystore.db.index.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.propertystore.db.index.keys: 2015-06-17T13:14:51-0500 - 912.00 B
      neostore.propertystore.db.index.keys.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.propertystore.db.strings: 2015-06-17T13:14:51-0500 - 100.31 MB
      neostore.propertystore.db.strings.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.relationshipgroupstore.db: 2015-06-17T13:14:51-0500 - 432.13 kB
      neostore.relationshipgroupstore.db.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.relationshipstore.db: 2015-06-17T13:14:51-0500 - 78.27 MB
      neostore.relationshipstore.db.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.relationshiptypestore.db: 2015-06-17T13:14:51-0500 - 305.00 B
      neostore.relationshiptypestore.db.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.relationshiptypestore.db.names: 2015-06-17T13:14:51-0500 - 2.30 kB
      neostore.relationshiptypestore.db.names.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.schemastore.db: 2015-06-17T13:14:51-0500 - 960.00 B
      neostore.schemastore.db.id: 2015-06-17T13:14:51-0500 - 9.00 B
      neostore.transaction.db.0: 2015-06-17T12:11:09-0500 - 250.26 MB
      neostore.transaction.db.1: 2015-06-17T12:11:39-0500 - 250.25 MB
      neostore.transaction.db.10: 2015-06-17T13:11:47-0500 - 16.00 B
      neostore.transaction.db.11: 2015-06-17T13:14:52-0500 - 16.00 B
      neostore.transaction.db.2: 2015-06-17T12:12:07-0500 - 250.55 MB
      neostore.transaction.db.3: 2015-06-17T12:12:36-0500 - 250.90 MB
      neostore.transaction.db.4: 2015-06-17T12:13:49-0500 - 250.07 MB
      neostore.transaction.db.5: 2015-06-17T12:15:14-0500 - 250.05 MB
      neostore.transaction.db.6: 2015-06-17T12:16:33-0500 - 250.22 MB
      neostore.transaction.db.7: 2015-06-17T12:17:42-0500 - 250.12 MB
      neostore.transaction.db.8: 2015-06-17T12:18:40-0500 - 203.45 MB
      neostore.transaction.db.9: 2015-06-17T12:20:27-0500 - 16.00 B
      schema:
        index:
          lucene:
            1:
              _2.cfs: 2015-06-17T12:10:58-0500 - 63.87 kB
              failure-message: 2015-06-17T12:09:49-0500 - 16.00 kB
              segments.gen: 2015-06-17T12:11:09-0500 - 20.00 B
              segments_2: 2015-06-17T12:11:09-0500 - 301.00 B
              write.lock: 2015-06-17T13:14:51-0500 - 0.00 B
            - Total: 2015-06-17T13:14:51-0500 - 80.19 kB
            11:
              failure-message: 2015-06-17T12:09:50-0500 - 16.00 kB
              segments.gen: 2015-06-17T12:09:50-0500 - 20.00 B
              segments_1: 2015-06-17T12:09:50-0500 - 46.00 B
              write.lock: 2015-06-17T13:14:52-0500 - 0.00 B
            - Total: 2015-06-17T13:14:52-0500 - 16.06 kB
            13:
              _177.cfs: 2015-06-17T12:12:21-0500 - 27.91 MB
              _1he.cfs: 2015-06-17T12:12:40-0500 - 8.16 MB
              _1jw.cfs: 2015-06-17T12:12:44-0500 - 2.02 MB
              _1l7.cfs: 2015-06-17T12:12:47-0500 - 990.10 kB
              _1l8.cfs: 2015-06-17T12:12:47-0500 - 18.58 kB
              failure-message: 2015-06-17T12:09:50-0500 - 16.00 kB
              segments.gen: 2015-06-17T12:13:49-0500 - 20.00 B
              segments_6: 2015-06-17T12:13:49-0500 - 1.26 kB
              write.lock: 2015-06-17T13:14:52-0500 - 0.00 B
            - Total: 2015-06-17T13:14:52-0500 - 39.09 MB
            14:
              _le.cfs: 2015-06-17T12:15:15-0500 - 7.79 MB
              _nm.cfs: 2015-06-17T12:15:16-0500 - 943.49 kB
              _ou.cfs: 2015-06-17T12:15:16-0500 - 467.68 kB
              _p5.cfs: 2015-06-17T12:15:17-0500 - 122.14 kB
              _pe.cfs: 2015-06-17T12:15:17-0500 - 95.91 kB
              failure-message: 2015-06-17T12:09:50-0500 - 16.00 kB
              segments.gen: 2015-06-17T12:16:33-0500 - 20.00 B
              segments_3: 2015-06-17T12:16:33-0500 - 1.29 kB
              write.lock: 2015-06-17T13:14:52-0500 - 0.00 B
            - Total: 2015-06-17T13:14:52-0500 - 9.40 MB
            3:
              _2.cfs: 2015-06-17T12:10:58-0500 - 63.87 kB
              failure-message: 2015-06-17T12:09:49-0500 - 16.00 kB
              segments.gen: 2015-06-17T12:11:09-0500 - 20.00 B
              segments_2: 2015-06-17T12:11:09-0500 - 301.00 B
              write.lock: 2015-06-17T13:14:51-0500 - 0.00 B
            - Total: 2015-06-17T13:14:51-0500 - 80.19 kB
            5:
              _an.cfs: 2015-06-17T12:10:34-0500 - 8.02 MB
              _fx.cfs: 2015-06-17T12:10:53-0500 - 4.04 MB
              _h8.cfs: 2015-06-17T12:10:57-0500 - 995.18 kB
              failure-message: 2015-06-17T12:09:50-0500 - 16.00 kB
              segments.gen: 2015-06-17T12:15:14-0500 - 20.00 B
              segments_3: 2015-06-17T12:15:14-0500 - 814.00 B
              write.lock: 2015-06-17T13:14:51-0500 - 0.00 B
            - Total: 2015-06-17T13:14:51-0500 - 13.04 MB
            7:
              _an.cfs: 2015-06-17T12:10:34-0500 - 8.02 MB
              _fx.cfs: 2015-06-17T12:10:53-0500 - 4.04 MB
              _h8.cfs: 2015-06-17T12:10:57-0500 - 995.18 kB
              failure-message: 2015-06-17T12:09:50-0500 - 16.00 kB
              segments.gen: 2015-06-17T12:15:14-0500 - 20.00 B
              segments_3: 2015-06-17T12:15:14-0500 - 814.00 B
              write.lock: 2015-06-17T13:14:52-0500 - 0.00 B
            - Total: 2015-06-17T13:14:52-0500 - 13.04 MB
            9:
              _e1.cfs: 2015-06-17T12:10:47-0500 - 16.41 MB
              _fp.cfs: 2015-06-17T12:10:52-0500 - 2.17 MB
              _gk.cfs: 2015-06-17T12:10:55-0500 - 1.06 MB
              _gz.cfs: 2015-06-17T12:10:56-0500 - 543.77 kB
              _h8.cfs: 2015-06-17T12:10:58-0500 - 277.86 kB
              _h8_1.del: 2015-06-17T12:15:14-0500 - 587.00 B
              failure-message: 2015-06-17T12:09:50-0500 - 16.00 kB
              segments.gen: 2015-06-17T12:15:14-0500 - 20.00 B
              segments_3: 2015-06-17T12:15:14-0500 - 1.29 kB
              write.lock: 2015-06-17T13:14:52-0500 - 0.00 B
            - Total: 2015-06-17T13:14:52-0500 - 20.46 MB
          - Total: 2015-06-17T12:09:50-0500 - 95.20 MB
        - Total: 2015-06-17T12:09:49-0500 - 95.20 MB
        label:
          lucene:
            _18m.cfs: 2015-06-17T12:11:50-0500 - 827.88 kB
            _18m_2.del: 2015-06-17T12:15:14-0500 - 52.00 B
            _1ul.cfs: 2015-06-17T12:12:31-0500 - 410.76 kB
            _1ul_1.del: 2015-06-17T12:12:36-0500 - 37.00 B
            _28c.cfs: 2015-06-17T12:15:07-0500 - 205.51 kB
            _28c_1.del: 2015-06-17T12:15:14-0500 - 37.00 B
            _2jb.cfs: 2015-06-17T12:15:12-0500 - 102.74 kB
            _2jb_1.del: 2015-06-17T12:15:14-0500 - 37.00 B
            _2sa.cfs: 2015-06-17T12:15:17-0500 - 83.95 kB
            segments.gen: 2015-06-17T12:16:33-0500 - 20.00 B
            segments_7: 2015-06-17T12:16:33-0500 - 1.29 kB
            write.lock: 2015-06-17T13:14:52-0500 - 0.00 B
          - Total: 2015-06-17T13:14:52-0500 - 1.59 MB
        - Total: 2015-06-17T12:09:47-0500 - 1.59 MB
      - Total: 2015-06-17T12:09:49-0500 - 96.80 MB
      store_lock: 2015-06-17T12:09:47-0500 - 0.00 B
2015-06-17 18:14:52.942+0000 INFO  [org.neo4j]: --- STARTED diagnostics for KernelDiagnostics:StoreFiles END ---
2015-06-17 18:14:52.978+0000 INFO  [org.neo4j]: Database is now ready
2015-06-17 18:15:08.999+0000 INFO  [org.neo4j]: Shutdown started
2015-06-17 18:15:09.000+0000 INFO  [org.neo4j]: Database is now unavailable
2015-06-17 18:15:09.010+0000 INFO  [org.neo4j]: About to rotate counts store at transaction 7043 to [/sno/neo/intl_20150131/neostore.counts.db.a], from [/sno/neo/intl_20150131/neostore.counts.db.b].
2015-06-17 18:15:09.024+0000 INFO  [org.neo4j]: Successfully rotated counts store at transaction 7043 to [/sno/neo/intl_20150131/neostore.counts.db.a], from [/sno/neo/intl_20150131/neostore.counts.db.b].
2015-06-17 18:15:09.071+0000 INFO  [org.neo4j]: NeoStore closed
2015-06-17 18:15:09.071+0000 INFO  [org.neo4j]: --- STOPPING diagnostics START ---
2015-06-17 18:15:09.071+0000 INFO  [org.neo4j]: --- STOPPING diagnostics END ---




Michael Hunger

unread,
Jun 17, 2015, 4:43:40 PM6/17/15
to ne...@googlegroups.com
Is there any exception in messages.log ?

what happens if you start "neo4j console" 

You must not have the shell running when you start the server

but when the server is running you can start shell without -path to connect to the running server.
Michael

--
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 neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jay Pedersen

unread,
Jun 17, 2015, 6:01:28 PM6/17/15
to ne...@googlegroups.com
Notes:

The neo4j-console has been existed before the server is attempted to be started.

The server is attempted to be started via the following command:

  sudo service neo4j-service start

That command finishes in about 5 seconds, saying that the server failed to start ... yet ...
messages.log seems to indicate the server runs for about 17 seconds before
it stops.  So, maybe there is something around the 5 second mark in the log that I
haven't figured out that indicates the real problem.

I don't see it though.  I just see "Database is now ready" after about 2 seconds,
and then about 6 seconds later "Shutdown started" and no error in-between.

I am looking at messages.log, console.log, and neo4j.0.0.log.

Is there anything else I should be looking at?

Question: I don't know from the "neo4j" command, I know about
neo4j-shell and "sudo service neo4j-service {start/stop/restart}".

To use the neo4j shell -- I use the -path and -command options.

Eg

  neo4j-shell -path /sno/neo/intl_20150131

I didn't know about, and don't see a "neo4j" command.

-Jay


Jay Pedersen

unread,
Jun 17, 2015, 8:59:28 PM6/17/15
to ne...@googlegroups.com
Notes:

The server comes up fine with the graph.db database that was installed with the neo4j,
it can be accessed from the web browser.

So, it seems to relate to the database that was created using neo4j-shell, at least,
that is my best guess at this point.

-Jay

Jay Pedersen

unread,
Jun 17, 2015, 9:19:54 PM6/17/15
to ne...@googlegroups.com
Notes:

Perhaps it might be a Java memory issue?

Any suggestions on how to configure the application to give it enough memory?  I have not done anything special in that regard yet.

The following made me wonder about that:


I also think I know where "neo4j" command is now, in $NEO4J_HOME/bin, is my guess, which would
be a sibling directory to the "/lib" directory which should exist and hold all the jar files for neo4j.
I just need to determine where $NEO4J_HOME is. :)

-Jay

Michael Hunger

unread,
Jun 18, 2015, 1:48:43 AM6/18/15
to ne...@googlegroups.com
/var/lib/neo4j/

There is also a data/logs

Can you share all config files?
And check permissions recursively on your new graphdb folder to the neo4j user?

Von meinem iPhone gesendet
--

Jay Pedersen

unread,
Jun 19, 2015, 11:27:38 AM6/19/15
to ne...@googlegroups.com
Hi,

I appeared to be able to start the server with the command "sudo neo4j start" after I established
the following in .bashrc:
 
NEO4J_HOME=/var/lib/neo4j
export NEO4J_HOME
PATH="$PATH:${NEO4J_HOME}/bin"
export PATH

Once this was in place, then the neo4j command was visible, and it appeared to be able to
start the server just fine.  Somehow this appears to differ from "sudo service neo4j-service start".
That's how it looks at the moment.

-Jay 

Michael Hunger

unread,
Jun 19, 2015, 2:32:49 PM6/19/15
to ne...@googlegroups.com
It should work out of the box I haven't seen any issue so far, I can only imagine that it is a permission issue.

--

Jay Pedersen

unread,
Jul 2, 2015, 3:18:27 PM7/2/15
to ne...@googlegroups.com
What I found, after installation, was that the "neo4j" command did not appear to exist.  This is why I was using the "service" command to try to start and stop the server -- and the server would not start.

Bottom line -- I installed the "neo4j" command, and then the "neo4j start" command ... successfully started the server.

How did I install the command?

I added the symbolic link

        /usr/local/sbin/neo4j

to point to

          /var/lib/neo4j/bin/neo4j

Note: I believe the neo4j-shell command was already in that location, which is why I installed the neo4j link.

It appears to me, perhaps incorrectly, that the installation did not install the neo4j command properly.
I documented the steps that I took to install neo4j on the ubuntu 14.04 box previously in the thread
(ending in sudo apt-get install neo4j, I think, after adding the location of the repository).
I don't believe there were any errors reported, and all said and done, a user would have neo4j-shell
but not "neo4j" as commands.

This was neo4j 2.2.x, I can provide the x if it is of importance (would have to investigate).

-Jay Pedersen
 
 
Reply all
Reply to author
Forward
0 new messages