Re: [users@httpd] Aliased interface -- bind failed, address in use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kevin DeGraaf wrote:
I have a Linux 2.4.27 machine with the following interface configuration:

eth0   [xx.xx.xx.162] UP BROADCAST RUNNING etc.
eth0:1 [xx.xx.xx.165] UP BROADCAST RUNNING etc.

I can ping the machine on both interfaces.

I have OpenVPN running on tcp/xx.xx.xx.165:443 and nothing running on tcp/xx.xx.xx.162:443, as demonstrated:

# netstat -pan -Ainet | grep 443
tcp 0 0 xx.xx.xx.165:443 yy.yy.yy.yy:57928 ESTABLISHED 6517/openvpn

My Apache 1.3.33 configuration contains "Listen xx.xx.xx.162:443". All "BindAddress" and "Port" statements are commented out.

Upon attempted startup, I receive the following log message:

[crit] (98)Address already in use: make_sock: could not bind to address xx.xx.xx.162 port 443

Ideas?

First make sure you don't have another Listen statement that binds to 443. Check any Include(d) files too.

This could also mean that apache is not shutting down competely before restarting. Try

# service httpd stop
# ps -ef | grep httpd (until no processes are seen)
# service httpd start

--
Stephen Carville <stephen@xxxxxxxxxxxxxx>
Unix and Network Admin
Nationwide Totalflood
6033 W. Century Blvd
Los Angeles, CA 90045
310-342-3602

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux