View Single Post
  #1  
Old 31st December 2008, 03:12
giganet giganet is offline
Senior Member
 
Join Date: Aug 2007
Location: California
Posts: 243
Thanks: 116
Thanked 1 Time in 1 Post
Send a message via AIM to giganet
Post Apache2 Errors Web-Sites Won't Load

Hello group

I have been following the Tutorial: The Perfect Server - Ubuntu Gutsy Gibbon (Ubuntu 7.10) http://www.howtoforge.com/perfect_server_ubuntu7.10

ISPConfig was already installed prior to picking up at the part of the Tutorial to impliment TLS capability for the Email on this server..


Right now the server will not display any hosted web-sites as it previously did VIA browser.
However I am able to successfully ping any of the hosted domains from out in the world which are hosted on this server??

ISPConfig is accessible!

I have tried restarting 'bind9' and 'ispconfig_server' which doesn't correct the problem.
In searching the HTF I did locate the post http://www.howtoforge.com/forums/showthread.php?t=7719


Here is what I have so far:

I have created a backup of 'Vhosts_ispconfig.conf' and then
ran 'httpd -t'.

The output of httpd -t
Code:
[Tue Dec 30 16:30:27 2008] [warn] VirtualHost 65.197.209.3:443 overlaps with VirtualHost 65.197.209.3:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Dec 30 16:30:27 2008] [warn] VirtualHost 65.197.209.3:443 overlaps with VirtualHost 65.197.209.3:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.17:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.17:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.16:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.16:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.19:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.19:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.18:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.18:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.4:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.4:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.7:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.7:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.6:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.6:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.3:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.3:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.13:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.13:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.12:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.12:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.15:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.15:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.14:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.14:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.9:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.9:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.8:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.8:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.11:80 has no VirtualHosts
[Tue Dec 30 16:30:27 2008] [warn] NameVirtualHost 65.197.209.11:80 has no VirtualHosts
Syntax OK

Apache2 Restart Error Output
Code:
 * Restarting web server apache2                                                                                                                             [Tue Dec 30 17:30:53 2008] [warn] VirtualHost 65.197.209.3:443 overlaps with VirtualHost 65.197.209.3:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Dec 30 17:30:53 2008] [warn] VirtualHost 65.197.209.3:443 overlaps with VirtualHost 65.197.209.3:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.17:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.17:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.16:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.16:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.19:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.19:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.18:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.18:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.4:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.4:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.7:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.7:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.6:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.6:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.3:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.3:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.13:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.13:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.12:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.12:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.15:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.15:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.14:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.14:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.9:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.9:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.8:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.8:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.11:80 has no VirtualHosts
[Tue Dec 30 17:30:53 2008] [warn] NameVirtualHost 65.197.209.11:80 has no VirtualHosts
httpd (no pid file) not running
[Tue Dec 30 17:31:03 2008] [warn] VirtualHost 65.197.209.3:443 overlaps with VirtualHost 65.197.209.3:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Dec 30 17:31:03 2008] [warn] VirtualHost 65.197.209.3:443 overlaps with VirtualHost 65.197.209.3:443, the first has precedence, perhaps you need a NameVirtualHost directive
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.17:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.17:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.16:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.16:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.19:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.19:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.18:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.18:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.4:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.4:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.7:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.7:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.6:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.6:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.3:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.3:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.13:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.13:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.12:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.12:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.15:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.15:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.14:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.14:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.9:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.9:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.8:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.8:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.11:80 has no VirtualHosts
[Tue Dec 30 17:31:03 2008] [warn] NameVirtualHost 65.197.209.11:80 has no VirtualHosts
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
                                                                                                                                                      [fail]


