Usermin - The connection was reset

Server uses virtualmin and usermin as mail access

Upon logging in in https://domain.com:20000 (virtual server) , output is "The connection was reset "

Firewall Disabled Restarted usermin, virtualmin and server still not working

No log on miniserv (usermin) (webmin)

Status: 
Closed (fixed)

Comments

What is your actual Usermin URL? I'd like to try connecting with a few different tools, to see what is going wrong..

jmazaredo's picture
Submitted by jmazaredo on Tue, 04/24/2012 - 03:32

This happen upon login

I suspect this is related to another bug we just saw, where PAM was crashing during logins to Usermin on CentOS 5.

See if this workaround helps the problem you're having there... edit this file:

/etc/usermin/miniserv.conf

And add this line to the end:

no_pam=1

After that, restart Usermin:

/etc/init.d/usermin restart

Once you've done those steps, can you let us know if the problem goes away? Thanks!

jmazaredo's picture
Submitted by jmazaredo on Tue, 04/24/2012 - 08:54

Will let you know if problem still exist after a day of test. Thanks for the help!

jmazaredo's picture
Submitted by jmazaredo on Fri, 04/27/2012 - 09:39

I tested again seems problem is resolved.

We're digging into the source of this problem, and we had a few quick questions for you --

  • Which Usermin version do you have? You can see that with this command: rpm -qa usermin

  • What is the output of this command: find /usr/ -name PAM.pm

  • And lastly, what is the output of this command: rpm -qa | grep Authen-PAM

Thanks!

ronald's picture
Submitted by ronald on Sat, 04/28/2012 - 03:47 Pro Licensee

as I had the same issue, here is my output

[root@sv01 ~]# rpm -qa usermin
usermin-1.505-1
[root@sv01 ~]# find /usr/ -name PAM.pm
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Authen/PAM.pm
[root@sv01 ~]# rpm -qa | grep Authen-PAM
perl-Authen-PAM-0.16-9vm
jmazaredo's picture
Submitted by jmazaredo on Sat, 05/12/2012 - 07:48

Virtualmin version 3.92.gpl GPL CentOS Linux 5.7

[root@s1 webmin]# rpm -qa usermin usermin-1.505-1 [root@s1 webmin]# find /usr/ -name PAM.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Authen/PAM.pm [root@s1 webmin]# rpm -qa | grep Authen-PAM perl-Authen-PAM-0.16-9vm [root@s1 webmin]#

There seems also problem on webmin interface upon logging in, I added also the no_pam=1 on miniserv.conf

Problem seems to go away after.

The underlying source of this has been found, and will be fixed in the next Usermin release. Till then the fix is to disable PAM authentication with the no_pam=1 line.