Symptoms
When repairing mail using the plesk repair mail
command, the operation fails with:
# plesk repair mail
Repairing the mail server configuration
Reconfiguring all domains and mailboxes ......................... ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/mchk'] with exit code [1]
[FAILED]
- mchk failed: ==> Checking for: mailsrv_conf_init... not found,
skipped
Cause
The package /usr/bin/which
is corrupted.
Resolution
-
Connect to the Plesk server via SSH.
-
Reinstall the
which
package:2.1. Remove the package:
# rpm -e --nodeps --noscripts which
2.2. Install it back:
# yum install which -y
-
Run
plesk repair mail
again.
-
Connect to the Plesk server via SSH.
-
Reinstall the
debianutils
package that includeswhich
:# apt-get --reinstall install debianutils
-
Run
plesk repair mail
again.