I am coming from https://www.virtualmin.com/comment/reply/68208 w. the problem of the broken letsencrypt feature.
On a Debian 9 I accidently/prematurely did “cd /usr/libexec/webmin && ./update-from-repo.sh -y” as stated in above thread and now get “unable to connect” in GUI/browser:
webmin installation is broken, webmin fails to start.
Already tried “apt-get install --reinstall webmin usermin webmin-virtual-server”, which apparently worked, but didn’t solve the problem, webmin won’t start an throws the following errors:
# service webmin start
Job for webmin.service failed because the control process exited with error code.
See "systemctl status webmin.service" and "journalctl -xe" for details.
#journalctl -xe
...
Jan 15 09:15:44 io systemd[1]: Starting LSB: web-based administration interface for Unix systems...
-- Subject: Unit webmin.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit webmin.service has begun starting up.
Jan 15 09:15:44 io dovecot[24930]: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=*.*.*.*, lip=*.*.*.*, TLS: Disconnected, session=<X7mxUCmc/9ZbQ+hK>
Jan 15 09:15:44 io perl[28014]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root
Jan 15 09:15:45 io dovecot[24930]: pop3-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=*.*.*.*, lip=*.*.*.*, TLS: Disconnected, session=<wQezUCmcANdbQ+hK>
Jan 15 09:15:46 io systemd[1]: webmin.service: Control process exited, code=exited status=2
Jan 15 09:15:46 io systemd[1]: Failed to start LSB: web-based administration interface for Unix systems.
-- Subject: Unit webmin.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit webmin.service has failed.
--
-- The result is failed.
Jan 15 09:15:46 io systemd[1]: webmin.service: Unit entered failed state.
Jan 15 09:15:46 io systemd[1]: webmin.service: Failed with result 'exit-code'.
#
#
#
# systemctl status webmin.service
● webmin.service - LSB: web-based administration interface for Unix systems
Loaded: loaded (/etc/init.d/webmin; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-01-15 09:15:46 CET; 2min 30s ago
Docs: man:systemd-sysv-generator(8)
Process: 28013 ExecStart=/etc/init.d/webmin start (code=exited, status=2)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/webmin.service
├─24924 /usr/sbin/dovecot
├─24929 dovecot/anvil
├─24930 dovecot/log
├─27575 /usr/share/webmin/virtual-server/collectinfo.pl
├─28006 dovecot/config
├─28093 dovecot/auth
├─28095 dovecot/ssl-params
├─28096 dovecot/auth -w
├─28602 sh -c su -s /bin/sh *********** -c openssl\ x509\ \-in\ \\\/home\\\/***********\\\/ssl\\\.cert\ \-issuer\ \-subject\ \-enddate\ \-startdate\ \-text
└─28643 su -s /bin/sh *********** -c openssl x509 -in \/home\/***********\/ssl\.cert -issuer -subject -enddate -startdate -text
#
#
#
## su -s /bin/sh *********** -c openssl x509 -in \/home\/***********\/ssl\.cert -issuer -subject -enddate -startdate -text
su: invalid option -- 'i'
Usage: su [options] [LOGIN]
Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help display this help message and exit
-, -l, --login make the shell a login shell
-m, -p,
--preserve-environment do not reset environment variables, and
keep the same shell
-s, --shell SHELL use SHELL instead of the default in passwd
(clients IP’s and hostnames blanked out complying GDPR)
Any ideas to fix this?
Many thanks for your help & feedback!