Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

debian linux: apache runs but will not bind to



11:54 pm on Feb 16, 2013 (gmt 0)


I hope someone can help.
I have just moved to my new server. Debian 5.0 and new machine. I have pretty much duplicated the same config i had on my previously working machine Debian 4.
Here is the problem.
apache2 runs at boot with no errors and will also restart with no errors ex: apache2 -k restart/start
but will not bind with local ip address
As a result our sites are not reachable. Currently our router is assigning *115 to our new machine so we have matched the *115 setting in the apache2 vhost.conf file.
here is our configuration.

running netstat -lanp | grep apache brings up this.
tcp6    0   0 :::80          :::*          LISTEN   3729/apache2  

the port is good, but the ip is blank.

running netstat for all other services
All other services such as ftp, telnet ssh all show

ports.conf file:
Listen 80

vhost.conf file:
ServerName example.com
ServerAlias www.example.com example.com
DocumentRoot /exroot/example.com
ScriptAlias /cgi-bin /example.com/cgi-bin

host.conf file:
# order hosts,bind
multi on

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

snswitch.conf file:
passwd:  compat
group: compat
shadow: compat
hosts: files dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis

please someone


1:59 pm on Feb 17, 2013 (gmt 0)


it works, it was the ip specification with services ex: ftp, telnet, http


Featured Threads

Hot Threads This Week

Hot Threads This Month