# Stardog behaving abruptly

**URL:** https://community.stardog.com/t/stardog-behaving-abruptly/1127
**Category:** Support
**Created:** [July 6, 2018, 8:57pm UTC](https://community.stardog.com/t/stardog-behaving-abruptly/1127 "2018-07-06T20:57:06Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![smrati.hans](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@smrati.hans](https://community.stardog.com/u/smrati.hans)
#### Post date: [July 6, 2018, 8:57pm UTC](https://community.stardog.com/t/stardog-behaving-abruptly/1127/1 "2018-07-06T20:57:06Z")

</div>

Hi Team,

I was using stardog few hours back and it was running perfectly fine. I just restarted my system and now I am not able to log in. I tried starting the server using disable-security option but still it asks me for password.  
I tried changing password for user admin and it said user does not exist. I tried creating sdpass.conf in STARDOG\_HOME/Application Data/stardog but that also did not work. Not sure what the issue is. There is no error while logging in, it just keeps on asking me for username password again and again!  
Would you please help me with the same.

thank you!

---

<div class="post-metadata">

### Author: ![smrati.hans](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@smrati.hans](https://community.stardog.com/u/smrati.hans)
#### Post date: [July 6, 2018, 10:02pm UTC](https://community.stardog.com/t/stardog-behaving-abruptly/1127/2 "2018-07-06T22:02:58Z")

</div>

As per the logs it says:  
com.complexible.stardog.security.ResourceNotFoundException: User admin does not exist.

I am still able to query using studio, but not able to create new databases and access localhost.  
stardog-admin user list command gives me “root” as a user

---

<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: [July 7, 2018, 2:41pm UTC](https://community.stardog.com/t/stardog-behaving-abruptly/1127/3 "2018-07-07T14:41:02Z")

</div>

That’s a bit odd. Lets slow down. You’re changing way too many things at one time to narrow it down. First a couple of questions. What version of Stardog are you running? What operating system are you running? (it looks like OSX).

Second. I’d go back and revert all the changes you made, don’t disable security and remove spass.conf. Shutdown Stardog. Double check to make sure there are no Stardog java processes running and that it’s actually stopped. Start Stardog back up. Make sure it’s starting the the installation that you think it is. (which stardog-admin; echo $STARDOG\_HOME). There is a possibility that you’re pointing to an old version and you don’t know it, which might happen by accident if you upgrade. You might have set STARDOG\_HOME when installing a new version of Stardog but it will pick up an old STARDOG\_HOME from your bashrc on a reboot.

Check the logs. Are there any errors or warnings? Try logging in. Does it work? Try logging in from the CLI. Does it work. Check the logs again. What does `stardog-admin user list` say now that you’ve reenabled security?

---

<div class="post-metadata">

### Author: ![smrati.hans](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@smrati.hans](https://community.stardog.com/u/smrati.hans)
#### Post date: [July 9, 2018, 3:09pm UTC](https://community.stardog.com/t/stardog-behaving-abruptly/1127/4 "2018-07-09T15:09:31Z")

</div>

I am currently using stardog-5.2.2 on Windows 10 machine.

Second. I’d go back and revert all the changes you made, don’t disable security and remove spass.conf. Shutdown Stardog . Double check to make sure there are no Stardog java processes running and that it’s actually stopped.- - Done.  
By backup you mean backup of individual databases? Did not understand this: Make sure it’s starting the the installation that you think it is. (which stardog-admin; echo $STARDOG\_HOME).

STARDOG\_HOME - is correct. The one i was using earlier too.  
It says “authentication failed” when i try to retrieve user list when i reenabled security.  
Also, I have another question: If i want to move to latest version of stardog, can i use the existing key that i have in current version?

Thank you!

---

<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: [July 9, 2018, 3:20pm UTC](https://community.stardog.com/t/stardog-behaving-abruptly/1127/5 "2018-07-09T15:20:08Z")

</div>

Sorry, poor wording on my part. When I said “Start Stardog back up.” I meant, “return it to a running state”. Hopefully that’s clearer.

Is the “authentication failed” from the web console? What does it say when you try the CLI? Are there any warnings or errors in stardog.log?

Are you using cygwin?

I don’t really recall if you need a new license for minor revisions but you’ll get a new license anyway when you request the new version of Stardog. You can try starting it up with the old one. It should tell you if you need a more recent version and if you do just use the one provided with your download.

---

<div class="post-metadata">

### Author: ![stephen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/stephen/32/27_2.png) [@stephen](https://community.stardog.com/u/stephen)
#### Post date: [July 9, 2018, 3:21pm UTC](https://community.stardog.com/t/stardog-behaving-abruptly/1127/6 "2018-07-09T15:21:36Z")

</div>

> [@smrati.hans](#):
>
> stardog-admin user list command gives me “root” as a user

Without credentials, the CLI will use admin/admin unless configured otherwise in a password file. If 'root' is the only user in the system, it's a superuser, so its credentials should allow you to do whatever.

---

<div class="post-metadata">

### Author: ![smrati.hans](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@smrati.hans](https://community.stardog.com/u/smrati.hans)
#### Post date: [July 9, 2018, 3:30pm UTC](https://community.stardog.com/t/stardog-behaving-abruptly/1127/7 "2018-07-09T15:30:31Z")

</div>

“return it to a running state” - by this i understand starting the stardog server. Let me know if i am wrong here. and sorry about that.  
“authentication failed” - this is on command line.  
 ![image](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/1X/d5d1ea97e24e04686fda0919ac671d595b74119e.png)

There is a warning: WARN 2018-07-09 10:57:11,096 [main] com.complexible.stardog.Environment:createSpillingDir(126): Spilling directory C:\<STARDOG\_HOME\>.spilling exists and is not empty. Using temporary directory C:\<dir\>\AppData\Local\Temp\1531148231095-0  
and another warning for some database but no error.

Are you using cygwin? - i am sorry, but i am not sure about this.  
Will try the that last part!  
Thank you!

---

<div class="post-metadata">

### Author: ![smrati.hans](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@smrati.hans](https://community.stardog.com/u/smrati.hans)
#### Post date: [July 9, 2018, 3:31pm UTC](https://community.stardog.com/t/stardog-behaving-abruptly/1127/8 "2018-07-09T15:31:59Z")

</div>

I am not sure about the credentials of root. But its not letting me login through admin/admin.

---

<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: [July 23, 2018, 3:32pm UTC](https://community.stardog.com/t/stardog-behaving-abruptly/1127/9 "2018-07-23T15:32:05Z")

</div>

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