Webmin start and automatically closes itself


I installed Webmin with no issues many times simply with the install script but this time I’m having problems.

I was using Webmin when suddently the admin interface on :10000 stopped working (Connection refused). I checked the /var/webmin/miniserv.error and nothing seem wrong… I restarted webmin with /etc/init.d/webmin restart and got able to re-login.

I was able to use it for like 5 minutes until I clicked on a link and again, connection refused. (It’s not the same link that " make it crash ", it seems totally random).

When I get " Connection refused ", Webmin is not running anymore.
The process is closed ( ps auxw | grep miniserv | grep webmin = no result )
Nothing listen on port 10000 ( netstat -tulpn | less )
But port 20000 is still listening.

Now when I start Webmin, I can see that it listens for 5 sec on port 10000 with netstat -tulpn | less but it automatically shutdown.

When I reboot the server, I’m able to connect ONE TIME.
One thing I noticed: when I reboot, my VPS hostname change to the old hostname. I don’t know why. The problem may come from here.

Any help would be appreciated.

(sorry for my english!)


What kind of VPS are you using? Are you by chance using OpenVZ? If so, can you paste in the contents of /proc/user_beancounters?

Also, what does “free -m” show?