[Neo4j] Re: Neo4j cant't start after wrong shutdown: PageCache error

2017-08-25 Thread 'Rik Van Bruggen' via Neo4j
It seems like the most common cause for this is incorrect file permissions 
on the store files. Have you checked these?

https://neo4j.com/developer/kb/how-to-fix-cannot-close-the-pagecache-while-files-are-still-mapped/

Rik

On Tuesday, June 9, 2015 at 1:02:26 AM UTC+2, Péterson Sampaio Procópio 
Júnior wrote:
>
> Hello all,
>
> after what was probably a wrong shutdown, I am failing to start Neo4j 
> server. The error occurred in the 2.2.0 windows version of Neo4j. I 
> upgraded to 2.2.2, but it still remains.
> The relevant log message follows below. I think the error is related, as 
> the message says, to the cache mechanism.
>
>
> 2015-06-08 19:48:05.251+ ERROR [o.n.s.d.LifecycleManagingDatabase]: 
>> Failed to start database.
>> org.neo4j.kernel.lifecycle.LifecycleException: Failed to transition 
>> component 'org.neo4j.kernel.impl.pagecache.PageCacheLifecycle@5f8dbdab' 
>> from STOPPED to SHUTTING_DOWN. Please see attached cause exception
>> ...
>> Caused by: java.lang.IllegalStateException: Cannot close the PageCache 
>> while files are still mapped:
>> neostore.propertystore.db.index (1 mapping)
>> neostore.propertystore.db.index.keys (1 mapping)
>> neostore.labeltokenstore.db (1 mapping)
>> neostore.labeltokenstore.db.names (1 mapping)
>> neostore.relationshiptypestore.db (1 mapping)
>> neostore.relationshiptypestore.db.names (1 mapping)
>> at 
>> org.neo4j.io.pagecache.impl.muninn.MuninnPageCache.close(MuninnPageCache.java:483)
>>  
>> ~[neo4j-io-2.2.2.jar:2.2.2]
>> at 
>> org.neo4j.kernel.impl.pagecache.PageCacheLifecycle.shutdown(PageCacheLifecycle.java:42)
>>  
>> ~[neo4j-kernel-2.2.2.jar:2.2.2]
>> at 
>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.shutdown(LifeSupport.java:555)
>>  
>> [neo4j-kernel-2.2.2.jar:2.2.2]
>> ... 11 common frames omitted
>>
>
>
> The most similar situation I found, and it's solution, are described in 
> this stackoverflow answe 
> 
> r:
>
> I can think of two causes here:
>>
>>1. another java process is accessing some of the files, unless 
>>something other helps consider a kill -9 
>>2. double check the file permissions in your graph.db folder.
>>
>>
> However, this seems to not be the same case I am running into.
> Could anyone help me with this?
> I attached the relavant pieces of my messages.log.
>
> Thank you,
>
> Péterson
>
>
>

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


Re: [Neo4j] Re: Neo4j cant't start after wrong shutdown: PageCache error

2015-06-16 Thread Péterson Sampaio Procópio Júnior
Hello Mattias and Fyndee,

thank you a lot for the feedback.
After a while, I stopped trying to figure out what the issue was and simply
rebuilt my database. I know it is not the best solution.
If I encounter the error again I will post in this thread.

Best regards,

Péterson


On Thu, Jun 11, 2015 at 9:30 AM, Fyndee search 
wrote:

> Thanks a lot Mattias! I look forward to hearing from you once you manage
> to reproduce this issue.
>
> @ Péterson : Did you encounter this problem in windows environment like I
> did?
>
>
> On Thursday, 11 June 2015 13:44:55 UTC+2, Mattias Persson wrote:
>>
>> I think that the exception seen here is hiding the real exception.
>> Basically something goes wrong during startup and so neo4j tries to shut
>> down and back out before throwing that exception out to the user. Shutting
>> down somehow results in this exception and so that gets thrown instead of
>> the real exception. I'll have a look at trying to reproduce with dummy
>> exceptions at different points in startup.
>>
>> On Tuesday, June 9, 2015 at 1:02:26 AM UTC+2, Péterson Sampaio Procópio
>> Júnior wrote:
>>>
>>> Hello all,
>>>
>>> after what was probably a wrong shutdown, I am failing to start Neo4j
>>> server. The error occurred in the 2.2.0 windows version of Neo4j. I
>>> upgraded to 2.2.2, but it still remains.
>>> The relevant log message follows below. I think the error is related, as
>>> the message says, to the cache mechanism.
>>>
>>>
>>> 2015-06-08 19:48:05.251+ ERROR [o.n.s.d.LifecycleManagingDatabase]:
 Failed to start database.
 org.neo4j.kernel.lifecycle.LifecycleException: Failed to transition
 component 'org.neo4j.kernel.impl.pagecache.PageCacheLifecycle@5f8dbdab'
 from STOPPED to SHUTTING_DOWN. Please see attached cause exception
 ...
 Caused by: java.lang.IllegalStateException: Cannot close the PageCache
 while files are still mapped:
 neostore.propertystore.db.index (1 mapping)
 neostore.propertystore.db.index.keys (1 mapping)
 neostore.labeltokenstore.db (1 mapping)
 neostore.labeltokenstore.db.names (1 mapping)
 neostore.relationshiptypestore.db (1 mapping)
 neostore.relationshiptypestore.db.names (1 mapping)
 at
 org.neo4j.io.pagecache.impl.muninn.MuninnPageCache.close(MuninnPageCache.java:483)
 ~[neo4j-io-2.2.2.jar:2.2.2]
 at
 org.neo4j.kernel.impl.pagecache.PageCacheLifecycle.shutdown(PageCacheLifecycle.java:42)
 ~[neo4j-kernel-2.2.2.jar:2.2.2]
 at
 org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.shutdown(LifeSupport.java:555)
 [neo4j-kernel-2.2.2.jar:2.2.2]
 ... 11 common frames omitted

>>>
>>>
>>> The most similar situation I found, and it's solution, are described in
>>> this stackoverflow answe
>>> 
>>> r:
>>>
>>> I can think of two causes here:

1. another java process is accessing some of the files, unless
something other helps consider a kill -9 
2. double check the file permissions in your graph.db folder.


>>> However, this seems to not be the same case I am running into.
>>> Could anyone help me with this?
>>> I attached the relavant pieces of my messages.log.
>>>
>>> Thank you,
>>>
>>> Péterson
>>>
>>>
>>>  --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


[Neo4j] Re: Neo4j cant't start after wrong shutdown: PageCache error

2015-06-11 Thread Fyndee search
Thanks a lot Mattias! I look forward to hearing from you once you manage to 
reproduce this issue. 

@ Péterson : Did you encounter this problem in windows environment like I 
did?

