Hi!
I have almost successfully configured Ægir 0.2rc on a Ubuntu 8.04 server. The web GUI says everything is OK until it needs to reboot Apache. This cased one of my installations to become corrupt while migrating.
When I log on as aegir and run "/usr/sbin/apache2ctl restart" I get theis output; and Apache has to be tarted as root:
"
aegir@admin:~$ /usr/sbin/apache2ctl restart
[Wed Jun 03 09:20:32 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed Jun 03 09:20:32 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed Jun 03 09:20:32 2009] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed Jun 03 09:20:32 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
httpd not running, trying to start
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
aegir@admin:~$
"
My "nano /var/aegir/config/vhost.d/myfirstsite.com" lookslike this:
"
NameVirtualHost *:80
Options FollowSymLinks
AllowOverride None
# XXX: see http://drupal.org/node/384972
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
RewriteEngine On
ServerAdmin webmaster@localhost
ServerName admin.myfirstsite.com
DocumentRoot /var/aegir/drupal-5.x
"
The http://drupal.org/node/384972 describes some sort of patch. But I have newer installed a patch to other things then windowz games.
http://wiki.apache.org/httpd/VirtualHostsMixingPorts says:
"
# You have no VirtualHosts that match the NameVirtualHost directive.
# You are mixing the use of *:80 with ones that do not use a port number.
"
Please help!
Comments
Anyone, using Ægir?
Anyone, using Ægir?
bump
bump
I am facing the same problem
I am facing the same problem as you do.
You probably have NameVirtualHost set to * in your Apache config file, which conflict with Aegir's default setting in vhost.d
Try change
NameVirtualHost *toNameVirtualHost *:80in your Apache config fileor
go to your vhost.d directory and change each domain file
from <VirtualHost *:80> to <VirtualHost *>Perhaps take
NameVirtualHost *:80out from your vhost.d/myfirstsite.comI think that is the cause of
[Wed Jun 03 09:20:32 2009] [warn] NameVirtualHost *:80 has no VirtualHostsKelvin.