So I follow this guide http://community.aegirproject.org/installing/manual, to install aegir on Ubuntu 15.4

I can ping kenpeter and it resolved to 127.0.1.1, but cannot access via http://kenepter yet

When I run this drush hostmaster-install as "aegir"

The log message says "Created kenpeter database", I have log in to mysql in command line. There is no such database all all, so all the database operations fail.

I am using drush 6.6.0 + provision 6.x-2.4+1-dev. I have tried drush 6.2.0 + provision 6.x-2.0, same error.

The following is the full log:

aegir@kenpeter:~$ drush hostmaster-install
Aegir 6.x-2.4+1-dev automated install script
==============================================================================
Some settings have not been provided and will now be prompted.
Don't worry: you will get to review those settings after the final install
Aegir frontend URL [kenpeter]: kenpeter
MySQL privileged user ("root") password:
Admin user e-mail [webmaster@kenpeter]: test@test.com

This script will operate the following changes in your system:

1. Create server-level configuration directories
2. Create the Hostmaster frontend platform
3. Install the frontend site
4. Setup the dispatcher (a user cron job)

We are making the following assumptions:
* you have read and are following the install instructions at:
http://community.aegirproject.org/installing
* the FQDN of this machine is valid and resolves
* you are executing this script as your "aegir" user

The following settings will be used:
Aegir frontend URL: kenpeter
Master server FQDN: kenpeter
Aegir root: /var/aegir
Aegir user: aegir
Web group: www-data
Web server: apache
Web server port: 80
Aegir DB host: localhost
Aegir DB user: root
Aegir DB password:
Aegir DB port: 3306
Aegir version: 6.x-2.4+1-dev
Aegir platform path: /var/aegir/hostmaster-6.x-2.4+1-dev
Admin email: test@test.com

