• 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

Issue Mails stuck in queue Plesk Obsidian 18.0.41

SimpelS

New Pleskian
I tried everything with google, but this nothing worked.

I got the following error with plesk repair installation :

plesk repair installation


"Trying to execute mail_restore to synchronize mail server settings and Plesk Database... ==> Checking for: mailsrv_conf_init... not found, skipped"

and with plesk repair mail it's

"
Reconfiguring all domains and mailboxes ......................... [2022-02-03 22:13:18.825] 1388247:61fc456 d23169 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
"

google gives only a few links "mchk failed: ==> Checking for: mailsrv_conf_init... not found,"

the unlink /usr/bin/which sollution does not work.

How Can I re-upload this bin file? or solve the problem?

I can send mail and receive but the received mail stuck in queue.
 
Hello, SimpelS
`mailsrv_conf_init`utility is shipped as a part of `postfix` or `qmail` components.

Please verify corresponding packages with `dpkg -V plesk-mail-pc-driver` if you're use postix or with `dpkg -V plesk-mail-qc-driver` if you're use qmail.
If output isn't empty you can try to fix with switching to another MTA and back (it will resilt in reinstallation of these packages).

But more reliable solution is in investigation of `/var/log/plesk/install/plesk_18.0.41_installation.log` and `/var/log/plesk/install/plesk_18.0.41_installation_problems.log` because the root cause may be a bit deeper.
 
var/log/plesk/install/plesk_18.0.41_installation.log:

TOP plesk-dovecot-2.3.17.1 installing AT Wed Feb 2 17:15:43 CET 2022

**** Product post-install for dovecot completed successfully.

STOP Bootstrapper 18.0.41 post-install for dovecot AT Wed Feb 2 17:15:43 CET 2022
START Bootstrapper 18.0.41 perform-deferred-actions AT Wed Feb 2 17:15:43 CET 2022

**** Product perform-deferred-actions started.
Trying to execute mail_restore to synchronize mail server settings and Plesk Database... ==> Checking for: mailsrv_conf_init... not found, skipped
Warning : failed to perform deferred action : mail_restore_all
Trying to configure SSL ciphers and protocols for: mail-imap-pop3... done
DEBUG setMailboxQuota(..., -1)
DEBUG setMailboxQuota(..., -1)
DEBUG setMailboxQuota(..., -1)
DEBUG setMailboxQuota(..., -1)
DEBUG setMailboxQuota(..., -1)
DEBUG setMailboxQuota(..., -1)
DEBUG setMailboxQuota(..., -1)
DEBUG setMailboxQuota(..., -1)
DEBUG setMailboxQuota(..., 104857600)
DEBUG setMailboxQuota(..., 104857600)
DEBUG setMailboxQuota(..., 104857600)
DEBUG setMailboxQuota(..., -1)
DEBUG setMailboxQuota(..., -1)
DEBUG setMailboxQuota(..., -1)
done

Should this be the problem?
 
Checking the usage of PHP handlers .................................. [OK]

Checking for obsolete PHP-FPM configuration files ................... [OK]

Repairing the mail server configuration
Reconfiguring all domains and mailboxes ......................... [2022-02-04 20:54:03.210] 1496731:61fd8424e98b0 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

Checking the DNS configuration file ................................. [OK]

Restoring DNS server configuration
Synchronizing DNS zones with the DNS server ..................... [OK]
 
With Postfix and courier the same arror.

**** Product perform-deferred-actions started.
Trying to register service xinetd... Trying to enable automatic respawn for service xinetd.service... done
done
Trying to try-reload service xinetd... active
done
Trying to execute mail_restore to synchronize mail server settings and Plesk Database... ==> Checking for: mailsrv_conf_init... not found, skipped
Warning : failed to perform deferred action : mail_restore_all
Trying to condrestart service courier-authdaemon... done
Trying to configure SSL ciphers and protocols for: mail-imap-pop3... done
Trying to configure SSL ciphers and protocols for: mail-smtp... done


Checking for: mailsrv_conf_init... not found, skipped.......

and the which project.

xxx:~# ls -al /usr/bin/which
lrwxrwxrwx 1 root root 10 Feb 6 18:19 /usr/bin/which -> /bin/which

Where can I find mailsrv_conf_ini...?
 
All logs you've provided were written after error occurred. So It isn't a root cause.
You should try to find the error earlier, somewhen around `plesk-mail-pc-driver` or `plesk-mail-qc-driver` have been upgraded or configured.
if no errors are found you can try to switch to qmail and then switch back to postfix as I've wrote above.
 
Back
Top