Upgrade results in Bad Gateways and php-fpm won't start

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Ari Gold's picture

I just installed a new instance of BOA on Ubuntu 10.04 LTS on Rackspace Cloud. Apticron informed me there were updates, so I ran BARRACUDA.sh.txt again interactively and results in Bad Gateways for all BOA sites and php-fpm won't start. Please advise. Thanks. Output from script:

Barracuda [Fri Dec 23 17:47:32 UTC 2011] ==> INFO: Clean up temp files in /var/opt/
Barracuda [Fri Dec 23 17:47:36 UTC 2011] ==> INFO: Run apt update, please wait...
Barracuda [Fri Dec 23 17:47:49 UTC 2011] ==> INFO: Install/upgrade required libraries and tools
Barracuda [Fri Dec 23 17:47:49 UTC 2011] ==> NOTE: This step may take a few minutes (depending on your server speed), please wait...
Barracuda [Fri Dec 23 17:48:00 UTC 2011] ==> INFO: Run apt update again, please wait...
Barracuda [Fri Dec 23 17:48:19 UTC 2011] ==> INFO: Run apt update again, please wait...
Barracuda [Fri Dec 23 17:48:32 UTC 2011] ==> INFO: SMTP check
Barracuda [Fri Dec 23 17:48:37 UTC 2011] ==> INFO: Fix for Nginx startup script, please wait...
Barracuda [Fri Dec 23 17:48:41 UTC 2011] ==> INFO: No fix required
Barracuda [Fri Dec 23 17:48:41 UTC 2011] ==> INFO: Install/upgrade a few more tools, please wait...
Barracuda [Fri Dec 23 17:48:45 UTC 2011] ==> INFO: PHP installed version auto-discovering now, please wait...
Barracuda [Fri Dec 23 17:48:49 UTC 2011] ==> INFO: Installed PHP version 5.2.17, no upgrade required
Barracuda [Fri Dec 23 17:48:53 UTC 2011] ==> INFO: PHP rebuild required to include MariaDB 5.2.9 libs
Barracuda [Fri Dec 23 17:48:57 UTC 2011] ==> INFO: Installing PHP-FPM
Barracuda [Fri Dec 23 17:48:57 UTC 2011] ==> NOTE: This step may take longer than 8 minutes (depending on your server speed), please wait...
gzip: php-5.2.17-fpm-0.5.14.diff.gz: No such file or directory
cat: php-5.2.17-fpm-0.5.14.diff: No such file or directory
Barracuda [Fri Dec 23 17:50:10 UTC 2011] ==> INFO: Installing PHP-FPM part 1/3
Barracuda [Fri Dec 23 17:50:19 UTC 2011] ==> INFO: Installing PHP-FPM part 2/3
Barracuda [Fri Dec 23 17:51:29 UTC 2011] ==> INFO: Installing PHP-FPM part 3/3
Barracuda [Fri Dec 23 17:58:21 UTC 2011] ==> INFO: Installing libmemcached with memcached for PHP-FPM, please wait...
Barracuda [Fri Dec 23 18:02:05 UTC 2011] ==> INFO: Installing Suhosin for PHP-FPM, please wait...
Barracuda [Fri Dec 23 18:02:27 UTC 2011] ==> INFO: Installing UploadProgress for PHP-FPM, please wait...
Barracuda [Fri Dec 23 18:02:40 UTC 2011] ==> INFO: Installing APC for PHP-FPM, please wait...
Barracuda [Fri Dec 23 18:03:06 UTC 2011] ==> INFO: Installing MailParse for PHP-FPM, please wait...
Barracuda [Fri Dec 23 18:03:22 UTC 2011] ==> INFO: Installing IonCube x86_64 version for PHP-FPM, please wait...
Barracuda [Fri Dec 23 18:04:05 UTC 2011] ==> INFO: Nginx version test, please wait...
Barracuda [Fri Dec 23 18:04:09 UTC 2011] ==> INFO: Installed Nginx version Barracuda/1.0.8, no upgrade required
Barracuda [Fri Dec 23 18:04:13 UTC 2011] ==> INFO: Restarting PHP-FPM and Nginx
Barracuda [Fri Dec 23 18:04:20 UTC 2011] ==> INFO: OS and services installation/upgrade completed

Do you want to upgrade Aegir Master Instance? [Y/n] n
Please answer yes or no
Do you want to upgrade Aegir Master Instance? [Y/n] no
Barracuda [Fri Dec 23 18:05:39 UTC 2011] ==> INFO: Aegir Master Instance not upgraded this time
Barracuda [Fri Dec 23 18:05:43 UTC 2011] ==> INFO: Fix for mime types in Nginx, please wait...
Barracuda [Fri Dec 23 18:05:52 UTC 2011] ==> CARD: Now charging your credit card for this automated install/upgrade service...
Barracuda [Fri Dec 23 18:05:56 UTC 2011] ==> JOKE: Just kidding! Enjoy your Aegir Hosting System :)
Barracuda [Fri Dec 23 18:06:00 UTC 2011] ==> Final post-install cleaning, please wait...
Barracuda [Fri Dec 23 18:06:05 UTC 2011] ==> BYE!
root@grow:~# service php-fpm start
Starting php_fpm Error in argument 1, char 1: no argument for option -

Comments

install fails on fresh debian squeeze

Ari Gold's picture

wget -q -U iCab http://files.aegir.cc/versions/BARRACUDA.sh.txt

now I tried to install Barracuda on fresh debian squeeze box and same results as previous upgrade (php-fpm won't start, message about no file or directory php.diff) ....is the script somehow broken?

It appears that DNS for

omega8cc's picture

It appears that DNS for php-fpm.org is down or broken at the moment.

Find a line in Barracuda script:

wget -q -U iCab http://php-fpm.org/downloads/php-$_PHP_VERSION-fpm-0.5.14.diff.gz

Replace it with:

wget -q -U iCab http://catlnmp.googlecode.com/files/php-5.2.17-fpm-0.5.14.diff.gz

Change _PHP_FORCE_REINSTALL=NO to _PHP_FORCE_REINSTALL=YES in Barracuda script *and* in /root/.barracuda.cnf file, if exists.

Now run Barracuda again.

Thank You

Ari Gold's picture

That worked.

Sorry guys :)

mike503's picture

I run php-fpm.org, I tried to switch to Namecheap for my registrar, it got stuck in a queue and could not edit the DNS until much later :(

BOA

Group organizers

Group notifications

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