Resolved...Failed login after setting Loglevel to Debug

Discussion in 'Installation/Configuration' started by ITI, Dec 5, 2019.

  1. ITI

    ITI Member

    Resolved....While investigating a stuck que status I set the loglevel to Debug.
    Now I can't login. I get "Username or Password wrong.1"

    I've had status que stuck on 2 for a little while now and decided to investigate the cause.
    (I now know the cause which was a sql access error on a different server)

    I've gone through all the steps to check and reset the user/password and believe they are correct.
    The first thing I've noticed is the login page taking much longer than usual to load and the logo doesn't appear either.
    Is this related to the debug mode?
    Is there a way to reverse the "debug" setting via command line or database settings?
    Or maybe the login issue isn't related to the debug mode?
    Any help would be appreciated.
    Thanks
     
    Last edited: Dec 11, 2019
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    I suspect it is not.

    Try clearing your browser cache. If that doesn't get it, look at web server and php error logs and see if you find anything. If nothing else, you could download ISPConfig source, run install/update.php from it and reconfigure services, it might fix the issue.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    And check that mysql server is started.
     
  4. ITI

    ITI Member

    mysql server is running.
    I've cleared the cache: no change.
    I haven't tried Jesse's solution to run update yet.
     
  5. ITI

    ITI Member

    I ran the update as Jesse suggested and all seemed good.
    However, now all I get is a blank page (and blank source).
    In the browser's tab description the ispconfig icon is present which suggest it's connecting to the server.
    I also updated all the file permissions but that didn't help either.
    Any other suggestions please.
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  7. ITI

    ITI Member

    I found an error in the http logs.
    Access denied for user 'ispconfig'@'localhost'.
    What files would I need to update to correct this.
    Are the passwords stored in MD5.

    Thanks again
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    No, thats the cleartext pasdsword.
     
  9. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    That should be set by update.php when you reconfigure services.

    Run mysqlcheck/mysqlrepair and clear browser cache again.
     
  10. ITI

    ITI Member

    Thank you to all that provided help and suggestions.
    The login was password related in that I had stored it in MD5 format :(
    Again, thanks and this post is Resolved.
     

Share This Page