homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

debian linux: apache runs but will not bind to

Msg#: 4546236 posted 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



Msg#: 4546236 posted 1:59 pm on Feb 17, 2013 (gmt 0)


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


Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved