I've tried a drush cc all and it completes fine, but I'm unable to access any urls at my hostmaster site, pre-existing sites are being served fine though, just hostmaster that is inaccesible.

Comments

omega8cc’s picture

Component: Code » Miscellaneous
Category: bug » support
Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Please follow bug submission guidelines: http://drupal.org/node/add/project-issue/barracuda

realityloop’s picture

Status: Postponed (maintainer needs more info) » Active

/var/aegir/config/includes/barracuda_log.txt

Tue Feb 21 23:25:55 EST 2012 / Debian.squeeze i686 XEN / Aegir BOA-2.0.2 / Barracuda BOA-2.0.2 / Nginx 1.0.12 / PHP 5.2.17 and 5.3.10 / FPM 5.3 / MariaDB localhost $
Thu Mar 15 08:51:06 EDT 2012 / Debian.squeeze i686 XEN / Aegir HEAD / Barracuda BOA-2.0.3-dev / Nginx 1.0.13 / PHP 5.2.17 and 5.3.10 / FPM 5.3 / MariaDB localhost /$

/var/aegir/install.log

==> MySQL is listening on *removed*.
==> This script makes the following assumptions:
 * you have read INSTALL.txt and prepared the platform accordingly
 * you are running as your "aegir" user
==> Aegir will now generate a mysql super user password for you:
  Username : aegir_root
  Password : *removed*
  Hostname : *removed*
==> Installing drush in /var/aegir
==> Drush seems to be functioning properly
==> Installing provision backend in /var/aegir/.drush
==> Installing the frontend
Aegir BOA-2.0.2 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

This script will operate the following changes in your system:

1. Create server-level configuration directories
2. Download drush_make
3. Create the Hostmaster frontend platform
4. Install the frontend site
5. 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: a01.*removed*
 Master server FQDN: h01.*removed*
 Aegir root: /var/aegir
 Aegir user: aegir
 Web group: www-data
 Web server: nginx
 Aegir DB host: localhost
 Aegir DB user: aegir_root
Aegir DB password: <previously set>
 Drush make version: 6.x-2.3
 Aegir version: BOA-2.0.2
 Aegir platform path: /var/aegir/hostmaster-BOA-2.0.2
 Aegir makefile: /var/aegir/.drush/provision/aegir.make
 Admin email: info@*removed*

