Well, I can help, but you missed the question about which OS/distro and version you’re using – I’ll need that info in order to direct you to the correct logfiles
Here is few errors i got from /var/webmin/miniserv.error:
[24/Mar/2010:04:21:56 +0000] Continuing without the Authen::PAM perl module
Error: Missing or invalid backup filename
Error: Missing or invalid table name
[30/Mar/2010:20:53:56 +0000] Reloading configuration
[30/Mar/2010:21:04:18 +0000] [98.249.218.93] /session_login.cgi : Access denied for 98.249.218.93. The host has been blocked because of too many authentication failures.
[30/Mar/2010:21:04:28 +0000] [98.249.218.93] Access denied for 98.249.218.93
restarting miniserv
[30/Mar/2010:21:16:46 +0000] Restarting
[30/Mar/2010:21:16:46 +0000] miniserv.pl started
[30/Mar/2010:21:16:46 +0000] Perl module Authen::PAM needed for PAM is not installed : Can’t locate Authen/PAM.pm in @INC (@INC contains: /usr/libexec/webmin /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at (eval 10) line 1.
BEGIN failed–compilation aborted at (eval 10) line 1.
webmin[27643]: Invalid login as agnima from
does this user have the webmin login enabled under allowed features of that domain?
are the credentials correct? as it doesnt say denied but invalid…
Also check if that user is temporarily blocked from webmin (I had that once unexpectedly) - webmin users - click the users name in question.
I have exactly the same issue. I use opensolaris 11 and LDAP. I can login as root en use webmin/virtualmin but other users can’t. Login with imap or ftp is successful for those users. I can’t find any logs about login attempts in /var/log, var/adm or /var/webmin. I got warnings about missing PAM module for Perl but since I installed that module no warnings any more.
I have a similar but opposite issue I can access virtualmin with the domain user but I cannot access with root anymore. This just happened suddenly and the Pam module was failing before
logs from /var/log/secure
Oct 7 16:14:13 ip-10-226-55-115 webmin[2270]: Security alert: Host 212.183.140.92 blocked after 5 failed logins for user root
Oct 7 16:14:13 ip-10-226-55-115 webmin[3543]: Invalid login as root from 212.183.140.92
Oct 7 16:15:01 ip-10-226-55-115 crond[3550]: pam_loginuid(crond:session): set_loginuid failed opening loginuid
Oct 7 16:15:01 ip-10-226-55-115 crond[3553]: pam_loginuid(crond:session): set_loginuid failed opening loginuid
Oct 7 16:15:07 ip-10-226-55-115 su: pam_unix(su:session): session opened for user postgres by (uid=0)
Oct 7 16:15:07 ip-10-226-55-115 su: pam_unix(su:session): session closed for user postgres
Oct 7 16:15:49 ip-10-226-55-115 webmin[3670]: Invalid login as root from 212.183.140.92
I see the problems with pam, is is possible that this is suddenly caused by PAM? I tried to install pam with yum (CentOS) but yum would get stuck
I also changed the root password but that made no difference on the virtualmin login
One thing you may want to try is restarting Webmin… it looks like at some point in all that, it began blocking the root user after too many failed login attempts.
I’d suggest restarting Webmin just to make sure you’ve cleared the block, and then try it again with your updated password and see what happens.
You can restart Webmin by typing “/etc/init.d/webmin restart”.
thanks a lot for replying to these posts. I have tried both a machine restart as well as webmin restarts but they do not make any difference. Somehow the root user is locked or cannot log in and I do not know where to check why this is happening.
/var/log/secure shows still the same failed login error but the login password is right as I can access from SSH. Is it possible that the user password and its webmin pass are somehow desynched?
I’m curious what happens if you were to log into Virtualmin, go into Webmin -> System -> Change Passwords, and change the password for root. It’s possible that somehow, something got out of sync, and changing the password from within Webmin might just fix that.