Hi,

I am running neo4j v1.4.2 as a Windows service and seem to be unable to
cleanly shutdown and restart the service.  If I stop and then restart the
Windows service, I get the following in the messages.log file and it
proceeds to go through the recovery process (which can take anywhere from
15 to 60 minutes).

Is there another (clean) way to stop and restart the service?

Thanks,

Kevin
------------------------------------------------------------

2011-12-08 14:51:06.057-0500: c:\neo4j\data\graph.db\neostore non clean
shutdown detected
2011-12-08 14:51:06.067-0500:
c:\neo4j\data\graph.db\neostore.relationshiptypestore.db non clean shutdown
detected
2011-12-08 14:51:06.075-0500:
c:\neo4j\data\graph.db\neostore.relationshiptypestore.db.names non clean
shutdown detected
2011-12-08 14:51:06.103-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db non clean shutdown detected
2011-12-08 14:51:06.105-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.strings non clean shutdown
detected
2011-12-08 14:51:06.115-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.index non clean shutdown
detected
2011-12-08 14:51:06.123-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.index.keys non clean
shutdown detected
2011-12-08 14:51:06.125-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.arrays non clean shutdown
detected
2011-12-08 14:51:06.127-0500:
c:\neo4j\data\graph.db\neostore.relationshipstore.db non clean shutdown
detected
2011-12-08 14:51:06.129-0500: c:\neo4j\data\graph.db\neostore.nodestore.db
non clean shutdown detected
2011-12-08 14:51:06.155-0500: Non clean shutdown detected on log
[c:\neo4j\data\graph.db\nioneo_logical.log.2]. Recovery started ...
2011-12-08 14:51:06.159-0500: [c:\neo4j\data\graph.db\nioneo_logical.log.2]
logVersion=53 with committed tx=3533582
2011-12-08 15:04:32.197-0500: [c:\neo4j\data\graph.db\nioneo_logical.log.2]
entries found=177304 lastEntryPos=7898318
2011-12-08 15:04:32.198-0500: Internal recovery completed, scanned 177304
log entries. Recovered 22214 transactions. Last tx recovered: 3555796
2011-12-08 15:04:32.198-0500:
XaResourceManager[c:\neo4j\data\graph.db\nioneo_logical.log] sorting 1 xids
2011-12-08 15:04:32.246-0500:
XaResourceManager[c:\neo4j\data\graph.db\nioneo_logical.log]
checkRecoveryComplete 0 xids
2011-12-08 15:04:32.917-0500:
c:\neo4j\data\graph.db\neostore.relationshiptypestore.db.names rebuild id
generator, highId=19 defragged count=0
2011-12-08 15:04:33.257-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.index.keys rebuild id
generator, highId=7 defragged count=0
2011-12-08 15:04:33.497-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.index rebuild id
generator, highId=6 defragged count=0
2011-12-08 15:04:33.701-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.strings rebuild id
generator, highId=805166 defragged count=0
2011-12-08 15:04:33.867-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db.arrays rebuild id
generator, highId=1 defragged count=0
2011-12-08 15:04:34.067-0500:
c:\neo4j\data\graph.db\neostore.propertystore.db rebuild id generator,
highId=7635062 defragged count=0
2011-12-08 15:04:34.309-0500:
c:\neo4j\data\graph.db\neostore.relationshipstore.db rebuild id generator,
highId=2052571 defragged count=0
2011-12-08 15:04:34.496-0500: c:\neo4j\data\graph.db\neostore.nodestore.db
rebuild id generator, highId=805167 defragged count=0
2011-12-08 15:04:34.747-0500: c:\neo4j\data\graph.db\neostore rebuild id
generator, highId=4 defragged count=0
2011-12-08 15:04:34.857-0500:
XaResourceManager[c:\neo4j\data\graph.db\nioneo_logical.log] recovery
completed.
2011-12-08 15:04:34.857-0500: Recovery on log
[c:\neo4j\data\graph.db\nioneo_logical.log.2] completed.
2011-12-08 15:04:34.983-0500: Non clean shutdown detected on log
[c:\neo4j\data\graph.db\index\lucene.log.2]. Recovery started ...
2011-12-08 15:04:34.984-0500: [c:\neo4j\data\graph.db\index\lucene.log.2]
logVersion=20 with committed tx=2858191
2011-12-08 15:07:34.590-0500: [c:\neo4j\data\graph.db\index\lucene.log.2]
entries found=13711 lastEntryPos=535043
2011-12-08 15:07:34.591-0500: Internal recovery completed, scanned 13711
log entries. Recovered 3428 transactions. Last tx recovered: 2861619
2011-12-08 15:07:34.591-0500:
XaResourceManager[c:\neo4j\data\graph.db\index\lucene.log] sorting 1 xids
2011-12-08 15:07:34.652-0500:
XaResourceManager[c:\neo4j\data\graph.db\index\lucene.log]
checkRecoveryComplete 0 xids
2011-12-08 15:07:34.652-0500:
XaResourceManager[c:\neo4j\data\graph.db\index\lucene.log] recovery
completed.
2011-12-08 15:07:34.652-0500: Recovery on log
[c:\neo4j\data\graph.db\index\lucene.log.2] completed.
2011-12-08 15:07:34.655-0500: TM opening log:
c:\neo4j\data\graph.db\tm_tx_log.1
2011-12-08 15:07:34.657-0500: TM non resolved transactions found in
c:\neo4j\data\graph.db\tm_tx_log.1
2011-12-08 15:07:34.661-0500: TM: no match found for in total 1 transaction
that should have been rolled back
2011-12-08 15:07:35.212-0500: Rotating
[c:\neo4j\data\graph.db\nioneo_logical.log.2] @ version=53 to
c:\neo4j\data\graph.db\nioneo_logical.log.1from position 7898323
2011-12-08 15:07:35.302-0500: Rotate: old log scanned, newLog @ pos=16
2011-12-08 15:07:35.394-0500: Log rotated, newLog @ pos=16 and version 54
2011-12-08 15:07:35.395-0500: Recovery completed, all transactions have
been resolved to a consistent state.
2011-12-08 15:07:35.413-0500: --- CONFIGURATION START ---
2011-12-08 15:07:35.413-0500: Physical mem: 12278MB, Heap size: 2728MB
2011-12-08 15:07:35.415-0500: Kernel version: Neo4j - Graph Database Kernel
1.4.2
2011-12-08 15:07:35.416-0500: Neo4j - Graph Database Kernel 1.4.2
2011-12-08 15:07:35.417-0500: Operating System: Windows Server 2008;
version: 6.0; arch: amd64; cpus: 8
2011-12-08 15:07:35.418-0500: VM Name: Java HotSpot(TM) 64-Bit Server VM
2011-12-08 15:07:35.418-0500: VM Vendor: Oracle Corporation
2011-12-08 15:07:35.418-0500: VM Version: 21.0-b17
2011-12-08 15:07:35.418-0500: Boot Class Path: C:\Program
Files\Java\jre7\lib\resources.jar;C:\Program
Files\Java\jre7\lib\rt.jar;C:\Program
Files\Java\jre7\lib\sunrsasign.jar;C:\Program
Files\Java\jre7\lib\jsse.jar;C:\Program
Files\Java\jre7\lib\jce.jar;C:\Program
Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\classes
2011-12-08 15:07:35.419-0500: Class Path:
c:\neo4j\bin\..\lib\geronimo-jta_1.1_spec-1.1.1.jar;c:\neo4j\bin\..\lib\lucene-core-3.1.0.jar;c:\neo4j\bin\..\lib\neo4j-backup-1.4.2.jar;c:\neo4j\bin\..\lib\neo4j-com-1.4.2.jar;c:\neo4j\bin\..\lib\neo4j-cypher-1.4.2.jar;c:\neo4j\bin\..\lib\neo4j-enterprise-1.4.2.jar;c:\neo4j\bin\..\lib\neo4j-graph-algo-1.4.2.jar;c:\neo4j\bin\..\lib\neo4j-graph-matching-1.4.2.jar;c:\neo4j\bin\..\lib\neo4j-ha-1.4.2.jar;c:\neo4j\bin\..\lib\neo4j-jmx-1.4.2.jar;c:\neo4j\bin\..\lib\neo4j-kernel-1.4.2.jar;c:\neo4j\bin\..\lib\neo4j-lucene-index-1.4.2.jar;c:\neo4j\bin\..\lib\neo4j-management-1.4.2.jar;c:\neo4j\bin\..\lib\neo4j-shell-1.4.2.jar;c:\neo4j\bin\..\lib\neo4j-udc-1.4.2.jar;c:\neo4j\bin\..\lib\org.apache.servicemix.bundles.jline-0.9.94_1.jar;c:\neo4j\bin\..\lib\org.apache.servicemix.bundles.netty-3.2.5.Final_1.jar;c:\neo4j\bin\..\lib\scala-library-2.9.0-1.jar;c:\neo4j\bin\..\lib\server-api-1.4.2.jar;c:\neo4j\bin\..\lib\slf4j-api-1.6.1.jar;c:\neo4j\bin\..\lib\zookeeper-3.3.2.jar;c:\neo4j\bin\..
 
