Virtualmin/Webmin just timeout

4 posts / 0 new
Last post
#1 Thu, 03/14/2013 - 15:34
roflman79

Virtualmin/Webmin just timeout

I have been using Virtualmin happily for several months on a linode server but today i was having some issues with it so i restarted the box. All the websites work fine but i cannot get into Virtualmin at all on the same :10000 login screen.

I don't understand what is wrong as there are no errors in /var/webmin/miniserv.error and i have tried restarting the miniserv process to no avail.

Ports look fine

tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN
udp 0 0 0.0.0.0:10000 0.0.0.0:*

Any ideas on how to fix would be greatly appreciated.

Thu, 03/14/2013 - 16:31
andreychek

Howdy,

Hmm, is it possible that there's a firewall setup on the system now?

What does this output:

iptables -L -n

Fri, 03/15/2013 - 06:30
roflman79

Got a real problem with high CPU usage too

Chain INPUT (policy ACCEPT)
target     prot opt source               destination        
fail2ban-ssh  tcp  --  0.0.0.0/0            0.0.0.0/0           multiport dports 22
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0          
REJECT     all  --  0.0.0.0/0            127.0.0.0/8         reject-with icmp-port-unreachable
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:80
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:443
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0          
LOG        all  --  0.0.0.0/0            0.0.0.0/0           limit: avg 5/min burst 5 LOG flags 0 level 7 prefix `iptables denied: '
DROP       all  --  0.0.0.0/0            0.0.0.0/0          
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:10000

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination        
DROP       all  --  0.0.0.0/0            0.0.0.0/0          

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination        
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0          

Chain fail2ban-ssh (1 references)
target     prot opt source               destination        
RETURN     all  --  0.0.0.0/0            0.0.0.0/0 
Fri, 03/15/2013 - 09:30
andreychek

Howdy,

In your firewall's INPUT chain, it looks like there's a "DROP ALL" rule before the "ACCEPT" rule for port 10000.

So, traffic destined for Webmin/Virtualmin will be dropped by the firewall, the way things are currently setup.

You could either disable your firewall, or re-arrange the rules to resolve that.

Regarding the CPU issue, we'd be happy to help, but open up a new thread for that :-)

-Eric

Topic locked