• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Strange error upon login to Plesk.

D

DeanW

Guest
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
 
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!
 
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()
 
okay... I did a psadump and psarestore and everything seems fine.... :confused:
 
Back
Top