I have a similar problem to the thread of “Usermin connection error”, in that I can’t log in. (I’m using Virtialmin Pro and it seems to of started after the 3.63 updates. At least that is when it was brought to my attention). I however can get to the login page. What happens after that is that after entering the username and password in, it just reload the login page. But I know that there is nothing wrong with Usermin because if I load the page with localhost:20000 it works. Also if turn off the firewall to test it does the same thing. But what I think is wrong is Usermin isn’t allowing from the outside. I’ve checked the settings and have no restrictions set. When doing:
lsof -i :20000
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
miniserv. 914 root 5u IPv4 137633133 TCP *:dnp (LISTEN)
lsof -i :10000
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
perl 26110 root 5u IPv4 127819402 TCP *:ndmp (LISTEN)
perl 26110 root 6u IPv4 127819403 UDP *:ndmp
So I think the diffence between first and second settings is the problem, but I don’t know how to fix it.
It’s a public IP. The logs don’t show anything. When I restart usermin, after the initial startup in the error log nothing is logged. When I said it worked only when using localhost:20000, I also meant that www.domain.com:20000 and 123.456.789.123:20000 doesn’t work also. Because of that, I don’t think it has anything with anything outside of the server. That’s why I was thinking it had something to do with the following line not being there when I did “lsof -i :20000”:
perl 26110 root 6u IPv4 127819403 UDP *:ndmp
It shows up when I do:
"lsof -i :10000"
The only thing else that I can thing that is different is that I use the Webmail Redirect (webmail.domain.com) to point to squirrelmail instead of to Usermin. But that I don’t think is it because I get to the login page.
This all that shows in miniserv.error:
[03/Feb/2009:19:48:21 -0800] miniserv.pl started
[03/Feb/2009:19:48:21 -0800] PAM authentication enabled
[03/Feb/2009:19:48:21 -0800] UTMP logging enabled
So, if you log into Virtualmin, and click Webmin -> Webmin -> Usermin Configuration -> Ports and Addresses, what do you see in "Listen on IPs and ports"?
Mine is setup with "Any Address" in the dropdown, along with 20000 as the port.
If yours isn’t set to Any Address, you may want to try that there.
-Eric