# Stardog-admin server start not working

**URL:** <https://community.stardog.com/t/stardog-admin-server-start-not-working/2759>\
**Category:** Support\
**Created:** [October 17, 2020, 6:21pm UTC](https://community.stardog.com/t/stardog-admin-server-start-not-working/2759 "2020-10-17T18:21:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![atulbisht1695](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/atulbisht1695/32/834_2.png) [@atulbisht1695](https://community.stardog.com/u/atulbisht1695)\
**Post date:** [October 17, 2020, 6:21pm UTC](https://community.stardog.com/t/stardog-admin-server-start-not-working/2759/1 "2020-10-17T18:21:34Z")

</div>

Hi I have previously installed and used stardog in my personal laptop(windows os).But now i have again dowloaded the stardog zip fil to use it in another laptop(windows 10 os).The install command worked fine and the stardog got installed.But after that 'stardog-admin server start' command is not working getting the following error-  
C:\Users\AB25565\Documents\stardog-7.4.1\bin\>stardog-admin server start  
Thank you for downloading Stardog.  
A valid license was not found in C:\Users\AB25565\Documents\stardog-7.4.1.  
Would you like to download a trial license from Stardog (y/N)? y  
Contacting Stardog...  
WARNING: An illegal reflective access operation has occurred  
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$2 (file:/C:/Users/AB25565/Documents/stardog-7.4.1/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  
A valid Stardog license was not found. Please download a trial license or visit [https://stardog.com](https://stardog.com) for more information.

Previously it used to ask my professional email id for my free trial version.Can someone explain what its trying to tell. Thanks in advance

---

<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:** [October 17, 2020, 6:29pm UTC](https://community.stardog.com/t/stardog-admin-server-start-not-working/2759/2 "2020-10-17T18:29:35Z")

</div>

What version of Java are you using?

---

<div class="post-metadata">

**Author:** ![atulbisht1695](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/atulbisht1695/32/834_2.png) [@atulbisht1695](https://community.stardog.com/u/atulbisht1695)\
**Post date:** [October 18, 2020, 9:23am UTC](https://community.stardog.com/t/stardog-admin-server-start-not-working/2759/3 "2020-10-18T09:23:13Z")

</div>

C:\Users\AB25565\>java -version  
java version "11.0.8" 2020-07-14 LTS  
Java(TM) SE Runtime Environment 18.9 (build 11.0.8+10-LTS)  
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.8+10-LTS, mixed mode)

---

<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:** [October 18, 2020, 3:34pm UTC](https://community.stardog.com/t/stardog-admin-server-start-not-working/2759/4 "2020-10-18T15:34:29Z")

</div>

If you don't have the STARDOG\_HOME env variable set you should run stardog-admin from the install directory and not bin. `.\bin\stardog-admin server start`. It might be fetching the license but placing it in the wrong directory because STARDOG\_HOME is not set and you're not running it from the root of the installation directory.

---

<div class="post-metadata">

**Author:** ![atulbisht1695](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/atulbisht1695/32/834_2.png) [@atulbisht1695](https://community.stardog.com/u/atulbisht1695)\
**Post date:** [October 19, 2020, 4:52am UTC](https://community.stardog.com/t/stardog-admin-server-start-not-working/2759/5 "2020-10-19T04:52:57Z")

</div>

i have performed all the nessesary task.still getting the same error.  
check my log-  
[2020-10-19 00:00:05] [info] Commons Daemon procrun (1.0.10.0 64-bit) started  
[2020-10-19 00:00:05] [error] Unable to open the Service Manager  
[2020-10-19 00:00:05] [error] Access is denied.  
[2020-10-19 00:00:05] [error] Commons Daemon procrun failed with exit value: 8 (Failed to install service)  
[2020-10-19 00:00:05] [error] Access is denied.  
[2020-10-19 00:10:39] [info] Commons Daemon procrun (1.0.10.0 64-bit) started  
[2020-10-19 00:10:39] [info] Service Stardog-Server name Stardog Server  
[2020-10-19 00:10:39] [error] The specified service already exists.  
[2020-10-19 00:10:39] [error] Failed installing 'Stardog-Server' service  
[2020-10-19 00:10:39] [error] The specified service already exists.  
[2020-10-19 00:10:39] [error] Commons Daemon procrun failed with exit value: 8 (Failed to install service)  
[2020-10-19 00:10:39] [error] The specified service already exists.

for stardog server-  
Access is denied.

Failed to install serviceThe specified service already exists.

Failed to install service

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [November 2, 2020, 4:52am UTC](https://community.stardog.com/t/stardog-admin-server-start-not-working/2759/6 "2020-11-02T04:52:59Z")

</div>

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