The following error during changing parameters of mailbox:
Error while creating e-mail box: Internal error. PHP Warning: psasem_lock() failed for semnum 15: semaphore is already acquired Line: 41 File: /usr/local/psa/admin/plib/Semaphore.php
The PHP warning is visible in the panel as
display_errors flag is set to
On in the
sem_acquire() function in
Semaphore.php is causing the warning during the successful mailbox creation, meaning that subsequent calls with the same semaphore will block indefinitely until the semaphore is released. Unfortunately, PHP does not yet support any method of querying the state of a semaphore in a non-blocking manner.
Configure the panel to not display PHP warnings:
/usr/local/psa/admin/conf/php.inifile and set the flag display_errors to Off.
Restart the following services:
/etc/init.d/sw-cp-server restart /etc/init.d/sw-engine restart
Note, 'display_errors' with the value
Off is an internal Plesk system flag that should not be changed.