Usermin not starting up / authenicating after webmin 1.999 update?

Usermin is not starting up. I’m suspect it is posibly related to the webmin update to 1.999 (I have a server running the same Virtualmin 7.1-1 version but on webmin 1.994 and Usermin is up and running) as I think I lost Usermin after the webmin update.

journalctl -xe and systemctl status shows:

– The unit usermin.service has entered the ‘failed’ state with result ‘exit-code’.
Sep 13 13:01:14 one.communiffy.com systemd[1]: Failed to start Usermin server daemon.
– Subject: A start job for unit usermin.service has failed

root@one:~# systemctl status usermin
● usermin.service - Usermin server daemon
Loaded: loaded (/lib/systemd/system/usermin.service; enabled; vendor preset: enabled)
Active: activating (start) since Tue 2022-09-13 13:01:53 PDT; 2s ago
Cntrl PID: 7418 (miniserv.pl)
Tasks: 1 (limit: 4915)
Memory: 20.5M
CGroup: /system.slice/usermin.service
└─7418 /usr/bin/perl /usr/share/usermin/miniserv.pl /etc/usermin/miniserv.conf

Sep 13 13:01:53 one.communiffy.com systemd[1]: Starting Usermin server daemon…
Sep 13 13:01:53 one.communiffy.com perl[7418]: pam_unix(usermin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root

. . .

Anyone have any suggestions on how to troubleshoot and resolve the Usermin authentication?

Thanks,

SYSTEM INFORMATION
OS type and version debian 10
Virtualmin version 7.1-1

Why are you logging into Usermin as root? That doesn’t make sense. (I’m not sure if it prevents it, but I would think it would. I don’t think I’ve ever tried it.)

Yeah, you’re right. It’s not best practice to log as root. But I haven’t changed that habit.

The one server with the working Usermin and webmin 1.994, I also log in as root to virtualmin/webmin. Then I check the Virtualmin users. With the webmin 1.994 server, Usermin is up and running. So I see the loginto Usermin option.

on the working Usermin/webmin 1.994 system:

systemctl status usermin
● usermin.service - LSB: web-based account administration interface for Unix systems
Loaded: loaded (/etc/init.d/usermin; generated)
Active: active (running) since Mon 2022-05-02 14:33:04 PDT; 4 months 12 days ago
Docs: man:systemd-sysv-generator(8)
Tasks: 38 (limit: 4915)
Memory: 209.2M
CGroup: /system.slice/usermin.service
├─ 1706 /usr/bin/perl /usr/share/usermin/miniserv.pl /etc/usermin/miniserv.conf
├─ 1828 /usr/bin/perl /usr/share/usermin/miniserv.pl /etc/usermin/miniserv.conf
├─ 1829 /usr/bin/perl /usr/share/usermin/miniserv.pl /etc/usermin/miniserv.conf
├─ 2068 /usr/bin/perl /usr/share/usermin/miniserv.pl /etc/usermin/miniserv.conf

but on the nonworking webmin1.999/Usermin:

systemctl status usermin

● usermin.service - Usermin server daemon
Loaded: loaded (/lib/systemd/system/usermin.service; enabled; vendor preset: enabled)
Active: activating (start) since Tue 2022-09-13 14:13:35 PDT; 3s ago
Cntrl PID: 5281 (miniserv.pl)
Tasks: 1 (limit: 4915)
Memory: 20.5M
CGroup: /system.slice/usermin.service
└─5281 /usr/bin/perl /usr/share/usermin/miniserv.pl /etc/usermin/miniserv.conf

Sep 13 14:13:34 one.communiffy.com systemd[1]: usermin.service: Service RestartSec=2s expired, scheduling restart.
Sep 13 14:13:34 one.communiffy.com systemd[1]: usermin.service: Scheduled restart job, restart counter is at 130005.
Sep 13 14:13:34 one.communiffy.com systemd[1]: Stopped Usermin server daemon.
Sep 13 14:13:35 one.communiffy.com systemd[1]: Starting Usermin server daemon…
Sep 13 14:13:35 one.communiffy.com perl[5281]: pam_unix(usermin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root

. . .

Is it a consideration that Loaded of the working webmin 1.994/Usermin says /etc/init.d/usermin

while the nonworking webmin 1.999 says /lib/systemd/system/usermin.service