centos 8 installation failed

Error during Virtualmin fresh install on a centos 8 google cloud vm

20/23] Configuring Webmin                                              ████▒▒▒Error: Webmin server did not write new PID file
Error
-----
Webmin server did not write new PID file
-----
█████▒▒▣▣▣ Cleaning up

[WARNING] The following errors occurred during installation:

  ◉ Postinstall configuration returned an error.
                                                                        [a1zdotus_gmail_com@ed██████▒

Was able to log in on browser.

Got error again during post config:

Webmin server did not write new PID file
Status: 
Closed (fixed)

Comments

bislinks's picture
Submitted by bislinks on Thu, 05/14/2020 - 11:47 Pro Licensee

Further, getting the following again during initial setup and creation of first domain.

Failed to create virtual server : No virtual domains file (virtual_alias_maps) was found in your Postfix configuration!
Ilia's picture
Submitted by Ilia on Thu, 05/14/2020 - 11:50

Hi,

Yes, we are aware of it. It's fixed in our dev environment. Simply restart Webmin /etc/webmin/restart and re-run the installer.

Failed to create virtual server : No virtual domains file (virtual_alias_maps) was found in your Postfix configuration!

It's also fixed. Update the following file:

/usr/share/perl5/vendor_perl/Virtualmin/Config/Plugin/Postfix.pm

.. from

https://raw.githubusercontent.com/virtualmin/Virtualmin-Config/master/lib/Virtualmin/Config/Plugin/Postfix.pm

..and then run:

virtualmin-config-system -i=Postfix
bislinks's picture
Submitted by bislinks on Thu, 05/14/2020 - 12:01 Pro Licensee

have rebooted, waiting.

by update, do you mean replace

Ilia's picture
Submitted by Ilia on Thu, 05/14/2020 - 12:02

Update file contents.

System reboot is not necessary but never hurts.

bislinks's picture
Submitted by bislinks on Thu, 05/14/2020 - 12:31 Pro Licensee

keeps asking to install procmail

recheck error:

The Procmail program needed for spam filtering does not appear to be installed on your system, or has not yet been set up properly in Webmin's Procmail Mail Filter module. If your system does not use spam filtering, it should be disabled in Virtualmin's module configuration page.
bislinks's picture
Submitted by bislinks on Thu, 05/14/2020 - 12:36 Pro Licensee

Package procmail-3.22-47.el8.x86_64 is already installed.

Ilia's picture
Submitted by Ilia on Thu, 05/14/2020 - 12:36

Just re-run the installer.

bislinks's picture
Submitted by bislinks on Thu, 05/14/2020 - 12:53 Pro Licensee

i did the following before post install was successful:

sudo chown root:root /bin/procmail

sudo chmod 0600 /bin/procmail

Surely, something wrong with those permission>?

bislinks's picture
Submitted by bislinks on Thu, 05/14/2020 - 12:43 Pro Licensee

install re-run was successful.

But I am still getting the same error:

procmail is not installed...

UPdate:

The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..
Your system has 3.44 GiB of memory, which is at or above the Virtualmin recommended minimum of 256 MiB.
BIND DNS server is installed, and the system is configured to use it.

Mail server Postfix is installed and configured.

Postfix is configured to support per-domain outgoing IP addresses.

SuExec cannot be used to run PHP scripts in CGI or FCGId modes : The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin virtual server home directory is /home. CGI scripts run as domain owners will not be executed.

The following PHP versions are available : 7.2.11 (/bin/php-cgi)

The following PHP execution modes are available : fpm

The following PHP-FPM versions are available on this system : 7.2.11 (php-fpm)

PHP versions have changed to 7.2 since last check. Regenerating any missing php.ini files.

Webalizer is installed.

Apache is configured to host SSL websites.

MariaDB 10.3.17 is installed and running.

ProFTPD is installed.

Logrotate is installed.

The Procmail program needed for spam filtering does not appear to be installed on your system, or has not yet been set up properly in Webmin's Procmail Mail Filter module. If your system does not use spam filtering, it should be disabled in Virtualmin's module configuration page.

.. your system is not ready for use by Virtualmin.
bislinks's picture
Submitted by bislinks on Thu, 05/14/2020 - 14:04 Pro Licensee

Got it.

Had to Disable spam, virus and remove procmail. Reinstall procmail, enable spam, virus.

bislinks's picture
Submitted by bislinks on Thu, 05/14/2020 - 14:02 Pro Licensee

Status: Active » Fixed
Ilia's picture
Submitted by Ilia on Wed, 05/20/2020 - 10:16

We need to push updated packages to our repos and that's it.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.