Having same issue: Cannot start Stardog server
printenv STARDOG_HOME
/Users/pdpark/stardog
Ran stardog-admin server start
command and a stardog-license-key.bin file was created. (Note: on the first run of the command, the STARDOG_HOME was incorrectly set to my $HOME directory; I fixed the STARDOG_HOME env var, copied the various stardog bin, pid, and log files to the correct STARDOG_HOME directory, then re-ran the command to start the server).
Error when running the command:
/usr/local/bin/stardog-admin: line 153: 17348 Killed: 9 "java" -Dstardog.home=/Users/pdpark/stardog/ -Xmx2g -Xms2g -XX:MaxDirectMemorySize=1500m -Djava.library.path=/usr/local/Cellar/stardog/7.4.5/bin/../lib -XX:SoftRefLRUPolicyMSPerMB=1 -XX:+UseParallelOldGC -XX:+UseCompressedOops -Djavax.xml.datatype.DatatypeFactory=org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl -Dapple.awt.UIElement=true -Dfile.encoding=UTF-8 -Dlog4j.configurationFile=/usr/local/Cellar/stardog/7.4.5/bin/../server/dbms/log4j2.xml -Dstardog.install.location=/usr/local/Cellar/stardog/7.4.5/bin/.. -server -classpath /usr/local/Cellar/stardog/7.4.5/bin/../client/ext/:/usr/local/Cellar/stardog/7.4.5/bin/../client/api/:/usr/local/Cellar/stardog/7.4.5/bin/../client/cli/:/usr/local/Cellar/stardog/7.4.5/bin/../client/http/:/usr/local/Cellar/stardog/7.4.5/bin/../client/pack/:/usr/local/Cellar/stardog/7.4.5/bin/../server/ext/:/usr/local/Cellar/stardog/7.4.5/bin/../server/dbms/ com.complexible.stardog.cli.admin.CLI server start >> /Users/pdpark/stardog//stardog.log 2>&1
stardog.log:
INFO 2021-01-04 11:51:20,660 [main] com.complexible.stardog.StardogLicense:main(441): Checking for valid license...
INFO 2021-01-04 11:51:20,665 [main] com.complexible.stardog.StardogLicense:main(447): No license found
INFO 2021-01-04 12:23:07,087 [main] com.complexible.stardog.StardogLicense:main(441): Checking for valid license...
INFO 2021-01-04 12:24:45,019 [main] com.complexible.stardog.StardogLicense:main(441): Checking for valid license...
INFO 2021-01-04 12:24:45,028 [main] com.complexible.stardog.StardogLicense:main(447): No license found
INFO 2021-01-04 12:50:29,310 [main] com.complexible.stardog.StardogLicense:main(441): Checking for valid license...
INFO 2021-01-04 13:10:10,477 [main] com.complexible.stardog.StardogLicense:main(441): Checking for valid license...
INFO 2021-01-04 13:38:43,720 [main] com.complexible.stardog.StardogLicense:main(441): Checking for valid license...
MacOS: Catalina 10.15.7 (19H15)
java -version
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.252-b09, mixed mode)