I have just done an update (Webmin + Usermin + others as prompted)
On the Dashboard was prompted “Virtualmin’s configuration has not been checked since it was last updated. Click the button below to verify it now.”
which I did and got this error message “An error occurred contacting the LDAP server : No LDAP client configuration file was found on your system, so the LDAP server must be set on the Module Config page. Either LDAP must be disabled in the module configuration page, or the LDAP Users and Groups module must be set up correctly”
I did not think LDAP was even set up.
So looked in the module configuration for the server and it is not listed.
Went to Webmin -> Unused Modules -> LDAP Server which confirms that is not installed by asking me to install it. (Same for the other LDAP install modules)
Thanks, yes having now done the Webmin & Usermin updates on other boxes was not prompted to check configuration so agree not an issue with the upgrade. Assume that it must be doing a check in the background and found some LDAP problem.
But got quite a shock with the list, not sure where they all came from or which one is impacting Webmin.
root@tor:~# apt list *ldap*
Listing... Done
argonaut-ldap2zone/jammy 1.3-2 all
autofs-ldap/jammy-updates 5.1.8-1ubuntu1.3 amd64
bind9-dyndb-ldap/jammy-updates 11.9-5ubuntu0.22.04.4 amd64
buildapp/jammy 1.5.6-3 amd64
courier-authlib-ldap/jammy 0.71.1-2build1 amd64
courier-ldap/jammy 1.0.16-3build3 amd64
dovecot-ldap/jammy-updates 1:2.3.16+dfsg1-3ubuntu2.2 amd64
erlang-eldap/jammy-updates,jammy-security 1:24.2.1+dfsg-1ubuntu0.1 amd64
freeradius-ldap/jammy-updates,jammy-security 3.0.26~dfsg~git20220223.1.00ed0241fa-0ubuntu3.1 amd64
fusiondirectory-plugin-ldapdump/jammy 1.3-4build1 all
fusiondirectory-plugin-ldapmanager/jammy 1.3-4build1 all
golang-github-go-ldap-ldap-dev/jammy 3.4.1-1 all
golang-gopkg-ldap.v3-dev/jammy 3.0.3-3 all
golang-openldap-dev/jammy 0.2-2ubuntu1 all
gosa-plugin-ldapmanager/jammy 2.7.4+reloaded3-16build1 all
isc-dhcp-server-ldap/jammy-updates 4.4.1-2.3ubuntu2.4 amd64
jmeter-ldap/jammy 2.13-5 all
kamailio-ldap-modules/jammy 5.5.4-1 amd64
kio-ldap/jammy 21.12.3-0ubuntu1 amd64
krb5-kdc-ldap/jammy-updates,jammy-security 1.19.2-2ubuntu0.3 amd64
lcmaps-plugins-basic-ldap/jammy 1.7.1-1build1 amd64
ldap-account-manager-lamdaemon/jammy 7.7-1 all
ldap-account-manager/jammy 7.7-1 all
ldap-auth-client/jammy 0.5.4 all
ldap-auth-config/jammy 0.5.4 all
ldap-git-backup/jammy 1.0.8-1.1 all
ldap-utils/jammy-updates,now 2.5.16+dfsg-0ubuntu0.22.04.1 amd64 [installed,automatic]
ldap2dns/jammy 0.3.1-3.2build2 amd64
ldap2zone/jammy 0.2-12 amd64
ldapscripts/jammy 2.0.8-1ubuntu2 all
ldapvi/jammy 1.7-10build4 amd64
lemonldap-ng-doc/jammy 2.0.13+ds-3ubuntu1 all
lemonldap-ng-fastcgi-server/jammy 2.0.13+ds-3ubuntu1 all
lemonldap-ng-handler/jammy 2.0.13+ds-3ubuntu1 all
lemonldap-ng-uwsgi-app/jammy 2.0.13+ds-3ubuntu1 all
lemonldap-ng/jammy 2.0.13+ds-3ubuntu1 all
libapache-authznetldap-perl/jammy 0.07-6 all
libapache-session-ldap-perl/jammy 0.5-1 all
libapache2-mod-ldap-userdir-dbg/jammy 1.1.19-2.1build1 amd64
libapache2-mod-ldap-userdir/jammy 1.1.19-2.1build1 amd64
libapache2-mod-vhost-ldap/jammy 2.4.0-1build1 amd64
libaprutil1-ldap/jammy-updates,jammy-security 1.6.1-5ubuntu4.22.04.2 amd64
libauthen-simple-ldap-perl/jammy 0.3-1.1 all
libdbd-ldap-perl/jammy 0.20-1.1 all
libghc-ldap-dev/jammy 0.6.11-4build3 amd64
libghc-ldap-doc/jammy 0.6.11-4build3 all
libghc-ldap-prof/jammy 0.6.11-4build3 amd64
libkf5ldap-data/jammy 21.12.3-0ubuntu1 all
libkf5ldap-dev/jammy 21.12.3-0ubuntu1 amd64
libkf5ldap5abi1/jammy 21.12.3-0ubuntu1 amd64
libldap-2.5-0/jammy-updates,now 2.5.16+dfsg-0ubuntu0.22.04.1 amd64 [installed]
libldap-common/jammy-updates,now 2.5.16+dfsg-0ubuntu0.22.04.1 all [installed]
libldap-dev/jammy-updates 2.5.16+dfsg-0ubuntu0.22.04.1 amd64
libldap-java/jammy 5.0.0+dfsg1-1 all
libldap-ocaml-dev/jammy 2.4.2-1build3 amd64
libldap2-dev/jammy-updates 2.5.16+dfsg-0ubuntu0.22.04.1 all
liblemonldap-ng-common-perl/jammy 2.0.13+ds-3ubuntu1 all
liblemonldap-ng-handler-perl/jammy 2.0.13+ds-3ubuntu1 all
liblemonldap-ng-manager-perl/jammy 2.0.13+ds-3ubuntu1 all
liblemonldap-ng-portal-perl/jammy 2.0.13+ds-3ubuntu1 all
libmono-ldap4.0-cil/jammy 6.8.0.105+dfsg-3.2 all
libmono-system-ldap-protocols4.0-cil/jammy 6.8.0.105+dfsg-3.2 all
libmono-system-ldap4.0-cil/jammy 6.8.0.105+dfsg-3.2 all
libmozilla-ldap-perl/jammy 1.5.3-3build4 amd64
libnet-ldap-filterbuilder-perl/jammy 1.200002-1 all
libnet-ldap-perl/jammy 1:0.6800+dfsg-1 all
libnet-ldap-server-perl/jammy 0.43-1 all
libnet-ldap-server-test-perl/jammy 0.22-1 all
libnet-ldap-sid-perl/jammy 0.001-1.1 all
libnet-ldapapi-perl/jammy 3.0.7-2build2 amd64
libnss-ldap/jammy 265-5ubuntu2 amd64
libnss-ldapd/jammy 0.9.12-2 amd64
libpam-ldap/jammy 186-4ubuntu2 amd64
libpam-ldapd/jammy 0.9.12-2 amd64
libsasl2-modules-ldap/jammy-updates 2.1.27+dfsg2-3ubuntu1.2 amd64
libtest-net-ldap-perl/jammy 0.07-1 all
libvt-ldap-java/jammy 3.3.8-4 all
lighttpd-modules-ldap/jammy-updates,jammy-security 1.4.63-1ubuntu3.1 amd64
lua-ldap-dev/jammy 1.3.0-2 amd64
lua-ldap/jammy 1.3.0-2 amd64
matrix-synapse-ldap3/jammy 0.1.4+git20201015+a3c7a9f-1 all
nordugrid-arc-infosys-ldap/jammy 6.14.0-2 all
openvpn-auth-ldap/jammy 2.0.4-1ubuntu4 amd64
pdns-backend-ldap/jammy 4.5.3-1 amd64
perdition-ldap/jammy 2.2-3.1build3 amd64
phamm-ldap-amavis/jammy 0.6.8-1ubuntu2 all
phamm-ldap-vacation/jammy 0.6.8-1ubuntu2 all
phamm-ldap/jammy 0.6.8-1ubuntu2 all
php-ldap/jammy 2:8.1+92ubuntu1 all
php-net-ldap2/jammy 2.2.0-6 all
php-net-ldap3/jammy 1.1.4-1 all
php-symfony-ldap/jammy 5.4.4+dfsg-1ubuntu8 all
php8.1-ldap/jammy-updates,jammy-security 8.1.2-1ubuntu2.14 amd64
phpldapadmin/jammy 1.2.6.3-0.2 all
postfix-ldap/jammy-updates 3.6.4-1ubuntu1.1 amd64
proftpd-mod-ldap/jammy 1.3.7c+dfsg-1build1 amd64
pure-ftpd-ldap/jammy 1.0.50-2.1 amd64
python-django-auth-ldap-doc/jammy 2.2.0-1 all
python-mockldap-doc/jammy 0.3.0-4 all
python3-django-auth-ldap/jammy 2.2.0-1 all
python3-django-ldapdb/jammy 1.5.1-3 all
python3-django-python3-ldap/jammy 0.12.0-1 all
python3-flask-ldapconn/jammy 0.7.2-1.1 all
python3-ldap-dbg/jammy-updates,jammy-security 3.2.0-4ubuntu7.1 amd64
python3-ldap3/jammy 2.8.1-1 all
python3-ldap/jammy-updates,jammy-security 3.2.0-4ubuntu7.1 amd64
python3-ldapdomaindump/jammy 0.9.3-1 all
python3-ldappool/jammy 2.4.1-0ubuntu3 all
python3-mockldap/jammy 0.3.0-4 all
python3-pyldap/jammy-updates,jammy-security 3.2.0-4ubuntu7.1 amd64
python3-volatildap/jammy 1.3.0-2ubuntu4 all
ruby-activeldap/jammy 6.0.3-2 all
ruby-ldap/jammy 0.9.20-2build3 amd64
ruby-net-ldap/jammy 0.16.1-1ubuntu1 all
ruby-omniauth-ldap/jammy 2.1.1-1 all
ruby-pg-ldap-sync/jammy 0.3.0-1 all
shelldap/jammy 1.5.1-1 all
smbldap-tools/jammy 0.9.11-3ubuntu1 all
sssd-ldap/jammy-updates 2.6.3-1ubuntu3.2 amd64
sudo-ldap/jammy-updates,jammy-security 1.9.9-1ubuntu2.4 amd64
tryton-modules-ldap-authentication/jammy 6.0.0-2 all
uwsgi-plugin-ldap/jammy 2.0.20-4 amd64
z-push-backend-galsearch-ldap/jammy 2.6.0-1 all
z-push-backend-ldap/jammy 2.6.0-1 all
full reboot (it is a development box and users are asleep in territory) but no obvious change to that list. However the prompt on the Dashboard has gone and a System Settings -> Re-check Configuration gives the pleasing " … your system is ready for use by Virtualmin
Logged in this morning to find everything back to before
Same prompt on Dashboard to check configuration
and same failure message. So the reboot was a temporary fix.
It must be one of those packages listed ? No idea which one.
None of those packages was marked installed for example run apt list maria* you should see some installed packages while your at the command prompt restart webmin and see if that refixes it
I restarted with a reboot again and the message has gone again so to me that points o something in the “nightly” configuration check. If nothing is installed then why is the configuration check choking?
I need to wait until tomorrow morning to see if all is ok. Meanwhile the box seems to be running OK despite the message.
Timing. I access while the clients are asleep. (box and clients in Canada) also as it worked yesterday it was simplest to do. Also done before seeing your suggestion to only perform Webmin restart. so will try that tomorrow if it chokes again.
I’m not so sure, if webmin is restarted, this should I guess, clear all in memory arrays & variables, so this leaves stuff that webmin is reading from disk. With a reboot /tmp is cleared so webmin can not read anything from /tmp, but on webmin restart that directory would not be cleared.
I know this is a long shot but it may be worth looking in the /tmp directory for something odd