Do you really want to proceed with the install (y/n): y
Project drush_make (6.x-2.3) downloaded to /var/aegir/.drush//drush_make.                                                                       ^[[1;32;40m^[[1m[suc$
Project drush_make contains 0 modules: .
pressflow downloaded from http://files.aegir.cc/dev/pressflow6.tar.gz.                                                                          ^[[1;32;40m^[[1m[ok]$
hostmaster downloaded from http://files.aegir.cc/versions/hostmaster-BOA-2.0.2.tar.gz.                                                          ^[[1;32;40m^[[1m[ok]$
Found makefile: hostmaster.make                                                                                                                 ^[[1;32;40m^[[1m[ok]$
Project information for admin_menu retrieved.                                                                                                   ^[[1;32;40m^[[1m[ok]$
Project information for openidadmin retrieved.                                                                                                  ^[[1;32;40m^[[1m[ok]$
Project information for install_profile_api retrieved.                                                                                          ^[[1;32;40m^[[1m[ok]$
Project information for jquery_ui retrieved.                                                                                                    ^[[1;32;40m^[[1m[ok]$
Project information for modalframe retrieved.                                                                                                   ^[[1;32;40m^[[1m[ok]$
Project information for hosting_platform_pathauto retrieved.                                                                                    ^[[1;32;40m^[[1m[ok]$
admin_menu downloaded from http://ftp.drupal.org/files/projects/admin_menu-6.x-1.8.tar.gz.                                                      ^[[1;32;40m^[[1m[ok]$
openidadmin downloaded from http://ftp.drupal.org/files/projects/openidadmin-6.x-1.2.tar.gz.                                                    ^[[1;32;40m^[[1m[ok]$
install_profile_api downloaded from http://ftp.drupal.org/files/projects/install_profile_api-6.x-2.1.tar.gz.                                    ^[[1;32;40m^[[1m[ok]$
jquery_ui downloaded from http://ftp.drupal.org/files/projects/jquery_ui-6.x-1.4.tar.gz.                                                        ^[[1;32;40m^[[1m[ok]$
modalframe downloaded from http://ftp.drupal.org/files/projects/modalframe-6.x-1.6.tar.gz.                                                      ^[[1;32;40m^[[1m[ok]$
hosting_platform_pathauto downloaded from http://ftp.drupal.org/files/projects/hosting_platform_pathauto-6.x-2.0-beta1.tar.gz.                  ^[[1;32;40m^[[1m[ok]$
jquery_ui downloaded from http://files.aegir.cc/dev/jquery.ui-1.6.zip.                                                                          ^[[1;32;40m^[[1m[ok]$
Created *removed* database                                                                                                                 ^[[1;32;40m^[[1m[suc$
Creating master server node                                                                                                                     ^[[1;32;40m^[[1m[sta$
Task verify was added to the queue. Next queue run is 04:23:00+0000, server time is 04:22:34+0000.                                              ^[[1;32;40m^[[1m[sta$
Creating db server node                                                                                                                         ^[[1;32;40m^[[1m[sta$
Task verify was added to the queue. Next queue run is 04:23:00+0000, server time is 04:22:34+0000.                                              ^[[1;32;40m^[[1m[sta$
Task verify was added to the queue. Next queue run is 04:23:00+0000, server time is 04:22:34+0000.                                              ^[[1;32;40m^[[1m[sta$
Task import was added to the queue. Next queue run is 04:23:00+0000, server time is 04:22:34+0000.                                              ^[[1;32;40m^[[1m[sta$
Configuring menu items                                                                                                                          ^[[1;32;40m^[[1m[sta$
Configuring Eldir theme                                                                                                                         ^[[1;32;40m^[[1m[sta$
Configuring default blocks                                                                                                                      ^[[1;32;40m^[[1m[sta$
Configuring roles                                                                                                                               ^[[1;32;40m^[[1m[sta$
Content permissions have been rebuilt.                                                                                                          ^[[1;32;40m^[[1m[sta$
 nitializing the hosting system
Dispatch command was run successfully                                                                                                           ^[[1;32;40m^[[1m[suc$
Installed hosting-dispatch cron entry to run every minute                                                                                       ^[[1;32;40m^[[1m[suc$
This command will replace your crontab for this user. continue? (y/n): y
/var/aegir/drush/drush.php '@hostmaster' hosting-dispatch
************************************************************************



Aegir is now installed. You can visit it at http://a01.*removed*
************************************************************************

/root/.barracuda.cnf

##
### Configuration created on 120221-2242 with
### Barracuda version BOA-2.0.2
###
### NOTE: the group of settings displayed bellow will *not* be overriden
### on upgrade by the Barracuda script nor by this configuration file.
### They can be defined only on initial Barracuda install.
###
_HTTP_WILDCARD=NO
_MY_OWNIP="*removed*"
_MY_HOSTN="*removed*"
_MY_FRONT="*removed*"
_THIS_DB_HOST=localhost
_SMTP_RELAY_TEST=YES
_SMTP_RELAY_HOST=""
_LOCAL_NETWORK_IP=""
_LOCAL_NETWORK_HN=""
###
### NOTE: the group of settings displayed bellow
### will *override* all listed settings in the Barracuda script,
### both on initial install and upgrade.
###
_MY_EMAIL="info@*removed*"
_XTRAS_LIST="CSF"
_AUTOPILOT=NO
_DEBUG_MODE=NO
_DB_SERVER=MariaDB
_SSH_PORT=22
_LOCAL_DEBIAN_MIRROR=""
_LOCAL_UBUNTU_MIRROR=""
_FORCE_GIT_MIRROR=""
_DNS_SETUP_TEST=YES
_NGINX_EXTRA_CONF=""
_PHP_FORCE_REINSTALL=NO
_SQL_FORCE_REINSTALL=NO
_NGINX_WORKERS=AUTO
_PHP_FPM_WORKERS=AUTO
_PHP_INSTALL_NEW=YES
_PHP_FPM_VERSION=5.3
###
### Configuration created on 120221-2242 with
### Barracuda version BOA-2.0.2
###
_PHP_CLI_VERSION=5.3
_LOAD_LIMIT_ONE=1444
_LOAD_LIMIT_TWO=888
_CUSTOM_CONFIG_CSF=NO
_CUSTOM_CONFIG_SQL=NO
_CUSTOM_CONFIG_PHP_5_2=NO
_CUSTOM_CONFIG_PHP_5_3=NO
_SPEED_VALID_MAX=300
_NGINX_DOS_LIMIT=300
omega8cc’s picture

Have you run the upgrade with debug option turned on? This always helps in debugging.

Please check if the hostmaster site platform root matches root in /var/aegir/.drush/hostmaster.alias.drushrc.php file and corresponding vhost file.

omega8cc’s picture

Of course, no: _DEBUG_MODE=NO

realityloop’s picture

Re #3. Both appear to be pointing to the correct directory

realityloop’s picture

contents of the host_master dir:

aegir@h01:~/host_master/001$ ls -la
total 176
drwxr-xr-x  8 aegir aegir  4096 Mar 15 08:50 .
drwx--x--x  3 aegir aegir  4096 Mar 15 08:50 ..
-rw-r--r--  1 aegir aegir   206 Mar 15 08:50 cron.php
-r--r--r--  1 aegir aegir 50153 Mar 15 08:51 drushrc.php
drwxr-xr-x  2 aegir aegir  4096 Mar 15 08:50 includes
-rw-r--r--  1 aegir aegir   923 Mar 15 08:50 index.php
-rw-r--r--  1 aegir aegir 47788 Mar 15 08:50 install.php
drwxr-xr-x  3 aegir aegir  4096 Mar 15 08:50 misc
drwxr-xr-x 37 aegir aegir  4096 Mar 15 08:50 modules
drwxr-xr-x  4 aegir aegir  4096 Mar 15 08:50 profiles
drwxr-xr-x  5 aegir aegir  4096 Mar 15 08:50 sites
drwxr-xr-x  4 aegir aegir  4096 Mar 15 08:50 themes
-rw-r--r--  1 aegir aegir 26310 Mar 15 08:50 update.php
-rw-r--r--  1 aegir aegir   294 Mar 15 08:50 xmlrpc.php
aegir@h01:~/host_master/001/sites/a01.domain.com$ ls -ls
total 80
56 -r--r-----  1 aegir aegir    52597 Mar 15 08:51 drushrc.php
 4 drwxrws--- 15 aegir www-data  4096 Feb 21 23:22 files
 4 drwxrwsr-x  2 aegir aegir     4096 Feb 21 23:22 libraries
 4 drwxrwsr-x  2 aegir aegir     4096 Feb 21 23:22 modules
 4 drwxrws---  4 aegir www-data  4096 Feb 21 23:22 private
 4 -r--r-----  1 aegir www-data  3121 Mar 15 08:51 settings.php
 4 drwxrwsr-x  2 aegir aegir     4096 Feb 21 23:22 themes
realityloop’s picture

I'm getting the following if I try and restart nginx manually:
Starting Nginx Server...:nginx: [emerg] bind() to *secondaryIP*:80 failed (99: Cannot assign requested address)

omega8cc’s picture

How/when have you added secondary IP in the Aegir interface? I suppose before running the upgrade.

Are you sure you have enabled the *secondaryIP* in your server networking? The error suggests it is not available to bind to.

omega8cc’s picture

Also, never use service nginx restart, always service nginx reload to avoid downtime.

realityloop’s picture

Re #8 , yes the secondary IP was added to aegir interface before upgrading to head, I've reverified since adding the secondary IP to /etc/network/interfaces and restarting networking and the secondary has been added to vhost files.

I am getting a warning when restarting networking however:

Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning).
Reconfiguring network interfaces...SIOCDELRT: No such process
done.

and I am unable to ping the gateway for the secondary IP.

realityloop’s picture

Status: Active » Fixed

The problem was that linode needed a reboot after adding extra IP

omega8cc’s picture

Just a note for reference: maybe Linode has specific requirements, but normally it shouldn't be required to reboot the VM to add extra IP, and you should never restart networking, since you don't have a physical access to the machine. Instead, you should activate extra IP on the virtual interface with command like:

ifconfig eth0:1 up ex.t.ra.ip net.m.a.sk

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.