Do you really want to proceed with the install (y/n): y
Changed permissions of /var/aegir/.drush/server_localhost.alias.drushrc.php to 640 [success]
Generated config A Drush configuration file [success]
Changed permissions of /var/aegir/.drush/server_localhost.alias.drushrc.php to 440 [success]
Provision configuration root path /var/aegir/config exists. [success]
Provision configuration root ownership of /var/aegir/config has been changed to aegir. [success]
Provision configuration root permissions of /var/aegir/config have been changed to 711. [success]
Provision configuration root path /var/aegir/config is writable. [success]
Provision configuration path /var/aegir/config/server_localhost exists. [success]
Provision configuration ownership of /var/aegir/config/server_localhost has been changed to aegir. [success]
Provision configuration permissions of /var/aegir/config/server_localhost have been changed to 711. [success]
Provision configuration path /var/aegir/config/server_localhost is writable. [success]
Provision client home path /var/aegir/clients exists. [success]
Provision client home ownership of /var/aegir/clients has been changed to aegir. [success]
Provision client home permissions of /var/aegir/clients have been changed to 711. [success]
Provision client home path /var/aegir/clients is writable. [success]
Provision can create new databases. [success]
Provision can grant privileges on database users. [success]
Changed permissions of /var/aegir/.drush/server_master.alias.drushrc.php to 640 [success]
Generated config A Drush configuration file [success]
Changed permissions of /var/aegir/.drush/server_master.alias.drushrc.php to 440 [success]
Provision configuration root path /var/aegir/config exists. [success]
Provision configuration root ownership of /var/aegir/config has been changed to aegir. [success]
Provision configuration root permissions of /var/aegir/config have been changed to 711. [success]
Provision configuration root path /var/aegir/config is writable. [success]
Provision configuration path /var/aegir/config/server_master exists. [success]
Provision configuration ownership of /var/aegir/config/server_master has been changed to aegir. [success]
Provision configuration permissions of /var/aegir/config/server_master have been changed to 711. [success]
Provision configuration path /var/aegir/config/server_master is writable. [success]
Provision client home path /var/aegir/clients exists. [success]
Provision client home ownership of /var/aegir/clients has been changed to aegir. [success]
Provision client home permissions of /var/aegir/clients have been changed to 711. [success]
Provision client home path /var/aegir/clients is writable. [success]
Backup path /var/aegir/backups exists. [success]
Backup ownership of /var/aegir/backups has been changed to aegir. [success]
Backup permissions of /var/aegir/backups have been changed to 700. [success]
Backup path /var/aegir/backups is writable. [success]
Provision PHP configuration path /var/aegir/config/includes exists. [success]
Provision PHP configuration ownership of /var/aegir/config/includes has been changed to aegir. [success]
Provision PHP configuration permissions of /var/aegir/config/includes have been changed to 711. [success]
Provision PHP configuration path /var/aegir/config/includes is writable. [success]
Global configuration file exists [success]
Webserver custom pre-configuration path /var/aegir/config/server_master/apache exists. [success]
Webserver custom pre-configuration ownership of /var/aegir/config/server_master/apache has been changed to aegir. [success]
Webserver custom pre-configuration permissions of /var/aegir/config/server_master/apache have been changed to 711. [success]
Webserver custom pre-configuration path /var/aegir/config/server_master/apache is writable. [success]
Webserver custom pre-configuration path /var/aegir/config/server_master/apache/pre.d exists. [success]
Webserver custom pre-configuration ownership of /var/aegir/config/server_master/apache/pre.d has been changed to aegir. [success]
Webserver custom pre-configuration permissions of /var/aegir/config/server_master/apache/pre.d have been changed to 700. [success]
Webserver custom pre-configuration path /var/aegir/config/server_master/apache/pre.d is writable. [success]
Webserver custom post-configuration path /var/aegir/config/server_master/apache/post.d exists. [success]
Webserver custom post-configuration ownership of /var/aegir/config/server_master/apache/post.d has been changed to aegir. [success]
Webserver custom post-configuration permissions of /var/aegir/config/server_master/apache/post.d have been changed to 700. [success]
Webserver custom post-configuration path /var/aegir/config/server_master/apache/post.d is writable. [success]
Webserver platform configuration path /var/aegir/config/server_master/apache/platform.d exists. [success]
Webserver platform configuration ownership of /var/aegir/config/server_master/apache/platform.d has been changed to aegir. [success]
Webserver platform configuration permissions of /var/aegir/config/server_master/apache/platform.d have been changed to 700. [success]
Webserver platform configuration path /var/aegir/config/server_master/apache/platform.d is writable. [success]
Webserver virtual host configuration path /var/aegir/config/server_master/apache/vhost.d exists. [success]
Webserver virtual host configuration ownership of /var/aegir/config/server_master/apache/vhost.d has been changed to aegir. [success]
Webserver virtual host configuration permissions of /var/aegir/config/server_master/apache/vhost.d have been changed to 700. [success]
Webserver virtual host configuration path /var/aegir/config/server_master/apache/vhost.d is writable. [success]
Webserver subdir configuration path /var/aegir/config/server_master/apache/subdir.d exists. [success]
Webserver subdir configuration ownership of /var/aegir/config/server_master/apache/subdir.d has been changed to aegir. [success]
Webserver subdir configuration permissions of /var/aegir/config/server_master/apache/subdir.d have been changed to 700. [success]
Webserver subdir configuration path /var/aegir/config/server_master/apache/subdir.d is writable. [success]
Generated config A web server configuration file [success]
Changed permissions of /var/aegir/.drush/platform_hostmaster.alias.drushrc.php to 640 [success]
Generated config A Drush configuration file [success]
Changed permissions of /var/aegir/.drush/platform_hostmaster.alias.drushrc.php to 440 [success]
Drupal sites directory /var/aegir/hostmaster-6.x-2.4+1-dev/sites is writable by the provisioning script [success]
Platforms path /var/aegir/platforms exists. [success]
Platforms ownership of /var/aegir/platforms has been changed to aegir. [success]
Platforms permissions of /var/aegir/platforms have been changed to 755. [success]
Platforms path /var/aegir/platforms is writable. [success]
Generated config A platform configuration file [success]
Changed permissions of /var/aegir/hostmaster-6.x-2.4+1-dev/sites/all/drush/drushrc.php to 644 [success]
Generated config A Platform Drush configuration file [success]
Changed permissions of /var/aegir/hostmaster-6.x-2.4+1-dev/sites/all/drush/drushrc.php to 444 [success]
Platforms path /var/aegir/platforms exists. [success]
Platforms ownership of /var/aegir/platforms has been changed to aegir. [success]
Platforms permissions of /var/aegir/platforms have been changed to 755. [success]
Platforms path /var/aegir/platforms is writable. [success]
Generated config A Drush configuration file [success]
Changed permissions of /var/aegir/.drush/hostmaster.alias.drushrc.php to 440 [success]
Created kenpeter database [success]
Created sites/kenpeter [success]
Changed permissions of sites/kenpeter to 755 [success]
Created sites/kenpeter/themes [success]
Changed permissions of sites/kenpeter/themes to 2775 [success]
Created sites/kenpeter/modules [success]
Changed permissions of sites/kenpeter/modules to 2775 [success]
Created sites/kenpeter/libraries [success]
Changed permissions of sites/kenpeter/libraries to 2775 [success]
Created sites/kenpeter/files [success]
Changed permissions of sites/kenpeter/files to 2770 [success]
Created sites/kenpeter/files/tmp [success]
Changed permissions of sites/kenpeter/files/tmp to 2770 [success]
Created sites/kenpeter/files/images [success]
Changed permissions of sites/kenpeter/files/images to 2770 [success]
Created sites/kenpeter/files/pictures [success]
Changed permissions of sites/kenpeter/files/pictures to 2770 [success]
Created sites/kenpeter/files/css [success]
Changed permissions of sites/kenpeter/files/css to 2770 [success]
Created sites/kenpeter/files/js [success]
Changed permissions of sites/kenpeter/files/js to 2770 [success]
Created sites/kenpeter/files/ctools [success]
Changed permissions of sites/kenpeter/files/ctools to 2770 [success]
Created sites/kenpeter/files/imagecache [success]
Changed permissions of sites/kenpeter/files/imagecache to 2770 [success]
Created sites/kenpeter/files/locations [success]
Changed permissions of sites/kenpeter/files/locations to 2770 [success]
Created sites/kenpeter/private [success]
Changed permissions of sites/kenpeter/private to 2770 [success]
Created sites/kenpeter/private/files [success]
Changed permissions of sites/kenpeter/private/files to 2770 [success]
Created sites/kenpeter/private/temp [success]
Changed permissions of sites/kenpeter/private/temp to 2770 [success]
Changed group ownership of sites/kenpeter/files to www-data [success]
Changed group ownership of sites/kenpeter/files/tmp to www-data [success]
Changed group ownership of sites/kenpeter/files/images to www-data [success]
Changed group ownership of sites/kenpeter/files/pictures to www-data [success]
Changed group ownership of sites/kenpeter/files/css to www-data [success]
Changed group ownership of sites/kenpeter/files/js to www-data [success]
Changed group ownership of sites/kenpeter/files/ctools to www-data [success]
Changed group ownership of sites/kenpeter/files/imagecache to www-data [success]
Changed group ownership of sites/kenpeter/files/locations to www-data [success]
Changed group ownership of sites/kenpeter/private to www-data [success]
Changed group ownership of sites/kenpeter/private/files to www-data [success]
Changed group ownership of sites/kenpeter/private/temp to www-data [success]
Generated config A virtual host configuration file [success]
Generated config A Drupal settings.php file [success]
Changed permissions of /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/settings.php to 440 [success]
Change group ownership of /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/settings.php to www-data [success]
Platforms path /var/aegir/platforms exists. [success]
Platforms ownership of /var/aegir/platforms has been changed to aegir. [success]
Platforms permissions of /var/aegir/platforms have been changed to 755. [success]
Platforms path /var/aegir/platforms is writable. [success]
Generated config A Site Drush configuration file [success]
Changed permissions of /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/drushrc.php to 440 [success]
Platforms path /var/aegir/platforms exists. [success]
Platforms ownership of /var/aegir/platforms has been changed to aegir. [success]
Platforms permissions of /var/aegir/platforms have been changed to 755. [success]
Platforms path /var/aegir/platforms is writable. [success]
Table 'kenpeter.system' doesn't exist [warning]
query: SELECT filename FROM system WHERE name = 'jquery_ui' AND type = 'module' database.mysqli.inc:134
PROVISION_INSTALL_MISSING_REQUIREMENTS [error]
Drush was not able to start (bootstrap) the Drupal database. [error]
Hint: This may occur when Drush is trying to:
* bootstrap a site that has not been installed or does not have a configured database. In this case you can select another site with
a working database setup by specifying the URI to use with the --uri parameter on the command line. See `drush topic docs-aliases`
for details.
* connect the database through a socket. The socket file may be wrong or the php-cli may have no access to it in a jailed shell. See
http://drupal.org/node/1428638 for details.