\system\lib\antlr-2.7.7.jar;c:\neo4j\bin\..\system\lib\asm-3.1.jar;c:\neo4j\bin\..\system\lib\asm-analysis-3.2.jar;c:\neo4j\bin\..\system\lib\asm-commons-3.2.jar;c:\neo4j\bin\..\system\lib\asm-tree-3.2.jar;c:\neo4j\bin\..\system\lib\asm-util-3.2.jar;c:\neo4j\bin\..\system\lib\blueprints-core-0.9.jar;c:\neo4j\bin\..\system\lib\blueprints-neo4j-graph-0.9.jar;c:\neo4j\bin\..\system\lib\commons-beanutils-1.8.0.jar;c:\neo4j\bin\..\system\lib\commons-beanutils-core-1.8.0.jar;c:\neo4j\bin\..\system\lib\commons-collections-3.2.1.jar;c:\neo4j\bin\..\system\lib\commons-configuration-1.6.jar;c:\neo4j\bin\..\system\lib\commons-digester-1.8.1.jar;c:\neo4j\bin\..\system\lib\commons-io-1.4.jar;c:\neo4j\bin\..\system\lib\commons-lang-2.4.jar;c:\neo4j\bin\..\system\lib\commons-logging-1.1.1.jar;c:\neo4j\bin\..\system\lib\de.huxhorn.lilith.3rdparty.rrd4j-2.0.5.jar;c:\neo4j\bin\..\system\lib\gremlin-1.2.jar;c:\neo4j\bin\..\system\lib\groovy-1.8.1.jar;c:\neo4j\bin\..\system\lib\jackson-core-asl
 
-1.6.1.jar;c:\neo4j\bin\..\system\lib\jackson-jaxrs-1.6.1.jar;c:\neo4j\bin\..\system\lib\jackson-mapper-asl-1.6.1.jar;c:\neo4j\bin\..\system\lib\jansi-1.5.jar;c:\neo4j\bin\..\system\lib\jcl-over-slf4j-1.6.1.jar;c:\neo4j\bin\..\system\lib\jersey-core-1.3.jar;c:\neo4j\bin\..\system\lib\jersey-multipart-1.3.jar;c:\neo4j\bin\..\system\lib\jersey-server-1.3.jar;c:\neo4j\bin\..\system\lib\jettison-1.3.jar;c:\neo4j\bin\..\system\lib\jetty-6.1.25.jar;c:\neo4j\bin\..\system\lib\jetty-util-6.1.25.jar;c:\neo4j\bin\..\system\lib\jsr311-api-1.1.1.jar;c:\neo4j\bin\..\system\lib\mimepull-1.4.jar;c:\neo4j\bin\..\system\lib\neo4j-cypher-plugin-1.4.2.jar;c:\neo4j\bin\..\system\lib\neo4j-gremlin-plugin-1.4.2.jar;c:\neo4j\bin\..\system\lib\neo4j-server-1.4.2-static-web.jar;c:\neo4j\bin\..\system\lib\neo4j-server-1.4.2.jar;c:\neo4j\bin\..\system\lib\neo4j-server-advanced-1.4.2.jar;c:\neo4j\bin\..\system\lib\neo4j-server-enterprise-1.4.2.jar;c:\neo4j\bin\..\system\lib\pipes-0.7.jar;c:\neo4j\bin\.
 
