- Server operating system version
- CentOS 7
- Plesk version and microupdate number
- Plesk Obsidian Web Pro Edition 18.0.48
Hi,
Unable to activate mail on a newly created subscription / domain, it fails / times out on Configuring email.
Panel log below:
Screenshots attached.
Tried this, doesn't work:
Any ideas?
Unable to activate mail on a newly created subscription / domain, it fails / times out on Configuring email.
Panel log below:
/var/log/plesk/panel.log
[2022-12-06 11:47:55.509] 10511:638f2be604667 ERR [panel] DB query failed:
"REPLACE INTO `Parameters` (`parameter`, `value`) VALUES (?, ?)"
Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '8-nonexist_mail' for key 'PRIMARY', query was: REPLACE INTO `Parameters` (`parameter`, `value`) VALUES (?, ?)
[2022-12-06 11:47:57.669] 10511:638f2be604667 ERR [panel] Task failed: id=4399, pid=10511, type=subscription-create, error=DB query failed: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '8-nonexist_mail' for key 'PRIMARY', query was: REPLACE INTO `Parameters` (`parameter`, `value`) VALUES (?, ?)
[2022-12-06 11:47:57.670] 10511:638f2be604667 ERR [panel] DB query failed: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '8-nonexist_mail' for key 'PRIMARY', query was: REPLACE INTO `Parameters` (`parameter`, `value`) VALUES (?, ?)
[2022-12-06 11:47:57.670] 10511:638f2be604667 ERR [panel] There is already an active transaction:
0: /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Db/Adapter/Pdo/Abstract.php:307
PDO->beginTransaction()
1: /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Db/Adapter/Pdo/Abstract.php:307
Zend_Db_Adapter_Pdo_Abstract->_beginTransaction()
2: /usr/local/psa/admin/plib/Db/Adapter/Pdo/Mysql.php:26
Db_Adapter_Pdo_Mysql->_beginTransaction()
3: /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Db/Adapter/Abstract.php:496
Zend_Db_Adapter_Abstract->beginTransaction()
4: /usr/local/psa/admin/plib/Db/Table/Row/LongTask.php:86
Db_Table_Row_LongTask->save()
5: /usr/local/psa/admin/plib/Task/Control/Abstract.php:289
Task_Control_Abstract->onError(object of type PleskMultipleException)
6: /usr/local/psa/admin/plib/Db/Table/Broker/LongTasks.php:185
Db_Table_Broker_LongTasks->_syncStart(object of type Db_Table_Row_LongTask)
7: /usr/local/psa/admin/plib/Db/Table/Broker/LongTasks.php:113
Db_Table_Broker_LongTasks->runTaskWithinExecutor(object of type Db_Table_Row_LongTask)
8: /usr/local/psa/admin/plib/Task/Async/Executor.php:44
Task_Async_Executor->execute()
9: /usr/local/psa/admin/plib/scripts/task-async-executor.php:6
[2022-12-06 11:47:57.670] 10511:638f2be604667 ERR [panel] There is already an active transaction
Screenshots attached.
Tried this, doesn't work:
[root@ufo ~]# plesk repair mail
Repairing the mail server configuration
Reconfigure all domains and mailboxes? [Y/n] y
Reconfiguring all domains and mailboxes ......................... [OK]
Error messages: 0; Warnings: 0; Errors resolved: 0
Any ideas?