Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-11843

Silent SQL error on login lead to "Session terminated, re-login"

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Major Major
    • None
    • 3.2.3
    • Frontend (F)
    • Debian Jessie

      After a new Zabbix server+Frontend installation, I reimport zabbix mysql database to the new installation.

      Login is permit but failed with :

      Session terminated, re-login

      I finally find the error (I follow sessionId...) :

      • the commit on login request is not done because of a SQL error
        INSERT INTO auditlog (userid,clock,ip,action,resourcetype,resourceid,resourcename,auditid) VALUES ('1','1487930776','127.0.0.1, 192.168.101.104','3','0','1','','173')] Duplicate entry '173' for key 'PRIMARY'
        
      • error is stored to ZBX_MESSAGES but never shown on the screen nor trace into log
      • revert is done and a guest session is created

      As mentionned in ZBX-10471 (last comment after close), an error on auditlog table prevent the user to login silently.

      Solve the issue with :

      delete from auditlog;
      

            Unassigned Unassigned
            pleutre pleutre
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: