httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <Dirk.vanGu...@jrc.it>
Subject Re: apache 1.2 refusing to bind on digital unix 3.2 (fwd)
Date Thu, 10 Apr 1997 16:58:29 GMT
On Thu, 10 Apr 1997, Rob Hartill wrote:

> 
> one for the vhost gurus..
> 
Well, I am not one of the gurus, but I jutst tried
this on our OSF box, and it does work for me. I
just tried telnetting to the IPs to avoid being
cauht out by netscapes Host headers.

DW.
> ---------- Forwarded
message ----------
g> Date: Thu, 10 Apr 1997 07:08:46 +0800
> From: chas <sweeting@neuronet.com.my>
> To: apache-bugs@apache.org
> Subject: apache 1.2 refusing to bind on digital unix 3.2 
> 
> In short
> 
> --------
> 
> Apache refuses to bind to any IPs including  a newly 
> 
> created virtual IP even though no webservers were ever 
> 
> configured for that IP and all webservers are killed 
> 
> (and removed from startup scripts) and the Alpha restarted.
> 
> Full details are below... I have checked everything i think.
> 
> 
> 
> 
> Full details : 
> 
> ------------
> 
> I am working on an Alpha 200 with OSF/1 3.2
> 
> 
> === Background : =====
> 
> 48 hours ago I had one domain (202.184.153.4) running 
> 
> Netscape webserver 1.1
> 
> 
> 
> === The goal : ====
> 
> To add several domains and run Apache virtual hosts.
> 
> (since somebody has hidden our Netscape distribution CDROM) :
> 
> 
> 
> === Step 1 : add IPs ===
> 
> I added a virtual domain (202.184.153.27) with the following in rc.config 
> 
> :
> 
> 
> HOSTNAME="www1.mdc.com.my"
> 
> NUM_NETCONFIG="2"
> 
> MAX_NETDEVS="24"
> 
> NETDEV_0="tu0"
> 
> NETDEV_1="tu0"
> 
> IFCONFIG_0="202.184.153.4 netmask 255.255.255.0"
> 
> IFCONFIG_1="202.184.153.27 netmask 255.255.255.0 alias"
> 
> 
> This works fine. I can ping 202.184.153.27
> 
> 
> 
> === Step 2 : run Apache ===
> 
> I downloaded the most recent version of Apache (1.2b7) and
> 
> compiled it with cc : it automatically detected system 
> 
> variables and created the httpd executable.
> 
> 
> I configured the httpd.conf, srm.conf and access.conf files
> 
> (something I have done many times before on AIX/FreeBSD) but kept
> 
> getting the "cannot bind to requested port (202.184.153.27)".
> 
> NOTE - it cannot bind to the ifconfig aliased IP....
> 
> which was not previously being used by anything !
> 
> 
> Yes, I killed the previous Netscape servers, removed the 
> 
> startup scripts for the Netscape servers from rc3.d,
> 
> rebooted the machine, made sure that no webservers were
> 
> answering to either the real or virtual IP.
> 
> 
> And yet Apache  still refuses to bind to these addresses.
> 
> 
> I was running Apache under 
> 
> user httpd
> 
> group httpd
> 
> (and checked /logs/error_log to make sure that this was not the 
> problem)
> 
> 
> I even tried running Apache under 
> 
> user root
> 
> group 1
> 
> 
> I also had the /usr/local/etc/apache directory owned by httpd or
> 
> root respectively.
> 
> 
> Still no joy :(
> 
> 
> 
> For completion, snippets from  httpd.conf for Apache :
> 
> 
> 
> Listen 202.184.153.4:80
> 
> Listen 202.184.153.27:80
> 
> 
> <color><param>0000,0000,8080</param><<VirtualHost 202.184.153.4>
> 
> </color>ErrorLog logs/mdc.error_log
> 
> TransferLog logs/mdc.access_log
> 
> ServerAdmin webmaster@neuronet.com.my
> 
> DocumentRoot /www/mdc/public
> 
> ServerName mdc.com.my
> 
> <color><param>0000,0000,8080</param><</VirtualHost>
> 
> <<VirtualHost 202.184.153.27>
> 
> </color>ErrorLog logs/cyclops.error_log
> 
> TransferLog logs/cyclops.access_log
> 
> ServerAdmin webmaster@neuronet.com.my
> 
> DocumentRoot /www/cyclops/public
> 
> ServerName cyclops.com.my
> 
> ScriptAlias /cgi-bin/ /www/cyclops/cgi-bin
> 
> <color><param>0000,0000,8080</param><</VirtualHost>
> 
> </color>
> 
> but even if I configure this for the real domain and no virtual hosts,
> 
> it cannot bind to the IP of the real domain... and even get 
> 
> a weird "cannot bind to 202" error.... why 202 ???????
> 
> 
> </smaller></fontfamily></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt></excerpt>
> 
> 
XY

http://ewse.ceo.org                         http://enrm.ceo.org
DWvGulik@Dialis.xs4all.nl                  Dirk.vanGulik@jrc.it
+39 332 78 0014                                 +39 332 78 9549
                                            fax +39 332 78 9185

ISEI/ESBA;                     The Center For Earth Observation
Joint Research Centre of the European Communities, Ispra, Italy


Mime
View raw message