The output of 'ls -la /root/ispconfig':
Code:
total 104
drwxr-xr-x 10 root root  4096 2008-12-29 18:27 .
drwxr-xr-x  8 root root  4096 2008-12-30 18:01 ..
-rwxr-xr-x  1 root root 34599 2008-12-23 13:25 cronolog
-rwxr-xr-x  1 root root  9673 2008-12-23 13:25 cronosplit
drwxr-xr-x 12 root root  4096 2008-12-23 13:19 httpd
drwxr-xr-x 16 root root  4096 2008-12-23 13:25 isp
drwxr-xr-x  7 root root  4096 2008-12-23 13:19 libmcrypt
-rw-r--r--  1 root root     8 2008-12-29 18:27 .old_path_httpd_root
drwxr-xr-x  6 root root  4096 2008-12-23 13:18 openssl
drwxr-xr-x  6 root root  4096 2008-12-23 13:23 php
drwxr-xr-x  4 root root  4096 2008-12-23 13:25 scripts
drwxr-xr-x  4 root root  4096 2008-12-23 13:25 standard_cgis
drwxr-xr-x  2 root root  4096 2008-12-23 13:25 sv
-rwx------  1 root root  9389 2008-12-23 13:25 uninstall

On this particular server I have a single Ethernet Interface with multiple numbers available for hosted sites.
'/etc/networking/interfaces' is looks like:
Code:
# The loopback network interface
auto lo
iface lo inet loopback
 
# Primary network interface (GIGANETWIRELESS.NET)
auto eth0
iface eth0 inet static
        address 65.197.209.3
        netmask 255.255.255.0
        network 65.197.209.0
        broadcast 65.197.209.255
        gateway 65.197.209.1
# Primary network interface (Hosting IP)
auto eth0:0
iface eth0:0 inet static
        address 65.197.209.4
        netmask 255.255.255.0
        network 65.197.209.0
        broadcast 65.197.209.255
This is just the first couple lines I wanted to be sure I am using the proper format when setting up the interface basically..

But when I run '/etc/init.d/networking restart'
I receive:
Code:
 SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFBRDADDR: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
SIOCSIFFLAGS: Cannot assign requested address
Failed to bring up eth0:14.

The output of '/home/admispconfig/ispconfig/ispconfig.log'
Code:
29.12.2008 - 23:59:07 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 107: cat /dev/null > /var/log/xferlog.www.highcountryhomesofanza.com
29.12.2008 - 23:59:07 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 132: rm -f /var/log/xferlog.www.highcountryhomesofanza.com
29.12.2008 - 23:59:07 => INFO - /root/ispconfig/scripts/shell/ftp_logs.php, Line 135: rm -f /var/log/xferlog.29-12-08_23-59-01
30.12.2008 - 14:49:54 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/bastille-firewall restart &> /dev/null
30.12.2008 - 14:50:04 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: WARNING: could not /etc/init.d/apache2 restart &> /dev/null
30.12.2008 - 14:50:04 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/postfix stop &> /dev/null
30.12.2008 - 14:50:04 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/postfix start &> /dev/null
30.12.2008 - 14:50:07 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/bind9 restart &> /dev/null
30.12.2008 - 14:50:15 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/proftpd restart &> /dev/null
30.12.2008 - 16:14:40 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/bastille-firewall restart &> /dev/null
30.12.2008 - 16:14:50 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: WARNING: could not /etc/init.d/apache2 restart &> /dev/null
30.12.2008 - 16:14:50 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/postfix stop &> /dev/null
30.12.2008 - 16:14:50 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/postfix start &> /dev/null
30.12.2008 - 16:14:52 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/bind9 restart &> /dev/null
30.12.2008 - 16:15:00 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/proftpd restart &> /dev/null
30.12.2008 - 16:50:42 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: /etc/init.d/bastille-firewall restart &> /dev/null
30.12.2008 - 16:50:52 => WARN - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 728: WARNING: could not /etc/init.d/apache2 restart &> /dev/null

I am unsure what caused this event to happen, I would appreciate your help very much with this though..

Thanking you in advance for your help

Regards

Last edited by giganet; 31st December 2008 at 04:08. Reason: Apache2 Restart Error Output
Reply With Quote
Sponsored Links