View Single Post
  #25  
Old 2nd January 2009, 21:34
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 2 Times in 2 Posts
Default Issue on fresh install

Ok, I just installed with a mix of The Perfect Server (Ubuntu 8.04) and the directions in the file. Pretty much all I did not install bind and proftpd and everything else. Anyway the issue I am having is after creating my first few VirtualHosts, when I start Apache (on reboot or command line), I get the following:

Code:
* Starting web server apache2                                                                  [Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.32:80 overlaps with VirtualHost 172.21.152.32:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] VirtualHost 172.21.152.31:80 overlaps with VirtualHost 172.21.152.31:80, the first has precedence, perhaps you need a NameVirtualHost directive
[Fri Jan 02 13:28:01 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
httpd (pid 5199) already running
Here is my Netstat output:

Code:
root@server:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State                       PID/Program name
tcp        0      0 localhost.localdo:10024 *:*                     LISTEN                      4313/amavisd (maste
tcp        0      0 localhost.localdo:10025 *:*                     LISTEN                      4952/master
tcp        0      0 *:mysql                 *:*                     LISTEN                      4387/mysqld
tcp        0      0 localhost.localdo:spamd *:*                     LISTEN                      4450/spamd.pid
tcp        0      0 *:webcache              *:*                     LISTEN                      5199/apache2
tcp        0      0 *:www                   *:*                     LISTEN                      5199/apache2
tcp        0      0 *:ftp                   *:*                     LISTEN                      4965/pure-ftpd (SER
tcp        0      0 server.example.com:domain *:*                     LISTEN                      4886/mydns
tcp        0      0 localhost.locald:domain *:*                     LISTEN                      4886/mydns
tcp        0      0 *:smtp                  *:*                     LISTEN                      4952/master
tcp        0      0 *:https                 *:*                     LISTEN                      5199/apache2
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN                      4848/couriertcpd
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN                      4882/couriertcpd
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN                      4862/couriertcpd
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN                      4823/couriertcpd
tcp6       0      0 [::]:ftp                [::]:*                  LISTEN                      4965/pure-ftpd (SER
tcp6       0      0 ip6-localhost:domain    [::]:*                  LISTEN                      4886/mydns
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN                      4278/sshd
tcp6       0      0 [::]:smtp               [::]:*                  LISTEN                      4952/master
tcp6       0      0 server.example.com:ssh    172.21.153.104%81:64578 ESTABLISHED                 5254/0
Any ideas?

Thanks,

Corey