Unable to start stardog-server


On Ubuntu 14.04, no matter I’m root or not, no matter the official java or the open-jdk, no matter the debian package or the downloaded one, I can’t start the server :

# stardog-admin server start
Guice provision errors:

1) Error injecting constructor, java.util.ConcurrentModificationException
  at com.complexible.stardog.security.impl.IndexBackedConsistentSystemSecurityManager.<init>(IndexBackedConsistentSystemSecurityManager.java:63)
(roughly 5 times the same error)
	at com.complexible.stardog.cli.admin.CLI.main(CLI.java:230)

5 errors

What did I wrong ?

Did you set $STARDOG_HOME?

I would suggest either going back and following the quick-start guide step by step, making sure you didn’t skip anything or provide a list of exactly what you did do and I can see if I can spot what you missed.

What exactly to you mean by “the debian package or the downloaded one”. I’m not quite sure what you’re referring to with “the downloaded one”.

Since you’re using Debian packages you might also want to try looking at the $STARDOG environment variable and seeing if it’s set and what it’s set to. You can also try logging out and back in just to make sure $STARDOG_HOME and/or $STARDOG get picked up.

Thank you. I set $STARDOG and I could get one step further (I’m using the downloaded version of Stardog, I got the link by email)
Now I get this error :

WARN  2018-07-03 16:21:19,994 [main] com.complexible.stardog.metadata.MetadataIO:readBytes(260): Unrecognized option in the metadata: update.bucket.size
... (14 times this error)
Index format is obsolete and automatic upgrade is disabled.

Did you have a previous version of Stardog installed and if so what version was it? If you did have data in an old version how much data is there and do you have a copy of the data?

If you are upgrading from an old version you can try starting stardog with stardog-admin server start --upgrade

Thank you again. The --upgrade option fixed it.
I’m trying Stardog both on my personal laptop, which I may administrate, or on a desktop computer on a wide network in my university : I’d like my students to use Stardog server.

By the way, I suggest you add in the documentation the requirement for the $STARDOG setting.

Now trying to move further, thanks of lot for your reactivity.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.