Webmin not appearing

8 posts / 0 new
Last post
#1 Mon, 04/14/2008 - 22:56
nickkuh

Webmin not appearing

I've been using webmin to admin my server for a few years now. However, I haven't had to add any new domains to the server for ages to haven't opened up webmin recently. However, just tried to and the page just hangs and hangs, nothing appears. I'm running on default port 10000 remotely, so usually access it here:

http://my.ip:10000/

There was an attack on my server a while ago as my hosting provider asked me to re config ssh access to ssh 2 only and on a different port to the default. I did this. I wonder if this has something to do with webmin not displaying? Have tried to revert ssh access to the default settings and restart the service and still no webmin.

Have also restarted webmin via commandline.

Still no joy.

Any suggestions gratefully received :-)

Tue, 04/15/2008 - 00:18
Joe
Joe's picture

ssh and Webmin are in no way related.

I'd suggest making sure you have the latest version of Webmin (get it from webmin.com) first--if you haven't used in in "ages", then it's out of date. ;-)

And, make sure there is no firewall between you and the server on port 10000 (possibly the firewall on the server itself).

--

Check out the forum guidelines!

Tue, 04/15/2008 - 00:21
nickkuh

Hi Joe

Thanks for the response. If I get the latest version of webmin will it then lose all my virtualmin domains and webmin preferences?

ie, is there a safe way to upgrade webmin via commandline?

Thanks again

Tue, 04/15/2008 - 00:29 (Reply to #3)
Joe
Joe's picture

Ah, you didn't tell us you had Virtualmin, too. You leave us guessing.

But, yes, there is a safe way to upgrade, though you should make backups of your /etc directory before doing anything else (because I'm guessing from your tone that you don't already have known good backups of your whole system...). So, backup /etc to a tarball somewhere:

tar czvf /root/etc-backup.tar.gz /etc

This will contain a copy of your /etc/webmin/virtual-server directory, which is where the Virtualmin meta-data lives. Please start keeping regular backups (once Webmin is working for you and it becomes easy)!

And then grab the appropriate package for your OS--whatever package type was used to install Webmin to start with (this is important...don't grab the tarball if it was installed via RPM), and install the package. Webmin will keep all of the old configuration files, as long as it knows the prior version exists--this is why it's important to use the same package type, otherwise it doesn't know about the old version.

Anyway, you might check to be sure about the firewall thing...Webmin also provides an upgrade form in Webmin:Webmin Configuration:Upgrade Webmin, which of course will always use the right package type.

--

Check out the forum guidelines!

Tue, 04/15/2008 - 06:56
nickkuh

Hi Joe

Could you tell me how to check if a firewall is the problem?

Tue, 04/15/2008 - 13:34 (Reply to #5)
Joe
Joe's picture

Well, you could stop the firewall (iptables, on Linux systems) on the system itself--that'd be a good start on testing. I don't think you've told us your OS and version, so I can't tell you how to do that with any confidence. On many types of Linux system, something like "/etc/init.d/iptables stop" will do the trick (and "start" will bring it back after testing).

If that doesn't do it, then there's not much else we can tell you--if firewall is the trouble, it'd have to be your client system or local network (which only you can know anything about) or your hosting provider (which only you and your host would know anything about).

--

Check out the forum guidelines!

Tue, 04/15/2008 - 22:37
nickkuh

Hi Joe

I managed to get webmin working in the end by changing the default port and restarting webmin.

So I guess it must have been a firewall on the default port.

thanks for your help/suggestions.

Tue, 04/15/2008 - 22:41 (Reply to #7)
Joe
Joe's picture

Thanks for the update. Great to hear it's working.

--

Check out the forum guidelines!

Topic locked