Posted by elsom25 on June 9, 2010 at 7:55pm
I am setting up Aegis on a virtual machine running Ubuntu 10.04.
I have had complete success up until I get to the step (in install.php) labelled: Initialize the Hosting System.
When I run the commands in this step, more specifically, when I run:
php /var/aegir/drush/drush.php --uri=http://localhost hosting-setup
It completes successfully, however, as soon as I refresh my browser, or attempt to continue through the install in my browser, the url invalidates, and returns a message that 'install.php' cannot be found.
I'm not really sure what's going on / ruining everything.. help would be greatly appreciated (:
Comments
exact thing happened to me
exact thing happened to me
You're hitting the default
You're hitting the default vhost in apache probably. likely because your URL is http://localhost, so it's not hitting the aegir vhost.
looking at your apache logs will probably tell you more. run sudo apache2ctl -S and see what virtualhost overlap you might have.
My errors after doing that
My errors after doing that are:
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName.
[Thu Jun 10 23:07:47 2010] [error] VirtualHost :80 -- mixing * ports and non- ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Thu Jun 10 23:07:47 2010] [error] VirtualHost :80 -- mixing * ports and non- ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Thu Jun 10 23:07:47 2010] [warn] NameVirtualHost :80 has no VirtualHosts
VirtualHost configuration:
wildcard NameVirtualHosts and default servers:
*: is a NameVirtualHost
default server default (/etc/apache2/conf.d/aegir.conf:4)
port 80 namevhost default (/etc/apache2/conf.d/aegir.conf:4)
port 80 namevhost hostedopenatrium.com (/var/aegir/config/vhost.d/hostedopenatrium.com_80:20)
port * namevhost 127.0.1.1 (/etc/apache2/sites-enabled/000-default:2)
Also i think the exact same error happened when i restarted apache after installed the install.sh.txt script (but the site worked after it). Im on virtualbox in turnkeycore(based on ubuntu).I changed /etc/hosts on the virtualbox of domain hostedopenatrium.com to localhost and on my windows machine i changed the virtualbox ip with hostedatrium.com so that i could just type hostedatrium.com in the browser and it would work.
So I did as you suggested,
So I did as you suggested, and indeed the error appears to be this.
Before running
php /var/aegir/drush/drush.php --uri=http://localhost hosting-setup
The command
sudo apache2ctl -S
output:After:
So pretty much identical to what ddorian above had.
So to make it work, you made up a domain, and told hosts to point that domain to localhost, rather then telling aegir to go to localhost directly?
Sorry if it's painfully obvious, but im not particularly versed with *nix /:
Alright, so changing it to
Alright, so changing it to use a different url than localhost did indeed fix it!
Sweet!
Thanks for the help to everyone (: