Can't verify hostmaster platform on aegir 0.4 alpha 5

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

For some reason when aegir tries to verify the hostmaster platform on the frontend I get ....

Could not connect to the master database server (Lost connection to MySQL server at 'reading initial communication packet', system error: 111).

however if I do the same on the backend (/var/aegir/drush/drush.php --root='/var/aegir/hostmaster-0.4-alpha5' provision-verify --debug)

it seems to run fine. Is the front end not using the drush.rc file that the backend seems to be using?

I have alpha 3 running on the same server and using a new table and the same mysql admin user. Could this be causing the issue?

Comments

PS. Creating a brand new

qbnflaco's picture

PS. Creating a brand new platform gives me the same issue as well.

Sounds like my problem

bwood's picture

See: http://drupal.org/node/712016#comment-2622678

Using a remote dbserver--no fix yet: http://drupal.org/node/722286

I have alpha 3 running on the same server and using a new table and the same mysql admin user. Could this be causing the issue?

Keep it simple i.e. don't do it.

But if you have to...I was just thinking about the best way to segregate multiple installations on the same server(s). Here's what I've got:

  • create separate aegir user for each install: aegirhead, aegir04, aegir03.
    **This will separate the crontabs.
    **Will allow you to install different versions of provision and drush on your version-specific platforms.
  • separate databases for hostmaster for sure. I use the same names as above.
  • ideally keep the
  • there might be apache config issues with the most recent code.... Need separate webservers?

Lost connection to MySQL

mig5's picture

Lost connection to MySQL server at 'reading initial communication packet', system error: 111

Common cause of this is a MySQL server that is configured to only listen on localhost (bind_address in my.cnf). You've checked that right?

Edit: oh this is on a local mysql server, as in local to the Aegir frontend? i.e not a remote db. Perhaps this is a regression we've introduced while trying to sort out multiserver db. I can't reproduce though.

Yup it's local. I was trying

qbnflaco's picture

Yup it's local. I was trying to update hostmaster buy the migrate script failed for me. So instead I tried creating a new hostmaster site using the same aegir and aegir db admin user.

I was able to bring it back

qbnflaco's picture

I was able to bring it back to alpha3. Maybe if I feel brave I'll try alpha6. :P

Aegir hosting system

Group organizers

Group categories

Group notifications

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