.\system\lib\servlet-api-2.5-20081211.jar;c:\neo4j\bin\..\system\lib\slf4j-jdk14-1.6.1.jar;c:\neo4j\bin\..\system\lib\stax-api-1.0.1.jar;c:\neo4j\bin\..\system\coordinator\lib\log4j-1.2.16.jar;
2011-12-08 15:07:35.419-0500: Library Path:
C:\Windows\system32;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program
Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft
SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL
Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL
Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft
SQL Server\100\DTS\Binn\;C:\Windows\System32\WindowsPowerShell\v1.0\;.
2011-12-08 15:07:35.472-0500: Garbage Collector: PS Scavenge: [PS Eden
Space, PS Survivor Space]
2011-12-08 15:07:35.473-0500: Garbage Collector: PS MarkSweep: [PS Eden
Space, PS Survivor Space, PS Old Gen, PS Perm Gen]
2011-12-08 15:07:35.473-0500: VM Arguments:
[-Dorg.neo4j.server.properties=conf/neo4j-server.properties ,
-Dlog4j.configuration=file:conf/log4j.properties ,
-Djava.util.logging.config.file=conf/logging.properties ]
2011-12-08 15:07:35.473-0500:
2011-12-08 15:07:35.479-0500: create=true
2011-12-08 15:07:35.479-0500: enable_remote_shell=true
2011-12-08 15:07:35.480-0500: keep_logical_logs=true
2011-12-08 15:07:35.480-0500:
logical_log=c:\neo4j\data\graph.db\nioneo_logical.log
2011-12-08 15:07:35.480-0500: neo4j.ext.udc.source=server
2011-12-08 15:07:35.480-0500: neo_store=c:\neo4j\data\graph.db\neostore
2011-12-08 15:07:35.480-0500: neostore.nodestore.db.mapped_memory=25M
2011-12-08 15:07:35.480-0500:
neostore.propertystore.db.arrays.mapped_memory=130M
2011-12-08 15:07:35.480-0500:
neostore.propertystore.db.index.keys.mapped_memory=1M
2011-12-08 15:07:35.480-0500:
neostore.propertystore.db.index.mapped_memory=1M
2011-12-08 15:07:35.480-0500: neostore.propertystore.db.mapped_memory=90M
2011-12-08 15:07:35.481-0500:
neostore.propertystore.db.strings.mapped_memory=130M
2011-12-08 15:07:35.481-0500:
neostore.relationshipstore.db.mapped_memory=50M
2011-12-08 15:07:35.481-0500: node_auto_indexing=false
2011-12-08 15:07:35.481-0500: rebuild_idgenerators_fast=true
2011-12-08 15:07:35.481-0500: relationship_auto_indexing=false
2011-12-08 15:07:35.481-0500: store_dir=c:\neo4j\data\graph.db
2011-12-08 15:07:35.481-0500: use_memory_mapped_buffers=false
2011-12-08 15:07:35.481-0500: --- CONFIGURATION END ---
2011-12-08 15:07:35.993-0500: Extension
org.neo4j.kernel.KernelExtension[kernel jmx] loaded ok
2011-12-08 15:07:37.508-0500: Extension
org.neo4j.kernel.KernelExtension[shell] loaded ok
2011-12-08 15:07:37.511-0500: Extension
org.neo4j.kernel.KernelExtension[kernel udc] loaded ok
_______________________________________________
NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register 
and consider posting at https://groups.google.com/forum/#!forum/neo4j

Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to