Installing aegir on dreamhost PS...

Events happening in the community are now at Drupal community events on www.drupal.org.
qbnflaco's picture

I've started testing out trying to install aegir on dreamhost and I've gotten a bit stuck.. After running the drush hosting setup script in the commandline.. I get this as the output on the task list...

everything seems to be going fine till..

Generating apache host configuration file aegir.nautilusstudios.com.server.
Web server could not be restarted. Changes might not be available until this has been done.
An error occurred at function : drush_provision_apache_provision_verify

I also had issues trying to find where they have the httpd.conf or apache2.conf file to add the include line to it.

Comments

some lines before I just

qbnflaco's picture

some lines before I just noticed that were undefined...

Undefined index: base_url
Initializing drush commandfile: provision_drupal
Initializing drush commandfile: provision_mysql
Undefined index: db_url
Undefined index: user
Undefined index: pass
Undefined index: host
Undefined index: host
Undefined index: scheme
Undefined index: scheme

It's looks like drushrc.php

wik's picture

It's looks like drushrc.php has not been created...

I had similar situation when provision tasks has not been accessible during installation, make sure it's in the ~/.drush folder exactly, i.e. home dir of your aegir user.

Concern apache, I suppose you running VPS, right? :)
Then let us know what is your OS?

p.s.
you could try to look in:
/etc/apache2
/etc/httpd

Did you edit the entry in

mig5's picture

Did you edit the entry in /etc/sudoers to give your aegir user the right to restart apache without requiring a password?

Providing the full task output rather than snippets will give you more chance of us helping.

ahh.. I found the right

qbnflaco's picture

ahh.. I found the right command for it on dreamhost ps...

sudo /etc/init.d/httpd2 restart apache2-(PsServerName)

also found out the right location of the conf file...

/usr/local/dh/(psServerName)/etc/httpd.conf

Found these on the wiki page. Hope this helps anyone else out trying to set up aegir on dreamhost.

http://wiki.dreamhost.com/DreamHost_PS

Everything else should be the same as the manual instructions.

Giving up...

qbnflaco's picture

I have given up fighting with dreamhost ps. the apache script gets rewritten automatically whenever you update a domain to point to your server, removing the include for aegir's vhost files. I started up an instance on slicehost and seems to be much better. I'm also going to be migrating off dreamhost for my domain names as they don't allow the name server to be changes for their hosted domains. Dreamhost was good to start off, but I think I'm enjoying being off the training wheels. :-)

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: