![jmazaredo's picture jmazaredo's picture](https://archive.virtualmin.com/system/files/styles/thumbnail/private/pictures/picture-20397-1536651170.jpg?itok=175PLdPU)
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
Submitted by JamieCameron on Mon, 04/23/2012 - 15:57 Comment #1
What is your actual Usermin URL? I'd like to try connecting with a few different tools, to see what is going wrong..
http://triplescamera.com:20000
Submitted by JamieCameron on Mon, 04/23/2012 - 21:15 Comment #3
Shouldn't it be https://triplescamera.com:20000/ ? I can connect to that just fine ..
Or does the problem only happen when you actually login?
This happen upon login
Submitted by andreychek on Tue, 04/24/2012 - 08:12 Comment #5
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!
Will let you know if problem still exist after a day of test. Thanks for the help!
I tested again seems problem is resolved.
Submitted by JamieCameron on Fri, 04/27/2012 - 16:59 Comment #8
Great!
Submitted by andreychek on Fri, 04/27/2012 - 21:09 Comment #9
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!
as I had the same issue, here is my output
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.
Submitted by JamieCameron on Sat, 05/12/2012 - 11:23 Comment #12
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.