Drush was attempting to connect to:
Drupal version : 6.31
Site URI : kenpeter
Default theme : garland
Administration theme : garland
PHP executable : /usr/bin/php
PHP configuration : /etc/php5/cli/php.ini
PHP OS : Linux
Drush version : 6.6.0
Drush configuration : /var/aegir/hostmaster-6.x-2.4+1-dev/sites/all/drush/drushrc.php
Drush alias files : /var/aegir/.drush/hostmaster.alias.drushrc.php /var/aegir/.drush/platform_hostmaster.alias.drushrc.php
/var/aegir/.drush/server_master.alias.drushrc.php /var/aegir/.drush/server_localhost.alias.drushrc.php
Drupal root : /var/aegir/hostmaster-6.x-2.4+1-dev
Site path : sites/kenpeter

Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/private/temp directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/private/files directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/private directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/themes directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/files/js directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/files/locations directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/files/css directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/files/images directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/files/imagecache directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/files/tmp directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/files/ctools directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/files/pictures directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/files directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/libraries directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter/modules directory successful. [success]
Deleting /var/aegir/hostmaster-6.x-2.4+1-dev/sites/kenpeter directory successful. [success]
The drush command '@hostmaster provision-verify' could not be found. Run `drush cache-clear drush` to clear the commandfile cache if[error]
you have installed new extensions.
A Drupal installation directory could not be found

Comments

helmo’s picture

Status: Active » Closed (outdated)

The 6.x-2.x branch will go EOL along with Drupal this week. So I'm closing
this issue. If it remains a confirmed issue in 7.x-3.x, feel free to re-open,
or better yet, create a new issue referencing this one.

PS: Sorry no one was able to respond here...