Hello Virtualmin Team,
I have an Oracle Linux 7 server, which is on Oracle's cloud, using Virtualmin for over a year. Now I need to migrate this server to version 8 of the operating system and I am doing a local installation to check the operation and I stopped with the following problem:
[4/23] Configuring ClamAV [✔] [5/23] Configuring Dovecot ▒▒▒▒▒▒▒Error: Missing file to read at dovecot :: / usr / libexec / webmin / dovecot / dovecot-lib.pl line 276 █▒▒▒▒▒▒Error ----- Missing file to read at dovecot :: / usr / libexec / webmin / dovecot / dovecot-lib.pl line 276 ----- ▣▣▣ Cleaning up [WARNING] The following errors occurred during installation: ◉ Postinstall configuration returned an error. [root @ we██▒▒▒▒▒
Content of /etc/dovecot/ directory:
Complete! [root@web3 ~]# tree /etc/dovecot/ /etc/dovecot/ ├── conf.d │ ├── 10-auth.conf │ ├── 10-director.conf │ ├── 10-logging.conf │ ├── 10-mail.conf │ ├── 10-master.conf │ ├── 10-ssl.conf │ ├── 15-lda.conf │ ├── 15-mailboxes.conf │ ├── 20-imap.conf │ ├── 20-lmtp.conf │ ├── 20-pop3.conf │ ├── 20-submission.conf │ ├── 90-acl.conf │ ├── 90-plugin.conf │ ├── 90-quota.conf │ ├── auth-checkpassword.conf.ext │ ├── auth-deny.conf.ext │ ├── auth-dict.conf.ext │ ├── auth-ldap.conf.ext │ ├── auth-master.conf.ext │ ├── auth-passwdfile.conf.ext │ ├── auth-sql.conf.ext │ ├── auth-static.conf.ext │ ├── auth-system.conf.ext │ └── auth-vpopmail.conf.ext └── dovecot.conf 1 directory, 26 files
I know that Oracle Linux is not CEntOS or Red Hat, but it is binary compatible, I even made a comparison of packages and has practically the same, a few have a different version between red hat 8 and oracle linux 8. I did tests with CEntOS 8 and Red Hat 8 and did not have the same problem, but I need to use Oracle Linux 8 to use the OCFS2 file system supported by Oracle.
I did the test using a local virtual machine via vagrant / virtualbox that you can use to reproduce the error: https://yum.oracle.com/boxes/
Is it possible for you to verify this problem and identify the reason / guide a solution?
I don't think we officially support Oracle Linux yet.
Yes, though just not right now.
If you run the following command, what output do you get?
Running this get this return:
Submitted by andreychek on Fri, 01/22/2021 - 13:26 Comment #3
If you run "service dovecot restart", do you then see any errors appearing at the end of either /var/log/messages, /var/log/maillog, or /var/log/secure?
If so, what error message shows up?
I saw the error mentioned in your initial post, though I'm wondering if the log files will show more specific information about the cause of the issue.
It looks like there may be some sort of file Dovecot is trying to load that's failing.
Can you please try:
Ahh, okay. I see now.
What are the outputs of:
I think the fix for you would be to adjust
Your OS is not detected correctly, most likely. I will fix that tomorrow, after you provide needed data.
Additionally, what is the output of:
Hi again Ilia,
Worked with this:
Oracle Linux Server detection will work fine with next Webmin release.
Thanks for reporting.
Recently I installed virtualmin in Oracle Linux 8, and additionally to problem with dovecot, I needed to change this (after the installation success and before initial configuration in web interface):
start_cmd=/bin/systemctl start mariadb in /etc/webmin/mysql/config stop_cmd=/bin/systemctl stop mariadb in /etc/webmin/mysql/config awstats=/usr/share/awstats/wwwroot/cgi-bin/awstats.pl in /etc/webmin/virtualmin-awstats/config start_cmd=/bin/systemctl start httpd in /etc/webmin/apache/config
stop_cmd=/bin/systemctl stop httpd in /etc/webmin/apache/config pid_file=/run/httpd/httpd.pid in /etc/webmin/apache/config virt_file=/etc/httpd/conf.d in /etc/webmin/apache/config
And I get some problem when the configuration in web interface try to set root mariadb password (Error with DBI absent, or trying to set a password without password (confused error message)), after I set root mariadb password in /etc/webmin/mysql/config and tried again, it worked.
What are the outputs of on your new Oracle Linux 8: