Skip to main content
Solved

Unable to log into JSS

  • September 21, 2016
  • 14 replies
  • 29 views

Forum|alt.badge.img+8

I'm currently on 9.96 and unable to log into the JSS with either LDAP credentials or the local admin account. What happens is when I try to login, the page refreshes and the JSS URL redirects to https://jss.mycompany.com:8443/logout.html. This is happening on all browsers on multiple computers and multiple LDAP credentials. This did not occur yesterday at all. Any ideas on what I can do?

Best answer by eosrebel

I wanted to circle back and loop in the fix that worked for us. What happened is that the JSS somehow deleted all local user account passwords and broke our LDAP bind which was the cause of the lockout. Resetting the password on a local admin account via the MySQL command line allowed us to get back in and fix the LDAP connection.

14 replies

dan-snelson
Forum|alt.badge.img+30
  • Honored Contributor
  • September 21, 2016

@eosrebel Do you happen to have Patch Reporting enabled?

If so, what do you see when you execute the following MySQL command?

show full processlist;

Forum|alt.badge.img+8
  • Author
  • Contributor
  • September 21, 2016

@dan.snelson This is what I see when executing that command. Sorry the formatting is funky, but it gets the point across.

-------------------------------------------------------------------------
--
-----------------------
| Id | User | Host | db | Command | Time | State | Info |
-------------------------------------------------------------------------
-------------------------
| 161572 | jamfsoftware | localhost:54542 | jamfsoftware | Sleep | 1 | | NULL |
| 161574 | jamfsoftware | localhost:54546 | jamfsoftware | Sleep | 35 | | NULL |
| 161575 | root | localhost:54554 | NULL | Query | 0 | NULL | show full processlist |
-------------------------------------------------------------------------
--
-----------------------+


dan-snelson
Forum|alt.badge.img+30
  • Honored Contributor
  • September 21, 2016

@eosrebel Looks like you only have two JSS-related threads, so it's probably not related to MySQL being unable to keep up.

Can you login to:

https://jss.mycompany.com:8443/logging.html

Forum|alt.badge.img+8
  • Author
  • Contributor
  • September 21, 2016

@dan.snelson No I cannot. It exhibits the same behavior as before. Jamf Support just tried having me restart Tomcat via the JSSDatabaseUtil to no avail.


dan-snelson
Forum|alt.badge.img+30
  • Honored Contributor
  • September 21, 2016

Bummer; I'll leave it to the experts. Good luck.


Forum|alt.badge.img+10
  • Contributor
  • September 21, 2016

I experienced the same issue. I don't know if when I logged in using the master local account helped.
But when using my LDAP account the browser kept just refreshing to the "https://jss.mycompany.com:8443/logout.html.".


Forum|alt.badge.img+12
  • Honored Contributor
  • September 22, 2016

I had this issue and it was because we moved the LDAP account to a different OU in Active Directory. So the Distinguished Name path had changed so JSS couldn't see the account.

Do you have a local JSS account you can login to and check the ldap settings?


Forum|alt.badge.img+12
  • Valued Contributor
  • September 23, 2016

Having a similar issue this morning after upgrading to 9.96 yesterday with no issues.

JSS is hosted on a Mac Mini running 10.10.5. Not seeing any type of heavy usage at all. No processes are using large amounts of CPU, memory, etc.


Forum|alt.badge.img+12
  • Valued Contributor
  • September 23, 2016

This is getting more interesting, I normally use Safari for all of my web browsing. Just as a test I used both Chrome and Firefox to access my JSS and both logged in happily.

The machine I was using yesterday via VPN was running the same versions of 10.11.6, Java and Safari that I have here in the office. I wish I had tried to log in from home before I left for work today.


Forum|alt.badge.img+5
  • New Contributor
  • September 23, 2016

We ran into this issue today. Clearing the history of the browser allowed us to login.


Forum|alt.badge.img+12
  • Valued Contributor
  • September 23, 2016

Was just coming back to post the same thing. Other machines and a different user on my machine were all able to happily log into the JSS using Safari. Cleared my history and I'm back in now.

Strange but easily fixed (at least for me) issue.


Forum|alt.badge.img+8
  • Author
  • Contributor
  • Answer
  • September 23, 2016

I wanted to circle back and loop in the fix that worked for us. What happened is that the JSS somehow deleted all local user account passwords and broke our LDAP bind which was the cause of the lockout. Resetting the password on a local admin account via the MySQL command line allowed us to get back in and fix the LDAP connection.


Forum|alt.badge.img+13
  • Valued Contributor
  • January 23, 2018

/


jconner
Forum|alt.badge.img
  • New Contributor
  • March 8, 2018

@eosrebel Which commands did you end up using to finally get logged into the console? I am experiencing the same issue. Not being able to get into the console LDAP/Admin account. Was trying to get it upgraded from 9.98, but have been dealing with this for a day or two now. Thanks for the help!