I found one mention that this had been caused by creating a virtual server that used the same domain name as the host and another that suggested to: Goto Webmin >> Webmin Configuration >> Authentication >> Use “Never use PAM for Unix authentication” though this is not good practice!
Any idea what might have happened 2 weeks ago? Can you restore to a prior backup/snapshot to see what changed?
No. Not even sure when it happened as I go long periods of time without going to Webmin. As the problem is I can’t access webmin, I can’t go to webmin to set that setting. And I don’t see that setting anywhere in miniserv.conf. If I did disable unix authentication, how does it authenticate?
Update: I added no_pam=1 which got that failure off but still can’t access webmin.
Got me, does the webpage show anything? Like a error.
You said your turned off the firewall and still nothing. I was thinking maybe a fail2ban issue but if firewall is off and still nothing, then I have no idea what the issue can be.
You could try a virtualmin install, it installs webmin., but it needs to be a clean OS. That all depends on what you have on the server I guess.
I’ve had this server going on 4 years now and there’s a ton of websites on it. As well as various supporting packages. I thought of Virtualmin but the clean install kills me. Plus there’s no guarantee that will solve it. I was thinking about using some sort of alternative control panel. Still looking at that option.
I did a reboot this is what I see.
[05/May/2023:14:49:13 +1000] Shutting down
[05/May/2023:14:49:26 +1000] miniserv.pl started
[05/May/2023:14:49:26 +1000] IPv6 support enabled
[05/May/2023:14:49:26 +1000] Using MD5 module Digest::MD5
[05/May/2023:14:49:26 +1000] Using SHA512 module Crypt::SHA
only difference is the PAM
Did you use any access controls? Like limiting the IP that can login?
I see something different on a restart on a working Ubuntu system
[05/May/2023:06:03:45 +0100] Shutting down
[05/May/2023:06:03:49 +0100] miniserv.pl started
[05/May/2023:06:03:49 +0100] IPv6 support enabled
[05/May/2023:06:03:49 +0100] Using MD5 module Digest::MD5
[05/May/2023:06:03:49 +0100] Using SHA512 module Crypt::SHA
[05/May/2023:06:03:49 +0100] PAM authentication enabled
only difference is pam
maybe this is distro specific ?