SkaFan
December 15, 2024, 4:23pm
1
SYSTEM INFORMATION
OS type and version
Rocky Linux 9.5
Virtualmin version
7.30.2 GPL
Testing my mail server I found that virus scanning dosent work.
cat /var/log/procmail.log
ERROR: Could not connect to clamd on LocalSocket /run/clamd.scan/clamd.sock: Permission denied
Scanner is configued to use it.
/etc/clamd.d/scan.conf
LocalSocket /run/clamd.scan/clamd.sock
The file also exists
srw-rw-rw- 1 clamscan clamscan 0 15. Dez 16:49 /run/clamd.scan/clamd.sock
Setting Server up I was following the guide.
nano /etc/procmailrc
LOGFILE=/var/log/procmail.log
TRAP=/etc/webmin/virtual-server/procmail-logger.pl
:0wi
VIRTUALMIN=|/etc/webmin/virtual-server/lookup-domain.pl $LOGNAME
EXITCODE=$?
:0
* ?/bin/test "$EXITCODE" = "73"
/dev/null
EXITCODE=0
:0
* ?/bin/test "$VIRTUALMIN" != ""
{
INCLUDERC=/etc/webmin/virtual-server/procmail/$VIRTUALMIN
}
ORGMAIL=$HOME/Maildir/
DEFAULT=$HOME/Maildir/
DROPPRIVS=yes
:0
$DEFAULT
I compiled and installed the wrapper
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
int main(int argc, char **argv)
{
int i;
for(i=0; argv[i] != NULL; i++) {
}
if (i != 6) {
fprintf(stderr, "Wrong number of args (%d)\n", i);
return 1;
}
if (strcmp(argv[1], "-o") != 0) {
fprintf(stderr, "argv[1] must be -o\n");
return 1;
}
if (strcmp(argv[2], "-a") != 0) {
fprintf(stderr, "argv[2] must be -a\n");
return 1;
}
if (strcmp(argv[4], "-d") != 0) {
fprintf(stderr, "argv[4] must be -d\n");
return 1;
}
setuid(geteuid());
setgid(getegid());
execv("/usr/bin/procmail", argv);
return 0;
}
I also checked the ```
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
all there.
I found that there is no clamav-daemon on my Rocky installation.
Did somethink changes there?
systemctl status clam TAB TAB shows me:
clamav-clamonacc.service clamav-freshclam.service clamd@scan.service clamonacc.service
ID10T
December 15, 2024, 4:34pm
2
Did you follow this guide?
Instead of the automated?
Recommended system specifications Automated installation requires a freshly installed, supported OS 1 GB RAM (less for the --minimal installation), more is better 1 GB free disk space, more for your domain data A domain name with DNS records pointing...
SkaFan
December 15, 2024, 4:35pm
3
I installed it auto, then checked the config.
Virtualmin was complaning about Procmail no being installed/configured correctly. So I checked the guide and did the work.
ID10T
December 15, 2024, 4:47pm
4
SkaFan:
I installed it auto
Rocky installs should work out of the box.
Seems everything was there but for some reason a permission issue. There was just an upgrade to Webmin so I’m not sure if that would be an issue or not.
SkaFan
December 15, 2024, 5:29pm
5
After
chmod 1755 /var/run/clamd.scan
the mail containing the eicar test virus get scaned and put into the .virus directory.
But no I get an new error.
cat /var/log/procmail.log
procmail: Program failure (1) of "/etc/webmin/virtual-server/clam-wrapper.pl"
cat /etc/webmin/virtual-server/clam-wrapper.pl
#!/usr/bin/perl
# Runs clamdscan, and exits with 1 if the program reports a virus was found
# or 0 if not was found or some error happened
$prog = join(" ", map { quotemeta($_) } @ARGV);
$temp = "/tmp/clamwrapper.$$";
unlink($temp);
# Check if we are using the streaming client, which has slightly different
# semantics
$stream_client = $ARGV[0] =~ /clamd-stream-client/ ? 1 : 0;
$fullprog = $prog;
if (!$stream_client) {
$fullprog .= " -";
}
# Feed email to clamscan
$SIG{'PIPE'} = 'ignore';
$clampid = open(INPUT, "|$fullprog >$temp");
while(read(STDIN, $buf, 32768) > 0) {
print INPUT $buf;
}
# Wait at most 30 seconds for a response
$timed_out = 0;
$SIG{'ALRM'} = sub { $timed_out++ };
alarm(30);
close(INPUT);
alarm(0);
if ($timed_out) {
print STDERR "Virus scanner failed to response within 30 seconds\n";
kill('KILL', $clampid);
unlink($temp);
exit(0);
}
# Read back status from clamscan, and exit non-zero if a virus was found
open(OUTPUT, "<".$temp);
while(<OUTPUT>) {
$out .= $_;
}
close(OUTPUT);
unlink($temp);
if ($stream_client && $out =~ /\S/) {
# Using clamd-stream-client - output contains a virus name if found
exit(1);
}
elsif (!$stream_client && $out =~ /FOUND/) {
# Using clamscan or clamdscan - output contains FOUND if a virus
# was detected
exit(1);
}
else {
exit(0);
}
ls -lha /etc/webmin/virtual-server/clam-wrapper.pl
-rwxr-xr-x 1 root root 1,3K 8. Dez 08:55 /etc/webmin/virtual-server/clam-wrapper.pl
EDIT
Wait, does Program failure (1) here means that it found the virus?
After rebooting the system “Permission denied” it back
LocalSocketMode 1755 in /etc/clamd.d/scan.conf didn’t helped.
Joe
December 15, 2024, 7:33pm
6
That would mean you’re on an unsupported architecture (ARM, I guess), or something went wrong in the installation and you probably want to stop and figure out what went wrong. If it’s on ARM (or other unsupported architecture), and you didn’t get any errors, then it seems like you’ve done the necessary steps to resolve that (procmail-wrapper
is the only thing missing on a supported OS running on ARM). Note that procmail-wrapper
is not procmail
. It calls procmail
with elevated permissions, after restricting what the call can do.
Your problem is that the procmail-wrapper
command needs to be setuid, so it can call procmail as the user after reading configs.
Joe
December 15, 2024, 8:49pm
8
Then something went wrong during installation/configuration, and you should figure out what, rather than going to a bunch of complicated extra work to try to fix whatever didn’t get done during the installation. Odds are good you’ll be finding surprises well into the future.
Check the install log.
SkaFan
December 15, 2024, 9:56pm
9
I did a fresh installation of Rocky 9.5 and Virtualmin.
SpamAssassin was complaning, not procmail.
SpamAssassin version 3.4.6
Warning! SpamAssassin does not appear to be set up in the system’s Procmail configuration file /etc/procmailrc, so any configuration done using this module will have no effect unless users have it set up individually.
Dashboard shows its running…
cat /etc/procmailrc
LOGFILE=/var/log/procmail.log
TRAP=/etc/webmin/virtual-server/procmail-logger.pl
ORGMAIL=$HOME/Maildir/
DEFAULT=$HOME/Maildir/
DROPPRIVS=yes
:0
$DEFAULT
Looks very different from the one in the Docs.
Joe
December 15, 2024, 10:23pm
10
That indicates SpamAssassin was not configured during install. You should have seen some errors during the installation or not all of the steps completed for some reason (the install script shows all the steps in the form of 12/23
and the stages also get a counter with the number of stages to run, to try to show you clearly if it has actually completed, and it should show a green check for successful stages and a red X for some kind of failure or a yellow symbol for a warning, though that will generally only happen for quotas, which is the only thing you should ever ignore during installation).
Trying to fix all of this manually is just a huge bunch of time that you don’t need to spend. The installer makes a well-configured system with all components installed. If it doesn’t, something went wrong and your response to that should be to figure out what went wrong and correct that problem for the next install on a freshly installed supported OS.
So, yes, you have an incomplete installation and should probably start over on a freshly installed supported OS/architecture, and watch the install for errors, and check the install log.
SkaFan
December 15, 2024, 10:32pm
11
Sorry but no errors came to my attention.
Like I said I did this install fresh just ja few min. ago!
Checking for HTTP client .. found /usr/bin/wget -nv
2024-12-15 22:38:03 URL:https://software.virtualmin.com/lib/slib.sh [26265/26265] -> "slib.sh" [1]
[2024-12-15 22:38:04 CET] [INFO] Log will be written to: /home/arpo/virtualmin/virtualmin-install.log
[2024-12-15 22:38:04 CET] [DEBUG] LOG_ERRORS_FATAL=1
[2024-12-15 22:38:04 CET] [DEBUG] LOG_LEVEL_STDOUT=INFO
[2024-12-15 22:38:04 CET] [DEBUG] LOG_LEVEL_LOG=DEBUG
[2024-12-15 22:38:07 CET] [INFO] Started installation log in /home/arpo/virtualmin/virtualmin-install.log
[2024-12-15 22:38:07 CET] [DEBUG] Phase 1 of 4: Check
[2024-12-15 22:38:07 CET] [INFO] Spin pid is: 975
Syncing system time ..
.. done
[2024-12-15 22:38:07 CET] [INFO] Checking system time: [2024-12-15 22:38:07 CET] [INFO] Success.
[2024-12-15 22:38:18 CET] [INFO] Spin pid is: 1273
Checking for Perl .... found Perl at /usr/bin/perl
[2024-12-15 22:38:18 CET] [INFO] Checking Perl installation: [2024-12-15 22:38:18 CET] [INFO] Success.
[2024-12-15 22:38:19 CET] [INFO] Spin pid is: 1302
Checking for an update for a set of CA certificates ..
Letzte PrĂĽfung auf abgelaufene Metadaten: vor 0:01:06 am So 15 Dez 2024 22:37:14 CET.
Abhängigkeiten sind aufgelöst.
Nichts zu tun.
Fertig!
.. done
[2024-12-15 22:38:19 CET] [INFO] Checking CA certificates package: [2024-12-15 22:38:19 CET] [INFO] Success.
[2024-12-15 22:38:21 CET] [INFO] Spin pid is: 1380
Checking for HTTP client .. found /usr/bin/wget -nv
[2024-12-15 22:38:21 CET] [INFO] Checking HTTP client: [2024-12-15 22:38:21 CET] [INFO] Success.
[2024-12-15 22:38:21 CET] [INFO] Spin pid is: 1408
[2024-12-15 22:38:21 CET] [INFO] Checking GPG package: [2024-12-15 22:38:21 CET] [INFO] Success.
[2024-12-15 22:38:22 CET] [DEBUG] Phase 2 of 4: Setup
[2024-12-15 22:38:22 CET] [DEBUG] Install mode: full
[2024-12-15 22:38:22 CET] [DEBUG] Product: Virtualmin GPL
[2024-12-15 22:38:22 CET] [DEBUG] virtualmin-install.sh version: 7.4.0
[2024-12-15 22:38:22 CET] [DEBUG] Checking for fully qualified hostname ..
[2024-12-15 22:38:22 CET] [DEBUG] Hostname is fully qualified as server.o-arp.de
[2024-12-15 22:38:22 CET] [DEBUG] Setting hostname to server.o-arp.de
[2024-12-15 22:38:22 CET] [DEBUG] Hostname is fully qualified as server.o-arp.de
[2024-12-15 22:38:22 CET] [DEBUG] Primary address detected as 95.216.172.176
[2024-12-15 22:38:22 CET] [DEBUG] Entry for IP 95.216.172.176 exists in /etc/hosts.
[2024-12-15 22:38:22 CET] [DEBUG] Updating with new hostname.
[2024-12-15 22:38:22 CET] [DEBUG] Installing serial number and license key into /etc/virtualmin-license
[2024-12-15 22:38:22 CET] [DEBUG] Operating system name: Rocky
[2024-12-15 22:38:22 CET] [DEBUG] Operating system version: 9.5
[2024-12-15 22:38:22 CET] [DEBUG] Operating system type: rocky
[2024-12-15 22:38:22 CET] [DEBUG] Operating system major: 9
[2024-12-15 22:38:22 CET] [DEBUG] Configuring package manager for Rocky 9.5 ..
[2024-12-15 22:38:22 CET] [DEBUG] Disabling SELinux during installation ..
[2024-12-15 22:38:22 CET] [DEBUG] setenforce 0 succeeded
[2024-12-15 22:38:22 CET] [INFO] Spin pid is: 1486
Letzte PrĂĽfung auf abgelaufene Metadaten: vor 0:01:09 am So 15 Dez 2024 22:37:14 CET.
Das Paket dnf-plugins-core-4.3.0-16.el9.noarch ist bereits installiert.
Abhängigkeiten sind aufgelöst.
Nichts zu tun.
Fertig!
[2024-12-15 22:38:22 CET] [INFO] Installing core plugins for package manager: [2024-12-15 22:38:22 CET] [INFO] Success.
[2024-12-15 22:38:24 CET] [INFO] Spin pid is: 1554
2024-12-15 22:38:24 URL:https://software.virtualmin.com/vm/7/rpm/virtualmin-gpl-release.noarch.rpm [15879/15879] -> "virtualmin-gpl-release.noarch.rpm" [1]
[2024-12-15 22:38:24 CET] [INFO] Downloading Virtualmin 7 release package: [2024-12-15 22:38:24 CET] [INFO] Success.
[2024-12-15 22:38:26 CET] [INFO] Spin pid is: 1607
Warnung: virtualmin-gpl-release.noarch.rpm: Header V4 RSA/SHA256 Signature, SchlĂĽssel-ID b9a0b8b7: NOKEY
Fehler: Transaktion-Sperre auf /var/lib/rpm/.rpm.lock kann nicht erstellt werden (Die Ressource ist zur Zeit nicht verfĂĽgbar)
Fehler: /etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin-7: Import des SchlĂĽssels 1 fehlgeschlagen.
[2024-12-15 22:38:26 CET] [INFO] Installing Virtualmin 7 release package: [2024-12-15 22:38:26 CET] [INFO] Success.
[2024-12-15 22:38:26 CET] [DEBUG] Phase 3 of 4: Installation
[2024-12-15 22:38:26 CET] [INFO] Spin pid is: 1646
Virtualmin 7 - x86_64 15 kB/s | 5.5 kB 00:00
Virtualmin 7 GPL - noarch 1.1 MB/s | 565 kB 00:00
Das Paket epel-release-9-7.el9.noarch ist bereits installiert.
Abhängigkeiten sind aufgelöst.
================================================================================
Paket Architektur Version Paketquelle Größe
================================================================================
Aktualisieren:
epel-release noarch 9-9.el9 epel 19 k
Transaktionszusammenfassung
================================================================================
Aktualisieren 1 Paket
Gesamte Downloadgröße: 19 k
Pakete werden heruntergeladen:
epel-release-9-9.el9.noarch.rpm 1.4 MB/s | 19 kB 00:00
--------------------------------------------------------------------------------
Gesamt 25 kB/s | 19 kB 00:00
TransaktionsĂĽberprĂĽfung wird ausgefĂĽhrt
TransaktionsĂĽberprĂĽfung war erfolgreich.
Transaktion wird getestet
Transaktionstest war erfolgreich.
Transaktion wird ausgefĂĽhrt
Vorbereitung läuft : 1/1
Aktualisieren : epel-release-9-9.el9.noarch 1/2
AusgefĂĽhrtes Scriptlet: epel-release-9-9.el9.noarch 1/2
Aufräumen : epel-release-9-7.el9.noarch 2/2
AusgefĂĽhrtes Scriptlet: epel-release-9-7.el9.noarch 2/2
Überprüfung läuft : epel-release-9-9.el9.noarch 1/2
Überprüfung läuft : epel-release-9-7.el9.noarch 2/2
Aktualisiert:
epel-release-9-9.el9.noarch
Fertig!
[2024-12-15 22:38:26 CET] [INFO] Installing EPEL release package: [2024-12-15 22:38:26 CET] [INFO] Success.
[2024-12-15 22:38:34 CET] [INFO] Spin pid is: 1901
[2024-12-15 22:38:34 CET] [INFO] Enabling CRB package repository: [2024-12-15 22:38:34 CET] [INFO] Success.
[2024-12-15 22:38:35 CET] [INFO] Spin pid is: 1942
55 Dateien entfernt
[2024-12-15 22:38:35 CET] [INFO] Cleaning up software repo metadata: [2024-12-15 22:38:35 CET] [INFO] Success.
[2024-12-15 22:38:36 CET] [INFO] Spin pid is: 1983
Extra Packages for Enterprise Linux 9 - x86_64 29 MB/s | 23 MB 00:00
Extra Packages for Enterprise Linux 9 openh264 2.2 kB/s | 2.5 kB 00:01
Rocky Linux 9 - BaseOS 3.0 MB/s | 2.3 MB 00:00
Rocky Linux 9 - AppStream 13 MB/s | 8.3 MB 00:00
Rocky Linux 9 - CRB 5.5 MB/s | 2.5 MB 00:00
Rocky Linux 9 - Extras 51 kB/s | 16 kB 00:00
Virtualmin 7 - x86_64 16 kB/s | 5.5 kB 00:00
Virtualmin 7 GPL - noarch 1.1 MB/s | 565 kB 00:00
Abhängigkeiten sind aufgelöst.
Nichts zu tun.
Fertig!
[2024-12-15 22:38:36 CET] [INFO] Checking and installing system package updates: [2024-12-15 22:38:36 CET] [INFO] Success.
[2024-12-15 22:39:05 CET] [INFO] Spin pid is: 2788
GPG-SchlĂĽssel 0xB9A0B8B7 wird importiert:
Benutzerkennung : »Virtualmin, Inc. (Package signing key for Virtualmin 7) <security@virtualmin.com>«
Fingerabdruck: 586C 427B 9590 C1C4 35A5 FE39 3E57 0892 B9A0 B8B7
Von : /etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin-7
Installiert:
annobin-12.65-1.el9.x86_64
apr-1.7.0-12.el9_3.x86_64
apr-util-1.6.1-23.el9.x86_64
apr-util-bdb-1.6.1-23.el9.x86_64
apr-util-openssl-1.6.1-23.el9.x86_64
awscli2-2.15.31-3.el9.noarch
awstats-7.8-9.el9.noarch
bind-32:9.16.23-24.el9_5.x86_64
bind-dnssec-doc-32:9.16.23-24.el9_5.noarch
bind-dnssec-utils-32:9.16.23-24.el9_5.x86_64
bind-libs-32:9.16.23-24.el9_5.x86_64
bind-license-32:9.16.23-24.el9_5.noarch
bind-utils-32:9.16.23-24.el9_5.x86_64
bzip2-1.0.8-8.el9.x86_64
certbot-2.11.0-1.el9.noarch
checkpolicy-3.6-1.el9.x86_64
clamav-1.0.7-1.el9.x86_64
clamav-filesystem-1.0.7-1.el9.noarch
clamav-freshclam-1.0.7-1.el9.x86_64
clamav-lib-1.0.7-1.el9.x86_64
clamd-1.0.7-1.el9.x86_64
clucene-core-2.3.3.4-42.20130812.e8e3d20git.el9.x86_64
cpp-11.5.0-2.el9.x86_64
cyrus-sasl-2.1.27-21.el9.x86_64
cyrus-sasl-gssapi-2.1.27-21.el9.x86_64
cyrus-sasl-plain-2.1.27-21.el9.x86_64
dmidecode-1:3.6-1.el9.x86_64
dovecot-1:2.3.16-14.el9.x86_64
dwz-0.14-3.el9.x86_64
efi-srpm-macros-6-2.el9_0.noarch
etckeeper-1.18.20-1.el9.noarch
etckeeper-dnf-1.18.20-1.el9.noarch
fail2ban-firewalld-1.0.2-12.el9.noarch
fail2ban-selinux-1.0.2-12.el9.noarch
fail2ban-server-1.0.2-12.el9.noarch
fcgi-2.4.0-42.el9.x86_64
fcgiwrap-1.1.0-18.20181108git99c942c.el9.x86_64
firewalld-1.3.4-7.el9.noarch
firewalld-filesystem-1.3.4-7.el9.noarch
fontawesome-fonts-1:4.7.0-13.el9.noarch
fontconfig-2.14.0-2.el9_1.x86_64
fonts-srpm-macros-1:2.0.5-7.el9.1.noarch
freetype-2.10.4-9.el9.x86_64
fstrm-0.6.1-3.el9.x86_64
gcc-11.5.0-2.el9.x86_64
gcc-plugin-annobin-11.5.0-2.el9.x86_64
gd-2.3.2-3.el9.x86_64
geolite2-country-20191217-6.el9.noarch
ghc-srpm-macros-1.5.0-6.el9.noarch
git-core-2.43.5-1.el9_4.x86_64
glibc-devel-2.34-125.el9_5.1.x86_64
glibc-headers-2.34-125.el9_5.1.x86_64
go-srpm-macros-3.6.0-3.el9.noarch
gobject-introspection-1.68.0-11.el9.x86_64
graphite2-1.3.14-9.el9.x86_64
groff-1.22.4-10.el9.x86_64
harfbuzz-2.7.4-10.el9.x86_64
httpd-2.4.62-1.el9.x86_64
httpd-core-2.4.62-1.el9.x86_64
httpd-filesystem-2.4.62-1.el9.noarch
httpd-tools-2.4.62-1.el9.x86_64
ipset-7.11-8.el9.x86_64
ipset-libs-7.11-8.el9.x86_64
iptables-nft-1.8.10-4.el9_4.x86_64
jailkit-2.23-1.el8.vm.x86_64
jbigkit-libs-2.1-23.el9.x86_64
kernel-headers-5.14.0-503.16.1.el9_5.x86_64
kernel-srpm-macros-1.0-13.el9.noarch
langpacks-core-font-en-3.0-16.el9.noarch
libX11-1.7.0-9.el9.x86_64
libX11-common-1.7.0-9.el9.noarch
libXau-1.0.9-8.el9.x86_64
libXpm-3.5.13-10.el9.x86_64
libaio-0.3.111-13.el9.x86_64
libbsd-0.12.2-1.el9.x86_64
libcap-ng-python3-0.8.2-7.el9.x86_64
libexttextcat-3.4.5-11.el9.x86_64
libicu-67.1-9.el9.x86_64
libjpeg-turbo-2.0.90-7.el9.x86_64
libmaxminddb-1.5.2-4.el9.x86_64
libmd-1.1.0-1.el9.x86_64
libmemcached-awesome-1.1.0-12.el9.x86_64
libmpc-1.2.1-4.el9.x86_64
libnftnl-1.2.6-4.el9_4.x86_64
libopendkim-2.11.0-0.36.el9.x86_64
libpkgconf-1.7.3-10.el9.x86_64
libpng-2:1.6.37-12.el9.x86_64
libsodium-1.0.18-8.el9.x86_64
libspf2-1.2.11-11.20210922git4915c308.el9.x86_64
libstemmer-0-18.585svn.el9.x86_64
libtiff-4.4.0-13.el9.x86_64
libtirpc-1.3.3-9.el9.x86_64
libuv-1:1.42.0-2.el9_4.x86_64
libwebp-1.2.0-8.el9.x86_64
libxcb-1.13.1-9.el9.x86_64
libxcrypt-devel-4.4.18-3.el9.x86_64
libxslt-1.1.34-9.el9.x86_64
llvm-libs-18.1.8-3.el9.x86_64
lm_sensors-3.6.0-10.el9.x86_64
lm_sensors-libs-3.6.0-10.el9.x86_64
lua-srpm-macros-1-6.el9.noarch
lynx-2.8.9-20.el9.x86_64
mailcap-2.1.49-5.el9.noarch
make-1:4.3-8.el9.x86_64
mariadb-3:10.5.22-1.el9_2.x86_64
mariadb-backup-3:10.5.22-1.el9_2.x86_64
mariadb-common-3:10.5.22-1.el9_2.x86_64
mariadb-connector-c-3.2.6-1.el9_0.x86_64
mariadb-connector-c-config-3.2.6-1.el9_0.noarch
mariadb-errmsg-3:10.5.22-1.el9_2.x86_64
mariadb-gssapi-server-3:10.5.22-1.el9_2.x86_64
mariadb-server-3:10.5.22-1.el9_2.x86_64
mariadb-server-utils-3:10.5.22-1.el9_2.x86_64
milter-greylist-4.6.4-1.el9.x86_64
mod_fcgid-2.3.9-28.el9.x86_64
mod_http2-2.0.26-2.el9_4.1.x86_64
mod_lua-2.4.62-1.el9.x86_64
mod_ssl-1:2.4.62-1.el9.x86_64
mysql-selinux-1.0.10-1.el9.noarch
nftables-1:1.0.9-3.el9.x86_64
nginx-filesystem-2:1.20.1-20.el9.0.1.noarch
ocaml-srpm-macros-6-6.el9.noarch
openblas-srpm-macros-2-11.el9.noarch
opendbx-1.4.6-31.el9.x86_64
opendkim-2.11.0-0.36.el9.x86_64
p7zip-16.02-31.el9.x86_64
paper-2.3-6.el9.x86_64
perl-Algorithm-Diff-1.2010-4.el9.noarch
perl-Archive-Tar-2.38-6.el9.noarch
perl-Authen-SASL-2.16-25.el9.noarch
perl-AutoSplit-5.74-481.el9.noarch
perl-B-Hooks-EndOfScope-0.24-15.el9.noarch
perl-BSD-Resource-1.291.100-17.el9.x86_64
perl-Benchmark-1.23-481.el9.noarch
perl-BerkeleyDB-0.64-4.el9.x86_64
perl-CGI-4.51-5.el9.noarch
perl-CPAN-Meta-2.150010-460.el9.noarch
perl-CPAN-Meta-Requirements-2.140-461.el9.noarch
perl-CPAN-Meta-YAML-0.018-461.el9.noarch
perl-Class-Data-Inheritable-0.08-39.el9.noarch
perl-Class-Inspector-1.36-7.el9.noarch
perl-Class-Method-Modifiers-2.13-8.el9.noarch
perl-Class-Singleton-1.6-4.el9.noarch
perl-Class-XSAccessor-1.19-25.el9.x86_64
perl-Clone-0.45-6.el9.x86_64
perl-Compress-Raw-Bzip2-2.101-5.el9.x86_64
perl-Compress-Raw-Lzma-2.101-3.el9.x86_64
perl-Compress-Raw-Zlib-2.101-5.el9.x86_64
perl-Config-IniFiles-3.000003-6.el9.noarch
perl-Convert-ASN1-0.27-24.el9.noarch
perl-Crypt-OpenSSL-Bignum-0.09-16.el9.x86_64
perl-Crypt-OpenSSL-RSA-0.33-1.el9.x86_64
perl-Crypt-OpenSSL-Random-0.15-14.el9.x86_64
perl-Crypt-SSLeay-0.72-37.el9.x86_64
perl-DBD-MariaDB-1.21-16.el9_0.x86_64
perl-DBD-MySQL-4.050-13.el9.x86_64
perl-DBI-1.643-9.el9.x86_64
perl-DB_File-1.855-4.el9.x86_64
perl-Data-Dump-1.23-18.el9.noarch
perl-Data-OptList-0.110-17.el9.noarch
perl-Data-Validate-IP-0.30-4.el9.noarch
perl-Date-ISO8601-0.005-13.el9.noarch
perl-Date-Manip-6.85-3.el9.noarch
perl-DateTime-2:1.54-4.el9.x86_64
perl-DateTime-Locale-1.31-4.el9.noarch
perl-DateTime-TimeZone-2.62-1.el9.noarch
perl-DateTime-TimeZone-SystemV-0.010-14.el9.noarch
perl-DateTime-TimeZone-Tzfile-0.011-14.el9.noarch
perl-Devel-CallChecker-0.008-14.el9.x86_64
perl-Devel-Caller-2.06-26.el9.x86_64
perl-Devel-GlobalDestruction-0.14-16.el9.noarch
perl-Devel-LexAlias-0.05-27.el9.x86_64
perl-Devel-PPPort-3.62-4.el9.x86_64
perl-Devel-StackTrace-1:2.04-10.el9.noarch
perl-Digest-HMAC-1.03-29.el9.noarch
perl-Digest-SHA-1:6.02-461.el9.x86_64
perl-Dist-CheckConflicts-0.11-23.el9.noarch
perl-DynaLoader-1.47-481.el9.x86_64
perl-DynaLoader-Functions-0.003-13.el9.noarch
perl-Email-Date-Format-1.005-20.el9.noarch
perl-Encode-Detect-1.01-37.el9.x86_64
perl-Encode-Locale-1.05-21.el9.noarch
perl-Error-1:0.17029-7.el9.noarch
perl-Eval-Closure-0.14-16.el9.noarch
perl-Exception-Class-1.44-13.el9.noarch
perl-Exporter-Tiny-1.002002-6.el9.noarch
perl-ExtUtils-Command-2:7.60-3.el9.noarch
perl-ExtUtils-Constant-0.25-481.el9.noarch
perl-ExtUtils-Install-2.20-4.el9.noarch
perl-ExtUtils-MakeMaker-2:7.60-3.el9.noarch
perl-ExtUtils-Manifest-1:1.73-4.el9.noarch
perl-ExtUtils-ParseXS-1:3.40-460.el9.noarch
perl-File-Compare-1.100.600-481.el9.noarch
perl-File-Copy-2.34-481.el9.noarch
perl-File-Find-1.37-481.el9.noarch
perl-File-Listing-6.14-4.el9.noarch
perl-File-ShareDir-1.118-4.el9.noarch
perl-Filter-2:1.60-4.el9.x86_64
perl-GSSAPI-0.28-37.el9.x86_64
perl-HTML-Parser-3.76-3.el9.x86_64
perl-HTML-Tagset-3.20-47.el9.noarch
perl-HTTP-Cookies-6.10-4.el9.noarch
perl-HTTP-Date-6.05-7.el9.noarch
perl-HTTP-Message-6.29-3.el9.noarch
perl-HTTP-Negotiate-6.01-30.el9.noarch
perl-Hash-Util-FieldHash-1.20-481.el9.x86_64
perl-I18N-Langinfo-0.19-481.el9.x86_64
perl-IO-Compress-2.102-4.el9.noarch
perl-IO-Compress-Lzma-2.101-4.el9.noarch
perl-IO-HTML-1.004-4.el9.noarch
perl-IO-Multiplex-1.16-21.el9.noarch
perl-IO-Socket-INET6-2.72-24.el9.noarch
perl-IO-Tty-1.16-4.el9.x86_64
perl-IO-Zlib-1:1.11-4.el9.noarch
perl-IO-stringy-2.113-7.el9.noarch
perl-IPC-Run3-0.048-23.el9.noarch
perl-IPC-SysV-2.09-4.el9.x86_64
perl-JSON-4.03-5.el9.noarch
perl-JSON-PP-1:4.06-4.el9.noarch
perl-JSON-XS-1:4.03-5.el9.x86_64
perl-LDAP-1:0.68-5.el9.noarch
perl-LWP-MediaTypes-6.04-9.el9.noarch
perl-LWP-Protocol-https-6.10-4.el9.noarch
perl-List-MoreUtils-0.430-4.el9.noarch
perl-List-MoreUtils-XS-0.430-5.el9.x86_64
perl-Log-Dispatch-2.70-5.el9.noarch
perl-Log-Dispatch-FileRotate-1.38-1.el9.noarch
perl-Log-Log4perl-1.54-3.el9.noarch
perl-MIME-Lite-3.033-2.el9.noarch
perl-MIME-Types-2.18-4.el9.noarch
perl-MRO-Compat-0.13-15.el9.noarch
perl-Mail-AuthenticationResults-2.20210112-4.el9.noarch
perl-Mail-DKIM-1.20200907-4.el9.noarch
perl-Mail-SPF-2.9.0-26.el9.noarch
perl-Mail-Sender-1:0.903-16.el9.noarch
perl-Mail-Sendmail-0.80-13.el9.noarch
perl-MailTools-2.21-9.el9.noarch
perl-Math-BigInt-1:1.9998.18-460.el9.noarch
perl-Math-Complex-1.59-481.el9.noarch
perl-Module-Implementation-0.09-30.el9.noarch
perl-Module-Load-1:0.36-4.el9.noarch
perl-Module-Runtime-0.016-13.el9.noarch
perl-NTLM-1.09-30.el9.noarch
perl-Net-CIDR-Lite-0.22-2.el9.noarch
perl-Net-DNS-1.29-6.el9.noarch
perl-Net-HTTP-6.21-3.el9.noarch
perl-Net-IP-1.26-20.el9.noarch
perl-Net-SMTP-SSL-1.04-16.el9.noarch
perl-Net-Server-2.009-14.el9.noarch
perl-NetAddr-IP-4.079-18.el9.x86_64
perl-Opcode-1.48-481.el9.x86_64
perl-Package-Generator-1.106-23.el9.noarch
perl-Package-Stash-0.39-4.el9.noarch
perl-Package-Stash-XS-0.29-11.el9.x86_64
perl-PadWalker-2.5-4.el9.x86_64
perl-Params-Classify-0.015-14.el9.x86_64
perl-Params-Util-1.102-5.el9.x86_64
perl-Params-ValidationCompiler-0.30-12.el9.noarch
perl-Pod-Html-1.25-481.el9.noarch
perl-Ref-Util-0.204-12.el9.noarch
perl-Ref-Util-XS-0.117-13.el9.x86_64
perl-Role-Tiny-2.002004-4.el9.noarch
perl-Safe-2.41-481.el9.noarch
perl-Socket6-0.29-11.el9.x86_64
perl-Specio-0.47-3.el9.noarch
perl-Sub-Exporter-0.987-27.el9.noarch
perl-Sub-Exporter-Progressive-0.001013-16.el9.noarch
perl-Sub-Identify-0.14-17.el9.x86_64
perl-Sub-Install-0.928-28.el9.noarch
perl-Switch-2.17-23.el9.noarch
perl-Sys-Hostname-1.23-481.el9.x86_64
perl-Sys-Syslog-0.36-461.el9.x86_64
perl-Test-Harness-1:3.42-461.el9.noarch
perl-Text-Balanced-2.04-4.el9.noarch
perl-Text-Diff-1.45-13.el9.noarch
perl-Text-Soundex-3.05-20.el9.x86_64
perl-Text-Unidecode-1.30-16.el9.noarch
perl-Tie-4.6-481.el9.noarch
perl-Time-HiRes-4:1.9764-462.el9.x86_64
perl-Time-Piece-1.3401-481.el9.x86_64
perl-TimeDate-1:2.33-6.el9.noarch
perl-Try-Tiny-0.30-13.el9.noarch
perl-Types-Serialiser-1.01-4.el9.noarch
perl-Variable-Magic-0.62-14.el9.x86_64
perl-WWW-RobotRules-6.02-30.el9.noarch
perl-XML-NamespaceSupport-1.12-15.el9.noarch
perl-XML-Parser-2.46-9.el9.x86_64
perl-XML-SAX-1.02-8.el9.noarch
perl-XML-SAX-Base-1.09-15.el9.noarch
perl-XML-Simple-2.25-13.el9.noarch
perl-XString-0.005-4.el9.x86_64
perl-common-sense-3.7.5-7.el9.x86_64
perl-deprecate-0.04-481.el9.noarch
perl-devel-4:5.32.1-481.el9.x86_64
perl-doc-5.32.1-481.el9.noarch
perl-encoding-4:3.00-462.el9.x86_64
perl-lib-0.65-481.el9.x86_64
perl-libwww-perl-6.53-4.el9.noarch
perl-locale-1.09-481.el9.noarch
perl-namespace-autoclean-0.29-8.el9.noarch
perl-namespace-clean-0.27-18.el9.noarch
perl-open-1.12-481.el9.noarch
perl-srpm-macros-1-41.el9.noarch
perl-version-7:0.99.28-4.el9.x86_64
perltidy-20210111-4.el9.noarch
php-cli-8.0.30-1.el9_2.x86_64
php-common-8.0.30-1.el9_2.x86_64
php-fpm-8.0.30-1.el9_2.x86_64
php-gd-8.0.30-1.el9_2.x86_64
php-mbstring-8.0.30-1.el9_2.x86_64
php-mysqlnd-8.0.30-1.el9_2.x86_64
php-opcache-8.0.30-1.el9_2.x86_64
php-pdo-8.0.30-1.el9_2.x86_64
php-pear-1:1.10.14-1.el9.noarch
php-process-8.0.30-1.el9_2.x86_64
php-xml-8.0.30-1.el9_2.x86_64
pkgconf-1.7.3-10.el9.x86_64
pkgconf-m4-1.7.3-10.el9.noarch
pkgconf-pkg-config-1.7.3-10.el9.x86_64
policycoreutils-python-utils-3.6-2.1.el9.noarch
postfix-2:3.5.25-1.el9.x86_64
postgrey-1.37-17.el9.noarch
procmail-3.22-56.el9.x86_64
procmail-wrapper-1.1-1.vm.x86_64
proftpd-1.3.8b-4.el9.x86_64
protobuf-c-1.3.3-13.el9.x86_64
psutils-2.07-1.el9.noarch
pyproject-srpm-macros-1.12.0-1.el9.noarch
python-josepy-doc-1.14.0-1.el9.noarch
python-srpm-macros-3.9-54.el9.noarch
python3-acme-2.11.0-1.el9.noarch
python3-audit-3.1.5-1.el9.x86_64
python3-awscrt-0.20.5-3.el9.x86_64
python3-bind-32:9.16.23-24.el9_5.noarch
python3-certbot-2.11.0-1.el9.noarch
python3-cffi-1.14.5-5.el9.x86_64
python3-chardet-4.0.0-5.el9.noarch
python3-colorama-0.4.6-3.el9.noarch
python3-configargparse-1.7-1.el9.noarch
python3-configobj-5.0.6-25.el9.noarch
python3-cryptography-36.0.1-4.el9.x86_64
python3-distro-1.5.0-7.el9.noarch
python3-docutils-0.16-6.el9.0.1.noarch
python3-firewall-1.3.4-7.el9.noarch
python3-gobject-base-3.40.1-6.el9.x86_64
python3-gobject-base-noarch-3.40.1-6.el9.noarch
python3-idna-2.10-7.el9_4.1.noarch
python3-importlib-metadata-4.12.0-2.el9.noarch
python3-jmespath-0.9.4-11.el9.noarch
python3-josepy-1.14.0-1.el9.noarch
python3-libsemanage-3.6-1.el9.x86_64
python3-nftables-1:1.0.9-3.el9.x86_64
python3-parsedatetime-2.6-5.el9.noarch
python3-ply-3.11-14.el9.0.1.noarch
python3-policycoreutils-3.6-2.1.el9.noarch
python3-prompt-toolkit-3.0.38-4.el9.noarch
python3-pyOpenSSL-21.0.0-1.el9.noarch
python3-pycparser-2.20-6.el9.noarch
python3-pygments-2.7.4-4.el9.noarch
python3-pyparsing-2.4.7-9.el9.noarch
python3-pyrfc3339-1.1-11.el9.noarch
python3-pysocks-1.7.1-12.el9.noarch
python3-pytz-2021.1-5.el9.noarch
python3-requests-2.25.1-8.el9.noarch
python3-ruamel-yaml-0.16.6-7.el9.1.0.1.x86_64
python3-ruamel-yaml-clib-0.2.7-3.el9.x86_64
python3-setools-4.4.4-1.el9.x86_64
python3-setuptools-53.0.0-13.el9.noarch
python3-urllib3-1.26.5-6.el9.noarch
python3-wcwidth-0.2.5-8.el9.noarch
python3-zipp-3.20.1-2.el9.noarch
qrencode-4.1.1-1.el9.x86_64
qrencode-libs-4.1.1-1.el9.x86_64
qt5-srpm-macros-5.15.9-1.el9.noarch
quota-1:4.09-2.el9.x86_64
quota-nls-1:4.09-2.el9.noarch
redhat-rpm-config-208-1.el9.noarch
rocky-indexhtml-9.0-3.el9.noarch
rocky-logos-httpd-90.15-2.el9.noarch
rsync-3.2.3-20.el9.x86_64
ruby-3.0.7-163.el9_5.x86_64
ruby-default-gems-3.0.7-163.el9_5.noarch
ruby-libs-3.0.7-163.el9_5.x86_64
rubygem-bigdecimal-3.0.0-163.el9_5.x86_64
rubygem-bundler-2.2.33-163.el9_5.noarch
rubygem-io-console-0.5.7-163.el9_5.x86_64
rubygem-json-2.5.1-163.el9_5.x86_64
rubygem-psych-3.3.2-163.el9_5.x86_64
rubygem-rdoc-6.3.4.1-163.el9_5.noarch
rubygems-3.2.33-163.el9_5.noarch
rust-srpm-macros-17-4.el9.noarch
sendmail-milter-8.16.1-11.el9.x86_64
shared-mime-info-2.1-5.el9.x86_64
spamassassin-3.4.6-6.el9.x86_64
sscg-3.0.0-7.el9.x86_64
systemtap-sdt-devel-5.1-4.el9_5.x86_64
tar-2:1.34-7.el9.x86_64
unzip-6.0-57.el9.x86_64
wbm-virtual-server-3:7.30.2.gpl-1.noarch
wbm-virtualmin-awstats-2:6.1-1.noarch
wbm-virtualmin-htpasswd-2:3.5-1.noarch
webmin-2.202-1.noarch
whois-5.5.9-4.el9.x86_64
whois-nls-5.5.9-4.el9.noarch
xml-common-0.6.3-58.el9.noarch
zip-3.0-35.el9.x86_64
zstd-1.5.1-2.el9.x86_64
[2024-12-15 22:39:05 CET] [INFO] Installing dependencies and system packages: [2024-12-15 22:39:05 CET] [INFO] Success.
[2024-12-15 22:42:32 CET] [INFO] Spin pid is: 15818
Installiert:
usermin-2.102-1.noarch virtualmin-config-7.0.21-1.noarch
wbm-jailkit-1.1-1.noarch wbm-php-pear-2:1.6-1.noarch
wbm-ruby-gems-2:1.9-1.noarch
[2024-12-15 22:42:32 CET] [INFO] Installing Virtualmin 7 and all related packages: [2024-12-15 22:42:32 CET] [INFO] Success.
[2024-12-15 22:43:01 CET] [INFO] Spin pid is: 23533
[2024-12-15 22:43:01 CET] [INFO] Installing Virtualmin 7 related package updates: [2024-12-15 22:43:01 CET] [INFO] Success.
[2024-12-15 22:43:03 CET] [DEBUG] Phase 4 of 4: Configuration
[2024-12-15 22:46:14 CET] [DEBUG] SSL certificate request for the hostname : 1 : Successfully set up SSL certificate for the server.o-arp.de hostname
[2024-12-15 22:46:14 CET] [DEBUG] Cleaning up temporary files in /tmp/.virtualmin-875.
[2024-12-15 22:46:14 CET] [DEBUG] Primary address detected as 95.216.172.176
[2024-12-15 22:46:14 CET] [SUCCESS] Installation Complete!
[2024-12-15 22:46:14 CET] [SUCCESS] If there were no errors above, Virtualmin should be ready
[2024-12-15 22:46:14 CET] [SUCCESS] to configure at https://server.o-arp.de:10000 (or https://95.216.172.176:10000).
Joe
December 15, 2024, 10:49pm
12
The configure step failed somewhere, and I guess didn’t get logged (but I would hope it would have appeared in the CLI output during install). There’s no other explanation I can come up with for the state of your system.
It does look like all the packages got installed, though, so you could try this (but this is also probably going to be problematic because you did a bunch of manual configuration, so now it’s not in a state where the configure stage can work reliably):
virtualmin config-system --bundle LAMP
I would be more confident this would do good things, if it were run immediately after the installation stages, before any manual configuration changes. But, maybe it’ll work OK. It will certainly fix anything that still has the default packaged config files. It probably won’t be able to fix the procmail
/procmail-wrapper
configuration if anything is wrong with that, since you did that manually.
If you want to feel really confident about the system, I’d recommend you start over with a fresh installation on a freshly installed OS. Watch the install stages carefully for errors and make sure all steps complete. If that happens and you still find you end up in this state, it’s something we need to fix in the installer (though no one else has reported similar problems lately, and historically when we’ve seen it it was because the OS was not freshly installed, it had some preinstalled/preconfigured packages, which conflicted with what the installer was trying to do). We’ll fix it if we know about problems.
SkaFan
December 15, 2024, 10:54pm
13
Like I said - I did a fresh installation… like an house ago.
On this fresh installation I did not do any modifications.
Well not to Virtualmin, I just installed Rocky, setup SSH (key/port), some scripts as im lazy…
Thats it… If you like I can post all I have done after installation reboot!
SkaFan
December 15, 2024, 10:57pm
14
[root@server arpo]# virtualmin config-system --bundle LAMP
[1/21] Configuring AWStats âś”
[2/21] Configuring Apache âś”
[3/21] Configuring Bind âś”
[4/21] Configuring ClamAV âś”
[5/21] Configuring Dovecot âś”
[6/21] Configuring Etckeeper âś”
[7/21] Configuring Firewalld âś”
[8/21] Configuring MariaDB âś”
[9/21] Configuring Postfix âś”
[10/21] Configuring ProFTPd âś”
[11/21] Configuring Procmail âś”
[12/21] Configuring Quotas âś”
[13/21] Configuring SASL âś”
[14/21] Configuring Shells âś”
[15/21] Configuring SpamAssassin âś”
[16/21] Configuring Status âś”
[17/21] Configuring Upgrade âś”
[18/21] Configuring Usermin âś”
[19/21] Configuring Webmin âś”
[20/21] Configuring Fail2banFirewalld âś”
[21/21] Configuring Virtualmin âś”
Joe
December 15, 2024, 11:09pm
15
Is that the output from the install that didn’t have procmail-wrapper
and SpamAssassin configured?
That’s really baffling. I don’t know how you could have ended up with the state you’re in. That looks like a completely successful installation, but the configuration you see doesn’t make sense.
SkaFan
December 15, 2024, 11:14pm
16
Like I said, this is a COMPLETE NEW installation!
But same error as 5 Days ago, when I tried to fix it editing the procmail-wrapper stuff.
If you like be my guest and watch me doing it all again… took only a few minutes to run into the very same error again!
Changes in the Rocky repo maybe?
Joe
December 15, 2024, 11:21pm
17
Maybe, but it looks like all the packages got installed in the install log you posted. It seems like it has to have been in the configuration stage, so I’m confused why we don’t have any errors or indication of problems. It looks like an install that bailed early.
Can you check the kernel log for out of memory errors? Maybe the OOM killer kicked in and killed off the child processes during configuration. That’d be unusual (usually, I think we’d see those happening earlier, too and they would show up in the installation stage as failed packages).
What’s in those scripts? In this situation I would normally assume the packages we’re trying to configure already had some configuration done, and that’s why our substitutions and changes failed.
SkaFan
December 15, 2024, 11:25pm
18
here is an example of what I did, from my very own logs…
[Sudo schöner machen]
nano /etc/sudoers
Defaults pwfeedback
arpo ALL = NOPASSWD: /usr/bin/cat, /usr/sbin/reboot, /usr/sbin/shutdown
[Rechte vom Dateisystem auf den Konsole einfacher anpassen]
nano /usr/bin/rechte_anpassen
#!/bin/bash
echo "BEISPIEL:"
echo "chown arpo:storage -R ."
echo "find . -type d -exec chmod 750 {} +"
echo "find . -type f -exec chmod 640 {} +"
chown root:root /usr/bin/rechte_anpassen
chmod 555 /usr/bin/rechte_anpassen
---
[update-grub (Yes old habits die hard!)]
mkdir /root/backups
nano /usr/sbin/update-grub
#!/bin/bash
datum=$(date +%Y-%m-%d)
cp /boot/grub2/grub.cfg /root/backups/grub_${datum}.cfg
grub2-mkconfig -o /boot/grub2/grub.cfg
chown root:root /usr/sbin/update-grub
chmod 750 /usr/sbin/update-grub
---
[Alias fĂĽr alle]
#nano /etc/bashrc
nano /etc/profile.d/alias.sh
alias ll="ls -lah"
alias cls="clear"
alias dir="ls -lha | less"
chown root:root /etc/profile.d/alias.sh
chmod 644 /etc/profile.d/alias.sh
I also disabled IPv6… still not comfortable using it…
Joe
December 16, 2024, 1:12am
19
You asked out of band about the OOM killer. Don’t do that, keep it public, so it helps others. FAQ - Virtualmin Community
To find out if you’re running out of memory, check the kernel log (the dmesg
command, or journalctl -k
, either one as root or with sudo) for Out of memory: Killed process
messages.
We have docs for that: Low Memory | Virtualmin — Open Source Web Hosting Control Panel
Someone has reported running out of memory during installation of Webmin recently (on a system with way too much memory of it to be expected to run out of memory), and I don’t think we’ve figured out the cause of that, yet. It’s plausible that’s what’s happening for you, I don’t know. Check the kernel log for clues.
SkaFan
December 16, 2024, 8:44am
20
Negative… no OOM… would have surpriced me… System has 8GB.