Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
neo4j server not starting, gives error:- another server-process running it
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
divyanshu das  
View profile  
 More options Oct 13 2012, 8:15 am
From: divyanshu das <divyanshu....@gmail.com>
Date: Sat, 13 Oct 2012 05:15:36 -0700 (PDT)
Local: Sat, Oct 13 2012 8:15 am
Subject: neo4j server not starting, gives error:- another server-process running it

I am using EC2 with ubuntu 12.04.
I already have neo4j 1.6.1-community edition running on my ec2 production
server and on my local machine with the same configurations.

I setup a test server today copied neo4j "data" folder from production to
test ec2 instance and installed neo4j. but when i try to start, it gives
error:-

>>sudo service neo4j-service start

WARNING: Detected a limit of 1024 for maximum open files, while a minimum
value of 40000 is recommended.
WARNING: Problems with the operation of the server may occur. Please refer
to the Neo4j manual regarding lifting this limitation.
Starting Neo4j Server... process [22796]... waiting for server to be
ready...................................................................... ...................................................
BAD.
 another server-process is running with []

I have already increased in the file limits ass metioned in the docs. I
have tried removing and installing again.

Is there something I am missing here?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Hunger  
View profile  
 More options Oct 13 2012, 8:32 am
From: Michael Hunger <michael.hun...@neotechnology.com>
Date: Sat, 13 Oct 2012 14:31:57 +0200
Local: Sat, Oct 13 2012 8:31 am
Subject: Re: [Neo4j] neo4j server not starting, gives error:- another server-process running it
can you try to run

bin/neo4j console to see the output and share it

Michael

Am 13.10.2012 um 14:15 schrieb divyanshu das:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
divyanshu das  
View profile  
 More options Oct 13 2012, 8:41 am
From: divyanshu das <divyanshu....@gmail.com>
Date: Sat, 13 Oct 2012 05:41:43 -0700 (PDT)
Local: Sat, Oct 13 2012 8:41 am
Subject: Re: neo4j server not starting, gives error:- another server-process running it

when I try to run in console mode:-

>>sudo ./bin/neo4j console

WARNING: Detected a limit of 1024 for maximum open files, while a minimum
value of 40000 is recommended.
WARNING: Problems with the operation of the server may occur. Please refer
to the Neo4j manual regarding lifting this limitation.
Starting Neo4j Server console-mode...
10/13/12 12:40:45 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO:
Starting Neo Server on port [7474] with [40] threads available
10/13/12 12:40:45 PM org.neo4j.server.database.Database INFO: Using
database at /mnt/neo4j-community-1.6.1/data/graph.db
org.neo4j.graphdb.TransactionFailureException: Could not create data source
[nioneodb], see nested exception for cause of error
at
org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java :161)
at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:104)
at org.neo4j.kernel.EmbeddedGraphDbImpl.<init>(EmbeddedGraphDbImpl.java:190)
at
org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:77 )
at
org.neo4j.server.NeoServerBootstrapper$1.createDatabase(NeoServerBootstrapp er.java:65)
at org.neo4j.server.database.Database.createDatabase(Database.java:81)
at org.neo4j.server.database.Database.<init>(Database.java:64)
at
org.neo4j.server.NeoServerWithEmbeddedWebServer.startDatabase(NeoServerWith EmbeddedWebServer.java:181)
at
org.neo4j.server.NeoServerWithEmbeddedWebServer.start(NeoServerWithEmbedded WebServer.java:93)
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87)
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:52)
Caused by: java.lang.IllegalStateException: Unable to lock store
[/mnt/neo4j-community-1.6.1/data/graph.db/neostore], this is usually a
result of some other Neo4j kernel running using the same store.
at
org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.checkStorage(CommonA bstractStore.java:174)
at
org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.<init>(CommonAbstrac tStore.java:102)
at
org.neo4j.kernel.impl.nioneo.store.AbstractStore.<init>(AbstractStore.java: 119)
at org.neo4j.kernel.impl.nioneo.store.NeoStore.<init>(NeoStore.java:78)
at
org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.<init>(NeoStoreXaDataS ource.java:214)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce ssorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru ctorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at
org.neo4j.kernel.impl.transaction.XaDataSourceManager.create(XaDataSourceMa nager.java:77)
at
org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java :155)
... 10 more
10/13/12 12:40:45 PM org.neo4j.server.NeoServerBootstrapper SEVERE:
org.neo4j.graphdb.TransactionFailureException: Could not create data source
[nioneodb], see nested exception for cause of error
at
org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java :161)
at org.neo4j.kernel.GraphDbInstance.start(GraphDbInstance.java:104)
at org.neo4j.kernel.EmbeddedGraphDbImpl.<init>(EmbeddedGraphDbImpl.java:190)
at
org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:77 )
at
org.neo4j.server.NeoServerBootstrapper$1.createDatabase(NeoServerBootstrapp er.java:65)
at org.neo4j.server.database.Database.createDatabase(Database.java:81)
at org.neo4j.server.database.Database.<init>(Database.java:64)
at
org.neo4j.server.NeoServerWithEmbeddedWebServer.startDatabase(NeoServerWith EmbeddedWebServer.java:181)
at
org.neo4j.server.NeoServerWithEmbeddedWebServer.start(NeoServerWithEmbedded WebServer.java:93)
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87)
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:52)
Caused by: java.lang.IllegalStateException: Unable to lock store
[/mnt/neo4j-community-1.6.1/data/graph.db/neostore], this is usually a
result of some other Neo4j kernel running using the same store.
at
org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.checkStorage(CommonA bstractStore.java:174)
at
org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.<init>(CommonAbstrac tStore.java:102)
at
org.neo4j.kernel.impl.nioneo.store.AbstractStore.<init>(AbstractStore.java: 119)
at org.neo4j.kernel.impl.nioneo.store.NeoStore.<init>(NeoStore.java:78)
at
org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource.<init>(NeoStoreXaDataS ource.java:214)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce ssorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru ctorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at
org.neo4j.kernel.impl.transaction.XaDataSourceManager.create(XaDataSourceMa nager.java:77)
at
org.neo4j.kernel.impl.transaction.TxModule.registerDataSource(TxModule.java :155)
... 10 more
Exception in thread "main" java.lang.NullPointerException
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:96)
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:52)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Hunger  
View profile  
 More options Oct 13 2012, 10:06 am
From: Michael Hunger <michael.hun...@neopersistence.com>
Date: Sat, 13 Oct 2012 16:06:33 +0200
Local: Sat, Oct 13 2012 10:06 am
Subject: Re: [Neo4j] Re: neo4j server not starting, gives error:- another server-process running it

If you're sure that there is no other server running,(check with ps) you can remove the lockfile in the db directory.

Sent from mobile device

Am 13.10.2012 um 14:41 schrieb divyanshu das <divyanshu....@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mattias Persson  
View profile  
 More options Oct 23 2012, 8:33 am
From: Mattias Persson <matt...@neotechnology.com>
Date: Tue, 23 Oct 2012 14:33:49 +0200
Local: Tues, Oct 23 2012 8:33 am
Subject: Re: [Neo4j] Re: neo4j server not starting, gives error:- another server-process running it

The presence of the lock file isn't preventing a startup though, it's
whether it's locked or not. So deleting that file should never ever be
required.

2012/10/13 Michael Hunger <michael.hun...@neopersistence.com>

--
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
divyanshu das  
View profile  
 More options Nov 4 2012, 12:08 pm
From: divyanshu das <divyanshu....@gmail.com>
Date: Sun, 4 Nov 2012 09:08:21 -0800 (PST)
Local: Sun, Nov 4 2012 12:08 pm
Subject: Re: [Neo4j] Re: neo4j server not starting, gives error:- another server-process running it

Last time, i checked with ps aux | grep neo4j.... saw one process, killed
it and it started working.
Now I am again setting up a new server, I followed exactly the same steps
like earlier,
this time I am getting this error:-

mnt/neo4j-community-1.6.1/data$ sudo service neo4j-service start

WARNING: Detected a limit of 1024 for maximum open files, while a minimum
value of 40000 is recommended.
WARNING: Problems with the operation of the server may occur. Please refer
to the Neo4j manual regarding lifting this limitation.
Starting Neo4j Server... process [18187]... waiting for server to be
ready...................................................................... ...................................................
BAD.
 another server-process is running with []

I tried removing the lock file too, still getting same error.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Neubauer  
View profile  
 More options Nov 4 2012, 6:51 pm
From: Peter Neubauer <peter.neuba...@neotechnology.com>
Date: Sun, 4 Nov 2012 15:51:07 -0800
Local: Sun, Nov 4 2012 6:51 pm
Subject: Re: [Neo4j] Re: neo4j server not starting, gives error:- another server-process running it

What Neo4j version are you using? Could you try with Neo4j 1.8?

Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

Neo4j 1.8 GA -
http://www.dzone.com/links/neo4j_18_release_fluent_graph_literacy.html

On Sun, Nov 4, 2012 at 9:08 AM, divyanshu das <divyanshu....@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
divyanshu das  
View profile  
 More options Nov 5 2012, 12:18 am
From: divyanshu das <divyanshu....@gmail.com>
Date: Mon, 5 Nov 2012 10:47:42 +0530
Local: Mon, Nov 5 2012 12:17 am
Subject: Re: [Neo4j] Re: neo4j server not starting, gives error:- another server-process running it

I am using 1.6.1 community edition. The same configuration is working on a
different aws server. Our current implementation has been developed on
1.6.1 Will there be any problems with 1.8 ? Are all cypher queries used in
1.6.1 supported in 1.8?

On Mon, Nov 5, 2012 at 5:21 AM, Peter Neubauer <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
divyanshu das  
View profile  
 More options Nov 7 2012, 12:10 am
From: divyanshu das <divyanshu....@gmail.com>
Date: Tue, 6 Nov 2012 21:10:13 -0800 (PST)
Local: Wed, Nov 7 2012 12:10 am
Subject: Re: [Neo4j] Re: neo4j server not starting, gives error:- another server-process running it

I was able to start the neo4j server in neo4j 1.8 version using:-
sudo service neo4j start-no-wait

Earlier I was getting a time-out error.

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »