I get "Authentication failed" when I try to run a command

Created by Steve Place, Modified on Fri, Mar 1 at 11:24 AM by Steve Place

Are you running your command with credentials? If not, the default credentials of admin:admin will be passed in automatically. If you've removed this user for security reasons (a good practice in production environments), you will need to use the -u flag in your command to specify the user you'd like to run the command as. Your terminal will prompt you for the password.


If you've done that and are still getting "Authentication failed", ensure you're typing in your password correctly. You can use the -p flag in your command to specify the password directly in the command so you can see what you're typing, but be aware of the security risk this poses.


If you're sure you're typing in your password correctly, run stardog-admin user list with a different user that you know has working credentials and see if the user you're trying to run the command as exists.


If the user exists and you're sure you're typing in your password correctly but you're still getting "Authentication failed", open a support ticket. In that ticket, send your stardog.log file, and copy and paste the terminal commands you've run that cause "Authentication failed".

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article