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

Visit PubCon.com
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 192.168.1.115
culser




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

hello,

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 192.168.1.115.
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 0.0.0.0:port

ports.conf file:
Listen 80

vhost.conf file:
NameVirtualHost 192.168.1.115:80
<VirtualHost 192.168.1.115:80>
ServerName example.com
ServerAlias www.example.com example.com
DocumentRoot /exroot/example.com
ScriptAlias /cgi-bin /example.com/cgi-bin
</VirtualHost>


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


127.0.0.1localhost.localdomainlocalhostDEB3
ouripexample.comculserDEB3
ouriphost.example.comhostDEB3
ouripmail.example.commailDEB3

# 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

 

culser




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

ok

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

thx

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