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
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.
Just in case, I’m reporting I have the same issue.
Usermin won’t be available at all, for any user, it’s not username-related, webmin/virtualmin have ceased offering it the option.
The serverurl:port that I used to open usermin, from which I’d provide the username and password, doesn’t resolve at all.
For instance, again,
service usermin status
* usermin.service - Usermin server daemon
Loaded: loaded (/lib/systemd/system/usermin.service; enabled; vendor preset: enabled)
Active: activating (start) since Mon 2022-10-31 22:36:04 CET; 259ms ago
Cntrl PID: 1919 (miniserv.pl)
Tasks: 1 (limit: 4915)
Memory: 9.8M
CGroup: /system.slice/usermin.service
`-1919 /usr/bin/perl /usr/share/usermin/miniserv.pl /etc/usermin/miniserv.conf
Oct 31 22:36:04 ns3168409.ip-51-178-79.eu systemd[1]: Starting Usermin server daemon...
Oct 31 22:36:04 ns3168409.ip-51-178-79.eu perl[1919]: pam_unix(usermin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root
Same, in the virtualmin panel, server-url/usermin/?xnavigation=1 nothing will happen when I click the button to start up usermin, a brief wait time, and the button to start it is clickable again.
Not sure if I’m asking for support or simply providing a “me too, it’s not random bad luck and maybe something more widespread” report. I can be DMed if more details are necessary, no worries.
I ran what you proposed, here’s the (unsatisfactory, I’m afraid) output, giving the same PAM authentification error for both webmin and usermin (but, hey, webmin is still working so I’ve got that!)
[root@#######:~]$ pkill -9 miniserv
[root@#######:~]$ systemctl restart webmin usermin
[root@#######:~]$ service webmin status
* webmin.service - Webmin server daemon
Loaded: loaded (/lib/systemd/system/webmin.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2022-11-07 16:50:10 CET; 43s ago
Process: 14407 ExecStart=/usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf (code=exited, status=0/SUCCESS)
Main PID: 14705 (miniserv.pl)
Tasks: 2 (limit: 4915)
Memory: 296.3M
CGroup: /system.slice/webmin.service
|-14705 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
`-16226 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
Nov 07 16:50:06 ####### systemd[1]: Starting Webmin server daemon...
Nov 07 16:50:07 ####### perl[14407]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root
Nov 07 16:50:09 ####### webmin[14407]: Webmin starting
Nov 07 16:50:10 ####### systemd[1]: Started Webmin server daemon.
[root@#######:~]$ service usermin status
* usermin.service - Usermin server daemon
Loaded: loaded (/lib/systemd/system/usermin.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2022-11-07 16:50:09 CET; 9min ago
Main PID: 14684 (miniserv.pl)
Tasks: 1 (limit: 4915)
Memory: 17.4M
CGroup: /system.slice/usermin.service
`-14684 /usr/bin/perl /usr/share/usermin/miniserv.pl /etc/usermin/miniserv.conf
Nov 07 16:50:06 ####### systemd[1]: Starting Usermin server daemon...
Nov 07 16:50:07 ####### perl[14406]: pam_unix(usermin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=root
Nov 07 16:50:09 ####### systemd[1]: Started Usermin server daemon.