Stardog-admin server start error

just installed 7.6.3 on macOS BigSur

stardog-admin server start doesn't succeed, and gives the error: ...

WARNING: /usr/local/Cellar/openjdk/15.0.2/libexec/openjdk.jdk/Contents/Home/bin/java is loading libcrypto in an unsafe way
/opt/stardog/stardog-7.6.3/bin/stardog-admin: line 142: 81368 Abort trap: 6

any ideas on how to fix this?

You do not have the right Java version: System Requirements | Stardog Documentation 7.6.3

I just installed and tried Java 11 as well. But still get the same error ..
WARNING: /Users/klck825/.jenv/versions/11/bin/java is loading libcrypto in an unsafe way
/opt/stardog/stardog-7.6.3/bin/stardog-admin: line 142: 99405 Abort trap: 6

stardog.log is like this ....

WARNING: /Users/klck825/.jenv/versions/openjdk64-11.0.10/bin/java is loading libcrypto in an unsafe way

WARNING: /Users/klck825/.jenv/versions/11/bin/java is loading libcrypto in an unsafe way

I do not know if this is the reason, but I use "AdoptOpenJDK" 1.8

I'll give it a try with "AdoptOpenJDK" 1.8

OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.292-b10, mixed mode)
(base) ukc02z29d7lvcg:stardog klck825$ which stardog-admin
/opt/stardog//stardog-7.6.3/bin/stardog-admin
(base) ukc02z29d7lvcg:stardog klck825$ stardog-admin server start -v
OpenJDK 64-Bit Server VM warning: Ignoring option UseParallelOldGC; support was removed in 15.0
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$2 (file:/opt/stardog/stardog-7.6.3/client/api/guice-4.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$2
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
WARN 2021-05-17 18:01:43,481 [main] com.complexible.common.memory.PlatformDependent:(149): misc.VM
java.lang.IllegalAccessException: class com.complexible.common.memory.PlatformDependent$DefaultVM cannot access class jdk.internal.misc.VM (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @6ad5923a
at jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:385) ~[?:?]
at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:693) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:556) ~[?:?]
at com.complexible.common.memory.PlatformDependent$DefaultVM.(PlatformDependent.java:139) [stardog-utils-common-7.6.3.jar:?]
at com.complexible.common.memory.PlatformDependent$DefaultVM.(PlatformDependent.java:128) [stardog-utils-common-7.6.3.jar:?]
at com.complexible.common.memory.PlatformDependent.(PlatformDependent.java:183) [stardog-utils-common-7.6.3.jar:?]
at com.complexible.common.memory.MemoryInfo.getDirectMemMax(MemoryInfo.java:49) [stardog-utils-common-7.6.3.jar:?]
at com.complexible.stardog.StardogConfiguration.initMemoryConfiguration(StardogConfiguration.java:843) [stardog-7.6.3.jar:?]
at com.complexible.stardog.StardogConfiguration.(StardogConfiguration.java:499) [stardog-7.6.3.jar:?]
at com.complexible.stardog.StardogConfiguration.(StardogConfiguration.java:478) [stardog-7.6.3.jar:?]
at com.complexible.stardog.Stardog.(Stardog.java:172) [stardog-7.6.3.jar:?]
at com.complexible.stardog.Stardog.(Stardog.java:66) [stardog-7.6.3.jar:?]
at com.complexible.stardog.Stardog$StardogBuilder.create(Stardog.java:664) [stardog-7.6.3.jar:?]
at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:173) [stardog-cli-7.6.3.jar:?]
at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:43) [stardog-cli-7.6.3.jar:?]
at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:56) [stardog-cli-7.6.3.jar:?]
at com.complexible.stardog.cli.admin.CLI.main(CLI.java:218) [stardog-cli-7.6.3.jar:?]
WARNING: /usr/local/Cellar/openjdk/15.0.2/libexec/openjdk.jdk/Contents/Home/bin/java is loading libcrypto in an unsafe way

I've changed to AdoptOPenJDK8 - and started server in verbose mode for more details.

I've now removed all versions of java except for AdoptOpenJDK)(build 1.8.0_292-b10)

(base) ukc02z29d7lvcg:stardog klck825$ java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.292-b10, mixed mode)
(base) ukc02z29d7lvcg:stardog klck825$ stardog-admin server start -v
WARNING: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java is loading libcrypto in an unsafe way
/opt/stardog//stardog-7.6.3/bin/stardog-admin: line 142: 9392 Abort trap: 6 "java" -Dstardog.home=/var/stardog/ -Xmx2g -Xms2g -XX:MaxDirectMemorySize=1500m -Djava.library.path=/opt/stardog/stardog-7.6.3/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=/opt/stardog/stardog-7.6.3/bin/../server/dbms/log4j2.xml -Dstardog.install.location=/opt/stardog/stardog-7.6.3/bin/.. -server -classpath /opt/stardog/stardog-7.6.3/bin/../client/ext/:/opt/stardog/stardog-7.6.3/bin/../client/api/:/opt/stardog/stardog-7.6.3/bin/../client/cli/:/opt/stardog/stardog-7.6.3/bin/../client/http/:/opt/stardog/stardog-7.6.3/bin/../client/pack/:/opt/stardog/stardog-7.6.3/bin/../server/ext/:/opt/stardog/stardog-7.6.3/bin/../server/dbms/:confused: com.complexible.stardog.cli.admin.CLI server start -v >> /var/stardog//stardog.log 2>&1
(base) ukc02z29d7lvcg:stardog klck825$

seems to indicate the offending line - does anyone have any ideas what I could do next to track down the problem?

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