# Stardog-admin: line 153: 4503 killed:9

**URL:** <https://community.stardog.com/t/stardog-admin-line-153-4503-killed-9/2885>\
**Category:** Bug\
**Created:** [January 27, 2021, 6:44am UTC](https://community.stardog.com/t/stardog-admin-line-153-4503-killed-9/2885 "2021-01-27T06:44:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![leroy.kim](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/leroy.kim/32/915_2.png) [@leroy.kim](https://community.stardog.com/u/leroy.kim)\
**Post date:** [January 27, 2021, 6:44am UTC](https://community.stardog.com/t/stardog-admin-line-153-4503-killed-9/2885/1 "2021-01-27T06:44:32Z")

</div>

Hi,

I got this error when I ran stardog-admin server start after the installation through Homebrew in macOS 11.1 (Big Sur), MacBook Pro Early 2015:

```
Last login: Wed Jan 27 15:27:05 on ttys000
 ~ % stardog-admin server start
STARDOG_HOME '/var/stardog/' is not writeable by the current user
 ~ % sudo stardog-admin server start
Password:
Thank you for downloading Stardog.
A valid license was not found in /Users/xxx.
Would you like to download a trial license from Stardog (y/N)? y
Contacting Stardog..............
NOTE: By downloading a Stardog license you agree to be bound by our evaluation agreement.
This agreement can be found at http://info.stardog.com/evaluation-agreement

Do you agree to these terms (y/N)? y
Are you interested in requesting an academic trial license (y/N)? y
Please provide a valid academic email address to start your 365-day trial: xxx@xxxx.edu
Contacting license server.................
We may occasionally contact you with Stardog learning and training resources. Do you wish to receive this content (y/N)? y
Contacting license server....
Email validated. You now have a 365-day Stardog trial license. Starting Stardog...
/usr/local/bin/stardog-admin: line 153: 4358 Killed: 9 "java" -Dstardog.home=/Users/xxx/ -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/leroy//stardog.log 2>&1

```

How can I fix this?

Thanks!

---

<div class="post-metadata">

**Author:** ![Annie\_Yu](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/annie_yu/32/922_2.png) [@Annie\_Yu](https://community.stardog.com/u/Annie_Yu)\
**Post date:** [February 25, 2021, 1:43am UTC](https://community.stardog.com/t/stardog-admin-line-153-4503-killed-9/2885/2 "2021-02-25T01:43:00Z")

</div>

Have you fixed this? I have the same error.

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [February 25, 2021, 1:45am UTC](https://community.stardog.com/t/stardog-admin-line-153-4503-killed-9/2885/3 "2021-02-25T01:45:22Z")

</div>

Are you able to use Stardog any amount of time before it is killed?

---

<div class="post-metadata">

**Author:** ![Annie\_Yu](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/annie_yu/32/922_2.png) [@Annie\_Yu](https://community.stardog.com/u/Annie_Yu)\
**Post date:** [February 25, 2021, 2:43am UTC](https://community.stardog.com/t/stardog-admin-line-153-4503-killed-9/2885/4 "2021-02-25T02:43:14Z")

</div>

No, I got this error directly after I ran 'stardog-admin server start'

---

<div class="post-metadata">

**Author:** ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)\
**Post date:** [February 25, 2021, 3:27am UTC](https://community.stardog.com/t/stardog-admin-line-153-4503-killed-9/2885/5 "2021-02-25T03:27:03Z")

</div>

Is there `stardog.log` file there? Might you share it here? Have you attempted starting it again?

---

<div class="post-metadata">

**Author:** ![Annie\_Yu](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/annie_yu/32/922_2.png) [@Annie\_Yu](https://community.stardog.com/u/Annie_Yu)\
**Post date:** [February 25, 2021, 4:14am UTC](https://community.stardog.com/t/stardog-admin-line-153-4503-killed-9/2885/6 "2021-02-25T04:14:43Z")

</div>

From stardog.log: "Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option UseParallelOldGC; support was removed in 15.0"

I have restarted several times, tried different methods, changed Java from "Java SE 15.0.2" to "Java SE 8", but still experienced the same issue.

"java" -Dstardog.home=..../stardog-7.5.1/bin/ -Xmx2g -Xms2g -XX:MaxDirectMemorySize=1500m -Djava.library.path=/usr/local/Cellar/stardog/7.5.1/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 --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5.internal.ktab=ALL-UNNAMED -Djdk.tls.client.protocols=TLSv1.2 -Dlog4j.configurationFile=/usr/local/Cellar/stardog/7.5.1/bin/../server/dbms/log4j2.xml -Dstardog.install.location=/usr/local/Cellar/stardog/7.5.1/bin/.. -server -classpath /usr/local/Cellar/stardog/7.5.1/bin/../client/ext/_:/usr/local/Cellar/stardog/7.5.1/bin/../client/api/_:/usr/local/Cellar/stardog/7.5.1/bin/../client/cli/_:/usr/local/Cellar/stardog/7.5.1/bin/../client/http/_:/usr/local/Cellar/stardog/7.5.1/bin/../client/pack/_:/usr/local/Cellar/stardog/7.5.1/bin/../server/ext/_:/usr/local/Cellar/stardog/7.5.1/bin/../server/dbms/_😕_ com.complexible.stardog.cli.admin.CLI server start \>\> ..../stardog/stardog-7.5.1/bin//stardog.log 2\>&1

---

<div class="post-metadata">

**Author:** ![serge](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/serge/32/376_2.png) [@serge](https://community.stardog.com/u/serge)\
**Post date:** [March 15, 2021, 3:03pm UTC](https://community.stardog.com/t/stardog-admin-line-153-4503-killed-9/2885/7 "2021-03-15T15:03:32Z")

</div>

I can confirm the same thing is happening on my laptop running Catalina with the following versions of java: java8, java11, openjdk8 and openjdk11.

As a workaround, I started stardog in a docker container which is easy to install. I will see if I can reproduce on my second laptop also running Catalina later this week.

-Serge

---

<div class="post-metadata">

**Author:** ![zachary.whitley](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/zachary.whitley/32/94_2.png) [@zachary.whitley](https://community.stardog.com/u/zachary.whitley)\
**Post date:** [March 15, 2021, 3:35pm UTC](https://community.stardog.com/t/stardog-admin-line-153-4503-killed-9/2885/8 "2021-03-15T15:35:00Z")

</div>

I was able to successfully install Stardog on Catalina using brew this weekend running java8. Maybe it's something other than just os/jvm

---

<div class="post-metadata">

**Author:** ![serge](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/serge/32/376_2.png) [@serge](https://community.stardog.com/u/serge)\
**Post date:** [March 18, 2021, 5:40pm UTC](https://community.stardog.com/t/stardog-admin-line-153-4503-killed-9/2885/9 "2021-03-18T17:40:38Z")

</div>

I installed it on my second laptop running Catalina without any issue. Still have not figured out why it does not work on the first one yet thought.

-Serge

---

<div class="post-metadata">

**Author:** ![serge](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/serge/32/376_2.png) [@serge](https://community.stardog.com/u/serge)\
**Post date:** [April 7, 2021, 11:38pm UTC](https://community.stardog.com/t/stardog-admin-line-153-4503-killed-9/2885/10 "2021-04-07T23:38:54Z")

</div>

@leroy.kim @Annie_Yu have you gotten it to work. If no, there are three workaround that you can use

**#1 install manually from zip**  
Just follow the instruction for curl found @ [Get Started with Stardog - Get Started Page | Stardog](https://www.stardog.com/get-started/)

**#2 use docker**

Install docker and follow the instruction for docker found @ [Get Started with Stardog - Get Started Page | Stardog](https://www.stardog.com/get-started/)

**#3 fix the homebrew installation**

I put this option last as it a bespoke temporary solution. The first two are fully supported and well documented. But for the curious and _ **at your own risk** _

I was able to fix my homebrew installation. I found that brew modifies dylib post install when it installs a package. This is somehow corrupting them and causing the library linker process to fail.

I don't fully understand why and still investigating, but I was able to fix my homebrew installation with the following commands

1. download zip as in option #1
2. unzip
3. sudo cp stardog-7.6.0/lib/\*dylib /usr/local/Cellar/stardog/7.6.0/lib
4. clean up

After that it work as expected.

Having said that, I recommend you use option #1 or 2.

If anyone reading this are expert with homebrew and Apple's install\_tool\_name command, please feel free to chip in.
