1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Strange error upon login to Plesk.

Discussion in 'Plesk for Linux - 8.x and Older' started by DeanW, Nov 3, 2005.

  1. DeanW

    DeanW Guest

    0
     
    Strange errors - please help! :-(

    I don't know how this happened but I'm getting the following error (sometimes) when logging into Plesk.

    Unable to query database: Duplicate entry '37-Contact Name' for key 1
    ---------
    0: /usr/local/psa/admin/plib/class.ActionLog.php:663 psaerror(string "Unable to query database: Duplicate entry '37-Contact Name' for key 1")
    1: /usr/local/psa/admin/plib/class.ActionLog.php:534 LogComponent->submit(integer "37")
    2: /usr/local/psa/admin/plib/class.ActionLog.php:469 ActionLog->submitBuffer_()
    3: /usr/local/psa/admin/plib/cmd_loginup.php:318 ActionLog->submit()
    4: /usr/local/psa/admin/plib/cmd_loginup.php:182 createSessionAdmin(string "admin", string "MYPLESKPASSWORD", boolean false)
    5: /usr/local/psa/admin/htdocs/login_up.php3:19 createSession(string "admin", string "MYPLESKPASSWORD")


    How do I prevent this error?

    Thanks DW
     
  2. DeanW

    DeanW Guest

    0
     
    Upon creating a new client via my first template I got this error:

    ERROR
    Up LevelUp Level
    Unable to query database: Duplicate entry '38-Login Name' for key 1
    0: /usr/local/psa/admin/plib/class.ActionLog.php:663 psaerror(string "Unable to query database: Duplicate entry '38-Login Name' for key 1")
    1: /usr/local/psa/admin/plib/class.ActionLog.php:534 LogComponent->submit(integer "38")
    2: /usr/local/psa/admin/plib/class.ActionLog.php:469 ActionLog->submitBuffer_()
    3: /usr/local/psa/admin/plib/class.Limits.php:264 ActionLog->submit()
    4: /usr/local/psa/admin/plib/class.Client.php3:247 logLimitChanges(string "client", string "CLIENTLOGINNAME", integer "2", object of type Limits, object of type Limits)
    5: /usr/local/psa/admin/htdocs/clients/cl_new.php3:132 Client->update()


    Heeeelp!
     
  3. DeanW

    DeanW Guest

    0
     
    Now, when adding a domain to the client:

    ERROR
    Up LevelUp Level
    Unable to query database: Duplicate entry '41-Domain Name' for key 1
    0: /usr/local/psa/admin/plib/class.ActionLog.php:663 psaerror(string "Unable to query database: Duplicate entry '41-Domain Name' for key 1")
    1: /usr/local/psa/admin/plib/class.ActionLog.php:534 LogComponent->submit(integer "41")
    2: /usr/local/psa/admin/plib/class.ActionLog.php:469 ActionLog->submitBuffer_()
    3: /usr/local/psa/admin/plib/class.dnsmng.php:232 ActionLog->submit()
    4: /usr/local/psa/admin/plib/class.dnsmng.php:84 logDnsZoneUpdate(string "domain", integer "3", string "CLIENTSDOMAINNAME.COM")
    5: /usr/local/psa/admin/plib/class.PhDomain.php:710 dnsmng->updateDomain(integer "3", string "CLIENTSDOMAINNAME.COM", boolean true)
    6: /usr/local/psa/admin/plib/class.PhDomain.php:611 BsDomain->restartServices()
    7: /usr/local/psa/admin/plib/class.BsDomain.php:330 BsDomain->update()
    8: /usr/local/psa/admin/htdocs/domains/create_domain.php:144 BsDomain->update()
     
  4. DeanW

    DeanW Guest

    0
     
    okay... I did a psadump and psarestore and everything seems fine.... :confused:
     
Loading...