Neo4j Error

87 views
Skip to first unread message

Maykel Farha

unread,
Feb 22, 2012, 2:11:20 PM2/22/12
to ne...@googlegroups.com, daniel.m...@gmail.com
Hello,

I am running Neo4j Server 1.6.1 Community version, on Centos 6.2

It is on a virtual machine, which was turned off without turning off Neo4j properly, when i restarted the machine, i got an error saying

"Bad level value for property: org.neo4j.server.level"

and the server would not start, then i deleted the files and started again with a fresh installation but i am still getting the same error. But now the server does start.

Does the server write files outside the installation folder?

Is there a Linux version where Neo works best?

In case the server is not shutdown properly or the graph has an error starting up is there a way to repair the database files?


Thanks in advance!


Maykel Farha

unread,
Feb 27, 2012, 11:15:59 AM2/27/12
to ne...@googlegroups.com
This happened to me again! can anybody help please...

Thank you!

Peter Neubauer

unread,
Feb 27, 2012, 11:17:37 AM2/27/12
to ne...@googlegroups.com
Maykel,
are you seeing this in the logs? In that case, could you make the
whole things available somewhere like Dropbox or so, so we can have a
look?

Cheers,

/peter neubauer

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

Neo4j 1.6 released                 - dzone.com/6S4K
The Neo4j Heroku Challenge   - http://neo4j-challenge.herokuapp.com/

Maykel Farha

unread,
Feb 27, 2012, 11:40:20 AM2/27/12
to ne...@googlegroups.com
when the server shuts down unexpectedly it happens, Neo4j won't start it just prints

[root@dyn098 bin]# ./neo4j start
Starting Neo4j Server...Bad level value for property: org.neo4j.server.level
[root@dyn098 bin]# 

in the log:
Feb 27, 2012 10:21:20 AM org.neo4j.server.logging.Logger log
SEVERE: 
Throwable occurred: java.lang.IllegalArgumentException
at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:278)
at org.neo4j.kernel.impl.storemigration.CurrentDatabase.storeFilesAtCurrentVersion(CurrentDatabase.java:75)
at org.neo4j.server.storemigration.PreStartupStoreUpgrader.run(PreStartupStoreUpgrader.java:79)
at org.neo4j.server.storemigration.PreStartupStoreUpgrader.main(PreStartupStoreUpgrader.java:52)


Thank you!

On Monday, February 27, 2012 10:17:37 AM UTC-6, Peter Neubauer wrote:
Maykel,
are you seeing this in the logs? In that case, could you make the
whole things available somewhere like Dropbox or so, so we can have a
look?

Cheers,

/peter neubauer

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

Neo4j 1.6 released                 - dzone.com/6S4K
The Neo4j Heroku Challenge   - http://neo4j-challenge.herokuapp.com/

Dan M

unread,
Feb 28, 2012, 4:25:57 PM2/28/12
to ne...@googlegroups.com
This happened again!

We can't figure out how to restore it, we are using CentOS 6.2




On Monday, February 27, 2012 10:17:37 AM UTC-6, Peter Neubauer wrote:
Maykel,
are you seeing this in the logs? In that case, could you make the
whole things available somewhere like Dropbox or so, so we can have a
look?

Cheers,

/peter neubauer

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

Neo4j 1.6 released                 - dzone.com/6S4K
The Neo4j Heroku Challenge   - http://neo4j-challenge.herokuapp.com/

Peter Neubauer

unread,
Feb 28, 2012, 4:28:21 PM2/28/12
to ne...@googlegroups.com

OK,
Is it possible to zip up the thing and get me access to it or repeat it with test data?

Send from a device with crappy keyboard and autocorrection.

/peter

Peter Neubauer

unread,
Feb 29, 2012, 10:18:14 AM2/29/12
to ne...@googlegroups.com
Daniel,
this looks like a bug. Could you please file it?

Cheers,

/peter neubauer

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

Neo4j 1.6 released                 - dzone.com/6S4K
The Neo4j Heroku Challenge   - http://neo4j-challenge.herokuapp.com/

Peter Neubauer

unread,
Mar 2, 2012, 5:06:41 AM3/2/12
to ne...@googlegroups.com
So,
there are two issues here. One was a bug in the store upgrader resulting in the

"Bad level value for property: org.neo4j.server.level"

which is fixed now in master by Alistair Jones.

The other one is the installation on CentOS not being tested and
supported in QA by us. Could you please download the latest
1.7-SNAPSHOT and check for this to be fixed? As for CentOS. If there
are problems, it would be great if you could describe what we need to
do to fix installation there.

Cheers,

/peter neubauer

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

Neo4j 1.6 released                 - dzone.com/6S4K
The Neo4j Heroku Challenge   - http://neo4j-challenge.herokuapp.com/

Maykel Farha

unread,
Mar 2, 2012, 12:46:14 PM3/2/12
to ne...@googlegroups.com
Hi,

I tested the 1.7-SNAPSHOT on CentOS 6.2

The installation is still failing with the same error:
it is missing the "update-rc.d" command, which is only available on Debian but not on ReadHat/CentOS here is a link with more on that:

After the failed installation (this a new VM there are no previous installations) if i try to run neo, i get the upgrader exception.

After that i tried a fresh installation by only running neo it ran ok but i am still getting the "Bad level value for property: org.neo4j.server.level"


Thank you!

On Friday, March 2, 2012 4:06:41 AM UTC-6, Peter Neubauer wrote:
So,
there are two issues here. One was a bug in the store upgrader resulting in the

"Bad level value for property: org.neo4j.server.level"

which is fixed now in master by Alistair Jones.

The other one is the installation on CentOS not being tested and
supported in QA by us. Could you please download the latest
1.7-SNAPSHOT and check for this to be fixed? As for CentOS. If there
are problems, it would be great if you could describe what we need to
do to fix installation there.

Cheers,

/peter neubauer

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

Neo4j 1.6 released                 - dzone.com/6S4K
The Neo4j Heroku Challenge   - http://neo4j-challenge.herokuapp.com/

On Wed, Feb 29, 2012 at 4:18 PM, Peter Neubauer

Peter Neubauer

unread,
Mar 2, 2012, 1:10:27 PM3/2/12
to ne...@googlegroups.com, Alistair Jones, Julian Simpson
Maykel,
it seems that the builds you download are old, we need to fix the deployment of the snapshots. Sorry for the inconvenience, will report back when it is fixed.


Cheers,

/peter neubauer

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

Neo4j 1.6 released                 - dzone.com/6S4K
The Neo4j Heroku Challenge   - http://neo4j-challenge.herokuapp.com/


Maykel Farha

unread,
Mar 2, 2012, 5:15:26 PM3/2/12
to ne...@googlegroups.com, Alistair Jones, Julian Simpson
ok thank you!

we changed from CentOS to Debian 6 meanwhile. 

the installer works fine, and the service too! :)

even if the server is powered off on restart Neo4j starts on its own as it should do.

It would be very nice for it to work this way on RedHat/CentOS these are important enterprise servers that a lot of people use.


On Friday, March 2, 2012 12:10:27 PM UTC-6, Peter Neubauer wrote:
Maykel,
it seems that the builds you download are old, we need to fix the deployment of the snapshots. Sorry for the inconvenience, will report back when it is fixed.

Cheers,

/peter neubauer

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

Neo4j 1.6 released                 - dzone.com/6S4K
The Neo4j Heroku Challenge   - http://neo4j-challenge.herokuapp.com/


Peter Neubauer

unread,
Mar 3, 2012, 1:14:02 AM3/3/12
to ne...@googlegroups.com, Julian Simpson, Alistair Jones

I agree with you,
It's a matter of bandwidth though. If you get the scripts working on CentOS, could you send us a diff? Also, might be best to build a RPM for RH?

Send from a device with crappy keyboard and autocorrection.

/peter

Maykel Farha

unread,
Mar 3, 2012, 12:51:06 PM3/3/12
to ne...@googlegroups.com, Julian Simpson, Alistair Jones
I am not an expert on that subject, i would have to do some research on it 

if i get a little free time i will.

i really appreciate all your work, love Neo and specially the SpringDataNeo4j makes it really easy for spring/java developers :)

thanks


On Saturday, March 3, 2012 12:14:02 AM UTC-6, Peter Neubauer wrote:

I agree with you,
It's a matter of bandwidth though. If you get the scripts working on CentOS, could you send us a diff? Also, might be best to build a RPM for RH?

Send from a device with crappy keyboard and autocorrection.

/peter

Peter Neubauer

unread,
Mar 6, 2012, 9:24:18 AM3/6/12
to ne...@googlegroups.com
Thanks Maykel,


Cheers,

/peter neubauer

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

Neo4j 1.6 released                 - dzone.com/6S4K
The Neo4j Heroku Challenge   - http://neo4j-challenge.herokuapp.com/


Reply all
Reply to author
Forward
0 new messages