Installation works fine, but virtual servers will not start. Why?

On starting a virtual server for the first time, users areoccasionally confronted with the following warning:

WARN:Could not run virtual server on [host_ip:port] : Bind failed\\ : Cannot assign requested address

First check that the IP-address is valid for your machine. Type:

/sbin/ifconfig -a

and check [host_ip] shows up as a valid running IP address onyour machine.

Next, ensure you don't already have a web server that is running onport 80, e.g. a copy of Apache that might have been automaticallyinstalled on startup. To check this, type:

netstat -ant | grep LISTEN | egrep ':(80|www)'

If any output is displayed, this shows you already have a web serveron that address. Run a 'ps -aux' to find the process id, andkill off this web server (and also update your startup rc.dscripts to prevent starting this server automatically, check your OSmanual for details).

Content Manager [Administrator] 19 September 2005 Bookmark with del.icio.us Post this article to Digg Post this article to reddit Post this article to Facebook Tweet this article  

Comments are closed for this post.

Recently...

Other Resources