Welcome, Guest
Please Login or Register.
Lost Password?
Re: virtualmin seems to have forgotten primary ip-adress (1 viewing)
Post Reply

TOPIC: Re: virtualmin seems to have forgotten primary ip-adress

#3163
gerhardstegmann (User)
Posts: 6
graphgraph
virtualmin seems to have forgotten primary ip-adress 2006/11/16 10:22  
hi there,

whenever i create a virtual-host i end up with a config-file like this:

<VirtualHost :80>

apache does not like it. :(

i cannot see the adress of the primary interface anywhere in th virtualmin menus. even "change ip adress" gives

current ip adress: <empty>

what can i do?

gerhard
  The administrator has disabled public write access.
#3165
Joe (Admin)
Posts: 4082
graph
Re: virtualmin seems to have forgotten primary ip-adress 2006/11/16 12:50  
Hey Gerhard,

This indicates that Virtualmin didn't correctly detect your IP address during it's Check Configuration step. I've seen a few users report this, but I've never figured out why it happens. At least some of them were running under some type of virtualized server (vserver, xen, etc.), but some were not, so it can happen even on a dedicated box. But I don't know why.

Try running the "Recheck Config" in the System Settings menu, and see if things begin to operate correctly.

If not, you'll need to manually configure the network settings for Virtualmin. In the "Module Config", look in the "Other server settings" section". The option, in particular, you're looking for is: "Network interface for virtual addresses". Set this to your preferred interface (probably eth0), and save it.

You may also have to fix the Apache NameVirtualHost section, as it probably also got created without an IP. You can either edit httpd.conf directly, or browse to the Apache module's "Networking and Addresses" page--the option there is labeled "Addresses for name virtual servers", and you'd fill in something like 192.168.1.1:80 (where 192.168.1.1 should be replaced with your IP).

You'll need to run the Recheck Config step again after these changes.

I'd be curious to see what your network looks like, too. As I mentioned, I've seen about half a dozen users with this problem, but I've never seen it happen on my own test boxes. So I've never been able to figure out how to fix it!
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.