typing in Windows Cmd:
stardog-admin start server
the following error occurs: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Unable to load cache item
Java Details:
java version "19.0.1" 2022-10-18
Java(TM) SE Runtime Environment (build 19.0.1+10-21)
Java HotSpot(TM) 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing)
Okay switching to Ubuntu 20.04 LTS and installing StarDog as per instructions, The StarDog Service does not start with the following error:
systemctl status stardog
× stardog.service - Stardog Knowledge Graph
Loaded: loaded (/etc/systemd/system/stardog.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2022-11-04 11:57:55 EDT; 1min 58s ago
Docs: https://www.stardog.com/
Process: 6972 ExecStart=/opt/stardog/stardog-server.sh start (code=exited, status=0/SUCCESS)
Main PID: 7022 (code=exited, status=1/FAILURE)
CPU: 2.296s
Nov 04 11:57:44 roger-VirtualBox systemd[1]: stardog.service: Consumed 2.296s CPU time.
Nov 04 11:57:55 roger-VirtualBox systemd[1]: stardog.service: Scheduled restart job, restart counter>
Nov 04 11:57:55 roger-VirtualBox systemd[1]: Stopped Stardog Knowledge Graph.
Nov 04 11:57:55 roger-VirtualBox systemd[1]: stardog.service: Consumed 2.296s CPU time.
Nov 04 11:57:55 roger-VirtualBox systemd[1]: stardog.service: Start request repeated too quickly.
Nov 04 11:57:55 roger-VirtualBox systemd[1]: stardog.service: Failed with result 'exit-code'.
Nov 04 11:57:55 roger-VirtualBox systemd[1]: Failed to start Stardog Knowledge Graph.
openjdk version "1.8.0_342"
OpenJDK Runtime Environment (build 1.8.0_342-8u342-b07-0ubuntu1~22.04-b07)
OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)
Can you take a look in /var/opt/stardog. This is the location of $STARDOG_HOME by default. There should be a stardog.log in there. Is it possible you do not have a license located in your STARDOG_HOME ?
Ahhhh...
"A valid Stardog license was not found in /var/opt/stardog. Please copy your license file to this location or visit https://stardog.com to acquire a new license."
hmmm how does one obtain the license to run the StarDog Free Version on Ubuntu? Didn't see instructions for that for Ubuntu install.. kinda assumed it came in the install, but obviously not.
If you fill out the form here on our website: Download free with Stardog - Download Free Page | Stardog you should be emailed a license key with some restrictions. Once you have that, place it in $STARDOG_HOME and attempt to restart the service.
@noahgorstein Thanks! After obtaining the license and resolving permissions issues with placing the file to $STARDOG_HOME... Server is up and running and IDE connected!