I am currently running a Virtualmin system on an old pentium based system with only 256MB of RAM. Started with Ubuntu 8.04LTS, and have upgraded successfully to 12.04LTS without any problems.
Now I have new hardware, and want to migrate my servers.
I have installed Ubuntu 12.04.2, base system, without any additional packages. I have set a FQDN, and my networking works fine. I download install.sh and run using 'sudo sh ./install.sh' and it appears to go off without a hitch.
Once installation is complete, I can access http://ip without problems. I can ftp and SSH to the server without any problems. But when I attempt to access https://ip:10000, Firefox (after allowing exception for the basic ssl certificate installed by Virtualmin) just spins without loading; and chrome reports that the site cannot be accessed.
If I issue the command /ect/init.d/webmin restart I never get an [ok] like i get with other services. If I issue separate stop and start commands, I just get my command prompt back, without any status/error messages.
Any suggestions?
Thanks.
Howdy,
It sounds like you're having problems accessing Webmin/Virtualmin on port 10000 -- are you also having problems accessing Usermin on port 20000?
What output does this command show:
netstat -an | grep :10000
Also, are you running a firewall? You can determine that with this command:
iptables -L -n
Lastly -- do any errors show up in the Webmin log, /var/webmin/miniserv.error?
-Eric
Correct. Cannot access webmin on port 10000. With regards to those other things, I will check them when I get home from work this evening. Unless virtualmin install script installs a firewall, there shouldn't be one running.
Thanks.
Howdy,
Nope, Virtualmin doesn't install a firewall.
It does open a few ports, just to make sure Webmin and such will work properly if a firewall is already installed -- but it doesn't actually enable a firewall if one isn't currently running.
Yeah, let us know what you see once you get home, and we can figure out what's going on there.
-Eric
Here's the results of 'netstat -an | grep :10000'
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:*
And the results of ' sudo iptables -L -n' is:
(running without sudo gives an error)
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Cannot access Usermin using https on port 20000.
Contents of /var/webmin/miniserv.error:
[19/Aug/2013:20:41:36 -0700] miniserv.pl started
[19/Aug/2013:20:41:36 -0700] Using MD5 module Digest::MD5
[19/Aug/2013:20:41:36 -0700] PAM authentication enabled
[19/Aug/2013:20:43:17 -0700] Reloading configuration
[19/Aug/2013:20:43:19 -0700] Reloading configuration
[19/Aug/2013:20:43:20 -0700] Reloading configuration
[19/Aug/2013:20:43:21 -0700] Reloading configuration
[19/Aug/2013:20:43:24 -0700] Reloading configuration
restarting miniserv
[19/Aug/2013:20:43:26 -0700] Restarting
[19/Aug/2013:20:43:29 -0700] miniserv.pl started
[19/Aug/2013:20:43:29 -0700] Using MD5 module Digest::MD5
[19/Aug/2013:20:43:29 -0700] PAM authentication enabled
Failed to initialize SSL connection
Failed to initialize SSL connection
[19/Aug/2013:20:45:19 -0700] Reloading configuration
[19/Aug/2013:20:47:14 -0700] miniserv.pl started
[19/Aug/2013:20:47:14 -0700] Using MD5 module Digest::MD5
[19/Aug/2013:20:47:14 -0700] PAM authentication enabled
Howdy,
Well, the amount of RAM in your server there is a bit on the small side... it's tough to rule that out as a factor.
However, it does appear that Webmin is running, and that there's no firewall setup.
So in theory, at that point, it should work :-)
Is there any chance you could share your IP address? You can always edit your post and remove it once we get this sorted out.
But I'd like to try some tests to see how Webmin and Usermin are responding.
-Eric
The machine I'm installing to has 2GB of RAM, 120GB hard drive, and the processor is an old Centrino core duo (It's an old laptop I'm not using anymore). I have Ubuntu/Virtualmin up and running on a much older machine and I'm trying to get it running on newer hardware so I can migrate.
Sorry, right now the machine is only running on a private network, with no access to it from outside.
Right now I'm thinking that I'm going to try a re-install of Ubuntu, installing the LAMP stack, and then installing webmin manually and see if that will work.
I gave up trying to get this to work on this hardware. Installed without a hitch on an old P4 tower system I still had sitting around. Thanks for your help.