Ubuntu problems

Associate
Joined
29 May 2012
Posts
862
Location
UK
Hello all,
I have a Ubuntu Linux 12.04 based on VMware, I have install webmin on the servers. Works on my main computer that i have VMware installed on but when i try and get onto it on my laptop or another computer. its saying " this webpage is not available" I enable the Allow From All Addresses and the Linux firewall

Any ideas how to get this to work?

Thanks
Aston998 :)
 
Dumb question: Does it have an IP? Your VMware virtual network/NAT might not be set-up correctly on your laptop.
 
The "webmin" service started? Also apache started? Make sure you firewall is definitely stopped also incase you didnt turn it off at boot.
 
When i try and restart the service its saying Failden to bind to port 1000 address already in use. could not listen on any port. Apache is started, Firelwall is stopped.
 
Sounds like something weird going on with webmin then. Im not familiar with Ubuntu, can you do a "fullstop" on the service? Or run "ps -ef | grep webmin" and then "kill -9 X" where X is the process number, and start again.
 
Webmin by default is on SSL. https://[ipaddress]

You could change the port by editing the following file and restarting

# /etc/webmin/miniserv.conf
# /etc/init.d/webmin restart

You should still see something in the browser though, such as:

Code:
Error - Bad Request

This web server is running in SSL mode. Try the URL https://192.168.0.1:10000/ instead.
 
Same - its fairly simple. Judging by the failure to restart server, i suspect an issue with Apache/Webmin services causing the issue. I'd check logs, hard stop the processes and try and start.

And also, ensure the system has enough resources. If its too slow (lack of RAM/CPU) services sometimes fail. Ive seen this a few times on QEMU based VM's that were underspecced.
 
I'm going to setup a new virtual machine with ubuntu 13.04 out of the box lamp server then webmin to test.

EDIT: Using VMware Fusion I get a DHCP address from NAT, which shares the IP address of the host. I changed the network adaptor to 'Bridged Networking', which gets a private IP address from the router instead of the host. This enabled me to view the default web pages from other devices on the network.

I haven't changed anything apart from that to get it to work.
 
Last edited:
UPDATE:

It will not only work if i try it on another computer outside my LAN.

Not or now? If it only works from a different computer and not the computer your running it on, its a problem with the VMware network settings.
 
sorry!

It will only work on my computer. if i try it on another computer outside my lan it will not work. Sorry for the bad grammar! was writing it on my phone! :(
 
Ah right. Are you access it on a standard IP, or on a VMware LAN IP?

What i mean by that is, if your LAN Subnet is 192.168.0.0/24 for example, and VMWare is something obscure like "172.14.23.0/26" - then if you access it on the 172, then it makes sense.

Your computer and the VM are on a VMnet - you need to bridge it to your external LAN then give it an IP on that range to make it globally accessible.
 
Something on VMware; in VMware player that i have, i right click on the VM and click "Virtual Machine Settings..", then i go to Network, and click under "Network Connections" on "Bridged", then "configure adapters" and choose my LAN/Wifi (if you so choose).

What happens then, is your VM connects to the network via the network interface you specified above and gets an IP via DHCP, just like your laptop/computer would. Then just use that IP to connect to.
 
I have give that a go, Still cant get it to work outside my lan after changing that setting. Do i need to set the IP in VMware or will it do it for me?

So to get the ip in my ubuntu server i put ifconfig and use the Etho Inet addr 192....?

Thanks

Edit
Then put that into my google chrome on my laptop. its saying OOps google could not connect to 192....
 
Last edited:
Back
Top Bottom