On Thursday, 11 June 2015 13:44:55 UTC+2, Mattias Persson wrote:
>
> I think that the exception seen here is hiding the real exception. 
> Basically something goes wrong during startup and so neo4j tries to shut 
> down and back out before throwing that exception out to the user. Shutting 
> down somehow results in this exception and so that gets thrown instead of 
> the real exception. I'll have a look at trying to reproduce with dummy 
> exceptions at different points in startup.
>
> On Tuesday, June 9, 2015 at 1:02:26 AM UTC+2, Péterson Sampaio Procópio 
> Júnior wrote:
>>
>> Hello all,
>>
>> after what was probably a wrong shutdown, I am failing to start Neo4j 
>> server. The error occurred in the 2.2.0 windows version of Neo4j. I 
>> upgraded to 2.2.2, but it still remains.
>> The relevant log message follows below. I think the error is related, as 
>> the message says, to the cache mechanism.
>>
>>
>> 2015-06-08 19:48:05.251+ ERROR [o.n.s.d.LifecycleManagingDatabase]: 
>>> Failed to start database.
>>> org.neo4j.kernel.lifecycle.LifecycleException: Failed to transition 
>>> component 'org.neo4j.kernel.impl.pagecache.PageCacheLifecycle@5f8dbdab' 
>>> from STOPPED to SHUTTING_DOWN. Please see attached cause exception
>>> ...
>>> Caused by: java.lang.IllegalStateException: Cannot close the PageCache 
>>> while files are still mapped:
>>> neostore.propertystore.db.index (1 mapping)
>>> neostore.propertystore.db.index.keys (1 mapping)
>>> neostore.labeltokenstore.db (1 mapping)
>>> neostore.labeltokenstore.db.names (1 mapping)
>>> neostore.relationshiptypestore.db (1 mapping)
>>> neostore.relationshiptypestore.db.names (1 mapping)
>>> at 
>>> org.neo4j.io.pagecache.impl.muninn.MuninnPageCache.close(MuninnPageCache.java:483)
>>>  
>>> ~[neo4j-io-2.2.2.jar:2.2.2]
>>> at 
>>> org.neo4j.kernel.impl.pagecache.PageCacheLifecycle.shutdown(PageCacheLifecycle.java:42)
>>>  
>>> ~[neo4j-kernel-2.2.2.jar:2.2.2]
>>> at 
>>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.shutdown(LifeSupport.java:555)
>>>  
>>> [neo4j-kernel-2.2.2.jar:2.2.2]
>>> ... 11 common frames omitted
>>>
>>
>>
>> The most similar situation I found, and it's solution, are described in 
>> this stackoverflow answe 
>> 
>> r:
>>
>> I can think of two causes here:
>>>
>>>1. another java process is accessing some of the files, unless 
>>>something other helps consider a kill -9 
>>>2. double check the file permissions in your graph.db folder.
>>>
>>>
>> However, this seems to not be the same case I am running into.
>> Could anyone help me with this?
>> I attached the relavant pieces of my messages.log.
>>
>> Thank you,
>>
>> Péterson
>>
>>
>>

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


[Neo4j] Re: Neo4j cant't start after wrong shutdown: PageCache error

2015-06-11 Thread Mattias Persson
I think that the exception seen here is hiding the real exception. 
Basically something goes wrong during startup and so neo4j tries to shut 
down and back out before throwing that exception out to the user. Shutting 
down somehow results in this exception and so that gets thrown instead of 
the real exception. I'll have a look at trying to reproduce with dummy 
exceptions at different points in startup.

On Tuesday, June 9, 2015 at 1:02:26 AM UTC+2, Péterson Sampaio Procópio 
Júnior wrote:
>
> Hello all,
>
> after what was probably a wrong shutdown, I am failing to start Neo4j 
> server. The error occurred in the 2.2.0 windows version of Neo4j. I 
> upgraded to 2.2.2, but it still remains.
> The relevant log message follows below. I think the error is related, as 
> the message says, to the cache mechanism.
>
>
> 2015-06-08 19:48:05.251+ ERROR [o.n.s.d.LifecycleManagingDatabase]: 
>> Failed to start database.
>> org.neo4j.kernel.lifecycle.LifecycleException: Failed to transition 
>> component 'org.neo4j.kernel.impl.pagecache.PageCacheLifecycle@5f8dbdab' 
>> from STOPPED to SHUTTING_DOWN. Please see attached cause exception
>> ...
>> Caused by: java.lang.IllegalStateException: Cannot close the PageCache 
>> while files are still mapped:
>> neostore.propertystore.db.index (1 mapping)
>> neostore.propertystore.db.index.keys (1 mapping)
>> neostore.labeltokenstore.db (1 mapping)
>> neostore.labeltokenstore.db.names (1 mapping)
>> neostore.relationshiptypestore.db (1 mapping)
>> neostore.relationshiptypestore.db.names (1 mapping)
>> at 
>> org.neo4j.io.pagecache.impl.muninn.MuninnPageCache.close(MuninnPageCache.java:483)
>>  
>> ~[neo4j-io-2.2.2.jar:2.2.2]
>> at 
>> org.neo4j.kernel.impl.pagecache.PageCacheLifecycle.shutdown(PageCacheLifecycle.java:42)
>>  
>> ~[neo4j-kernel-2.2.2.jar:2.2.2]
>> at 
>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.shutdown(LifeSupport.java:555)
>>  
>> [neo4j-kernel-2.2.2.jar:2.2.2]
>> ... 11 common frames omitted
>>
>
>
> The most similar situation I found, and it's solution, are described in 
> this stackoverflow answe 
> 
> r:
>
> I can think of two causes here:
>>
>>1. another java process is accessing some of the files, unless 
>>something other helps consider a kill -9 
>>2. double check the file permissions in your graph.db folder.
>>
>>
> However, this seems to not be the same case I am running into.
> Could anyone help me with this?
> I attached the relavant pieces of my messages.log.
>
> Thank you,
>
> Péterson
>
>
>

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


[Neo4j] Re: Neo4j cant't start after wrong shutdown: PageCache error

2015-06-10 Thread Fyndee search
Hi Peterson, 

I ran into the same issue as you did i.e. "Caused by: 
java.lang.IllegalStateException: Cannot close the PageCache while files are 
still mapped"

I asked a question here in the group but no one answered yet. In case you 
manage to find a solution for your problem, can you please let me know?

These kind of crashes and lack of support from neo4j staff makes me think, 
I should walk away from Neo4j and revisit it at a later time.  

Thanks in advance!

VJ

On Tuesday, 9 June 2015 01:02:26 UTC+2, Péterson Sampaio Procópio Júnior 
wrote:
>
> Hello all,
>
> after what was probably a wrong shutdown, I am failing to start Neo4j 
> server. The error occurred in the 2.2.0 windows version of Neo4j. I 
> upgraded to 2.2.2, but it still remains.
> The relevant log message follows below. I think the error is related, as 
> the message says, to the cache mechanism.
>
>
> 2015-06-08 19:48:05.251+ ERROR [o.n.s.d.LifecycleManagingDatabase]: 
>> Failed to start database.
>> org.neo4j.kernel.lifecycle.LifecycleException: Failed to transition 
>> component 'org.neo4j.kernel.impl.pagecache.PageCacheLifecycle@5f8dbdab' 
>> from STOPPED to SHUTTING_DOWN. Please see attached cause exception
>> ...
>> Caused by: java.lang.IllegalStateException: Cannot close the PageCache 
>> while files are still mapped:
>> neostore.propertystore.db.index (1 mapping)
>> neostore.propertystore.db.index.keys (1 mapping)
>> neostore.labeltokenstore.db (1 mapping)
>> neostore.labeltokenstore.db.names (1 mapping)
>> neostore.relationshiptypestore.db (1 mapping)
>> neostore.relationshiptypestore.db.names (1 mapping)
>> at 
>> org.neo4j.io.pagecache.impl.muninn.MuninnPageCache.close(MuninnPageCache.java:483)
>>  
>> ~[neo4j-io-2.2.2.jar:2.2.2]
>> at 
>> org.neo4j.kernel.impl.pagecache.PageCacheLifecycle.shutdown(PageCacheLifecycle.java:42)
>>  
>> ~[neo4j-kernel-2.2.2.jar:2.2.2]
>> at 
>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.shutdown(LifeSupport.java:555)
>>  
>> [neo4j-kernel-2.2.2.jar:2.2.2]
>> ... 11 common frames omitted
>>
>
>
> The most similar situation I found, and it's solution, are described in 
> this stackoverflow answe 
> 
> r:
>
> I can think of two causes here:
>>
>>1. another java process is accessing some of the files, unless 
>>something other helps consider a kill -9 
>>2. double check the file permissions in your graph.db folder.
>>
>>
> However, this seems to not be the same case I am running into.
> Could anyone help me with this?
> I attached the relavant pieces of my messages.log.
>
> Thank you,
>
> Péterson
>
>
>

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