Closed albaparticle closed 9 years ago
Run the uninstall script again, select create backup, then no when asked to reinstall. then rerun the script and install properly.
Hi Brian,
Thanks for your prompt reply.
I have actually done that several times. The log file I sent you was from my nth attempt. That’s why I finally asked for your help.
On Nov 20, 2014, at 12:47 PM, Brian Gilbert notifications@github.com wrote:
Run the uninstall script again, select create backup, then no when asked to reinstall. then rerun the script and install properly.
— Reply to this email directly or view it on GitHub https://github.com/BrianGilbert/OSXAegirInstaller/issues/40#issuecomment-63760773.
PS.:
I think this is definitely an issue with Nginx. I tried to restart Nginx per your instructions on AegirSetup.txt and this is what I get:
nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)
So it’s because it cannot find that pid file. Same error with the one I pointed out before.
On Nov 20, 2014, at 12:47 PM, Brian Gilbert <notifications@github.com mailto:notifications@github.com> wrote:
Run the uninstall script again, select create backup, then no when asked to reinstall. then rerun the script and install properly.
— Reply to this email directly or view it on GitHub https://github.com/BrianGilbert/OSXAegirInstaller/issues/40#issuecomment-63760773.
from that log file I can tell that it wasn't uninstalled properly.. after uninstalling it's also a good idea to doa reboot.. somethimes mariadb although uninstalled is still running which can cause issues with re-installation.
I know that clean install is currently working as I tested it just a few days ago.
Ok, I’ll try that.
On Nov 20, 2014, at 12:47 PM, Brian Gilbert notifications@github.com wrote:
Run the uninstall script again, select create backup, then no when asked to reinstall. then rerun the script and install properly.
— Reply to this email directly or view it on GitHub https://github.com/BrianGilbert/OSXAegirInstaller/issues/40#issuecomment-63760773.
I have finished uninstalling and reinstalling Aegir, but the results are still the same. :(
Here are the log files of the uninstall and several install log files (the script had to exit because “homebrew needs some work”).
Edit: sorry I was replying from my email client and didn't realise that the files I attached are not being attached here. Is there a way to send you these?
I decided to paste here again the latest logfile that I have.
Last login: Thu Nov 20 11:21:52 on ttys000
aegir:~ palagpatski$ cd ~
aegir:~ palagpatski$ curl -O https://raw.githubusercontent.com/BrianGilbert/OSXAegirInstaller/master/aegir.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 46503 100 46503 0 0 15714 0 0:00:02 0:00:02 --:--:-- 15710
aegir:~ palagpatski$ chmod +x aegir.sh
aegir:~ palagpatski$ ./aegir.sh
########
# Online, continuing 2014-11-20 11:26:10
########
# Checking /usr/local exists..
########
# This script is designed to be run by the primary account
# it has not been tested on a multi user setup.
########
# You will need the following information during this script:
# -a gmail account that is configured to allow remote smtp access
# -the password for the gmail account address
# -an email address to receive notifications from aegir
# -attention to what is being requested via the script
########
# You cannot use this script if you have macports installed
# so we will uninstall it automatically
########
# OS X's inbuilt apache uses port 80 if it's running we'll disable
# it for you during install so that nginx can run on port 80.
########
# Logging install process to file on desktop in case anything
# goes wrong during install, No passwords are logged..
########
########
# macports isn't installed continuing..
########
# Apache isn't active, continuing..
########
########
# Checking OS version..
########
# You're using 10.10, so let's go!
########
########
# Checking if Homebrew is installed..
########
########
# Affirmative! Let's make sure everything is up to date..
# Just so you know, this may throw a few warnings..
########
Pruned 0 dead formulae
Tapped 617 formulae
Pruned 1 symbolic links and 2 directories from /usr/local
Updated Homebrew from c4ecb2d1 to ca596f63.
==> Updated Formulae
astyle
jena
moc
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
php53
php54
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
########
# Homebrew needs some work, exiting
###########fin###
aegir:~ palagpatski$ brew link php53
Linking /usr/local/Cellar/php53/5.3.29...
Error: Could not symlink bin/pear
Target /usr/local/bin/pear
is a symlink belonging to php55. You can unlink it:
brew unlink php55
To force the link and overwrite all conflicting files:
brew link --overwrite php53
To list all files that would be deleted:
brew link --overwrite --dry-run php53
aegir:~ palagpatski$ brew link --overwrite php53
Linking /usr/local/Cellar/php53/5.3.29... 954 symlinks created
aegir:~ palagpatski$ brew link php54
Linking /usr/local/Cellar/php54/5.4.35...
Error: Could not symlink bin/pear
Target /usr/local/bin/pear
is a symlink belonging to php53. You can unlink it:
brew unlink php53
To force the link and overwrite all conflicting files:
brew link --overwrite php54
To list all files that would be deleted:
brew link --overwrite --dry-run php54
aegir:~ palagpatski$ brew link --overwrite php54
Linking /usr/local/Cellar/php54/5.4.35... 488 symlinks created
aegir:~ palagpatski$ ./aegir.sh
########
# Online, continuing 2014-11-20 11:27:58
########
# Checking /usr/local exists..
########
# This script is designed to be run by the primary account
# it has not been tested on a multi user setup.
########
# You will need the following information during this script:
# -a gmail account that is configured to allow remote smtp access
# -the password for the gmail account address
# -an email address to receive notifications from aegir
# -attention to what is being requested via the script
########
# You cannot use this script if you have macports installed
# so we will uninstall it automatically
########
# OS X's inbuilt apache uses port 80 if it's running we'll disable
# it for you during install so that nginx can run on port 80.
########
# Logging install process to file on desktop in case anything
# goes wrong during install, No passwords are logged..
########
########
# macports isn't installed continuing..
########
# Apache isn't active, continuing..
########
########
# Checking OS version..
########
# You're using 10.10, so let's go!
########
########
# Checking if Homebrew is installed..
########
########
# Affirmative! Let's make sure everything is up to date..
# Just so you know, this may throw a few warnings..
########
Pruned 0 dead formulae
Tapped 617 formulae
Already up-to-date.
Your system is ready to brew.
########
# Homebrew in order, continuing
########
########
# Doing some setup ready for Aegir install..
########
Password:
# Your hostname will be set to aegir.ld
########
# Install the developmental version of Aegir (7.x-3.x)? [Y/n]:
########
y
########
# I can install multiple versions of PHP; 5.3, 5.4 and/or 5.5.
# Let me know which versions you'd like installed.
# Set up PHP 5.3 [Y/n]:
########
y# You entered Y
########
########
# Make PHP 5.3 the default [Y/n]:
########
n# You entered N
########
########
# Set up PHP 5.4 [Y/n]:
########
y# You entered Y
########
########
# Make PHP 5.4 the default [Y/n]:
########
n# You entered N
########
########
# Set up PHP 5.5 [Y/n]:
########
y# You entered Y
########
########
# Make PHP 5.5 the default [Y/n]:
########
y# You entered Y
########
########
# I can also setup ApacheSolr which is best used in conjunction with:
# https://drupal.org/project/search_api_solr
# Set up solr [Y/n]:
########
y# You entered Y
########
########
# Do you want solr to run automatically on boot [Y/n]:
########
y# You entered Y
########
########
# Now we'll tap some extra kegs we need..
########
Warning: Already tapped!
Warning: Already tapped!
Warning: Already tapped!
Already up-to-date.
Your system is ready to brew.
# Installing required brew formulae..
########
# Installing gcc..
########
Warning: apple-gcc42-4.2.1-5666.3 already installed
########
# Installing wget..
########
Warning: wget-1.16 already installed
########
# Installing gzip..
########
Warning: gzip-1.6 already installed
########
# Installing libpng..
########
Warning: libpng-1.6.14 already installed
########
# Installing dnsmasq..
########
Warning: dnsmasq-2.72 already installed
########
# Configuring dnsmasq..
########
########
# Setting up wildcard DNS so that domains ending in dot ld will resolve to your local machine
########
# You already have a dnsmasq.conf file..
# So this all works proerly I'm going to backup and recreate it..
########
# Setting dnsmasq config..
########
# You already have a resolv.conf set..
# So this all works properly I'm going to backup and recreate it..
########
# Setting OpenDNS and Google DNS servers as fallbacks..
########
# You already have a resolver set for when you are offline..
# So this all works properly I'm going to backup and recreate it..
########
mv: rename /etc/resolver/ to /Users/palagpatski/Desktop/aegir-install-backup-2014-11-20.11.27.58: Not a directory
########
# Making local domains resolve when your disconnected from net..
########
# Setting hostname to aegir.ld
########
# Copying dnsmasq launch daemon into place..
########
# Starting dnsmasq..
########
/Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist: Operation already in progress
########
# Installing nginx..
########
Warning: pcre-8.36 already installed
Warning: geoip-1.6.3 already installed
Warning: nginx-1.6.2 already installed
########
# Configuring nginx..
########
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 763 0 763 0 0 159 0 --:--:-- 0:00:04 --:--:-- 159
ln: /var/log/nginx/error.log: File exists
########
# Installing mariadb..
########
Warning: cmake-3.0.2 already installed
Warning: mariadb-10.0.14_1 already installed
########
# Configuring mariadb..
########
Installing MariaDB/MySQL system tables in '/usr/local/var/mysql' ...
141120 11:38:06 [ERROR] mysqld: Can't lock aria control file '/usr/local/var/mysql/aria_log_control' for exclusive use, error: 35. Will retry for 30 seconds
141120 11:38:38 [ERROR] mysqld: Got error 'Could not get an exclusive lock; file is probably in use by another process' when trying to use aria control file '/usr/local/var/mysql/aria_log_control'
141120 11:38:38 [ERROR] Plugin 'Aria' init function returned error.
141120 11:38:38 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2014-11-20 11:38:38 7fff7dcf7300 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator.
141120 11:38:38 [Note] InnoDB: Using mutexes to ref count buffer pool pages
141120 11:38:38 [Note] InnoDB: The InnoDB memory heap is disabled
141120 11:38:38 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
141120 11:38:38 [Note] InnoDB: Memory barrier is not used
141120 11:38:38 [Note] InnoDB: Compressed tables use zlib 1.2.5
141120 11:38:38 [Note] InnoDB: Using CPU crc32 instructions
141120 11:38:38 [Note] InnoDB: Initializing buffer pool, size = 384.0M
141120 11:38:38 [Note] InnoDB: Completed initialization of buffer pool
141120 11:38:38 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:38 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:38 [Note] InnoDB: Retrying to lock the first data file
141120 11:38:39 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:39 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:40 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:40 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:41 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:41 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:42 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:42 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:43 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:43 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:44 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:44 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:45 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:45 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:46 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:46 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:47 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:47 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:48 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:48 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:49 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:49 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:50 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:50 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:51 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:51 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:52 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:52 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:53 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:53 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:54 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:54 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:55 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:55 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:56 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:56 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:57 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:57 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:58 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:58 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:38:59 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:38:59 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:00 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:00 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:01 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:01 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:02 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:02 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:03 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:03 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:04 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:04 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:05 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:05 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:06 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:06 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:07 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:07 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:08 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:08 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:09 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:09 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:10 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:10 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:11 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:11 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:12 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:12 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:13 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:13 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:14 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:14 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:15 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:15 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:16 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:16 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:17 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:17 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:18 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:18 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:19 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:19 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:20 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:20 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:21 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:21 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:22 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:22 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:23 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:23 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:24 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:24 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:25 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:25 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:26 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:26 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:27 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:27 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:28 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:28 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:29 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:29 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:30 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:30 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:31 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:31 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:32 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:32 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:33 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:33 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:34 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:34 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:35 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:35 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:36 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:36 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:37 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:37 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:38 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:38 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:39 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:39 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:40 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:40 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:41 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:41 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:42 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:42 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:43 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:43 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:44 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:44 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:45 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:45 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:46 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:46 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:47 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:47 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:48 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:48 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:49 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:49 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:50 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:50 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:51 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:51 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:52 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:52 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:53 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:53 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:54 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:54 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:55 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:55 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:56 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:56 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:57 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:57 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:58 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:58 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:39:59 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:39:59 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:00 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:00 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:01 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:01 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:02 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:02 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:03 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:03 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:04 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:04 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:05 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:05 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:06 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:06 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:07 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:07 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:08 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:08 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:09 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:09 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:10 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:10 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:11 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:11 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:12 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:12 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:13 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:13 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:14 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:14 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:15 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:15 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:16 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:16 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:17 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:17 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:18 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
141120 11:40:18 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
141120 11:40:18 [Note] InnoDB: Unable to open the first data file
2014-11-20 11:40:18 7fff7dcf7300 InnoDB: Operating system error number 35 in a file operation.
InnoDB: Error number 35 means 'Resource temporarily unavailable'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.6/en/operating-system-error-codes.html
141120 11:40:18 [ERROR] InnoDB: Can't open './ibdata1'
141120 11:40:18 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!
141120 11:40:18 [ERROR] Plugin 'InnoDB' init function returned error.
141120 11:40:18 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
141120 11:40:18 [ERROR] Unknown/unsupported storage engine: InnoDB
141120 11:40:18 [ERROR] Aborting
141120 11:40:18 [Note] /usr/local/opt/mariadb/bin/mysqld: Shutdown complete
Installation of system tables failed! Examine the logs in
/usr/local/var/mysql for more information.
The problem could be conflicting information in an external
my.cnf files. You can ignore these by doing:
shell> /usr/local/opt/mariadb/scripts/scripts/mysql_install_db --defaults-file=~/.my.cnf
You can also try to start the mysqld daemon with:
shell> /usr/local/opt/mariadb/bin/mysqld --skip-grant --general-log &
and use the command line tool /usr/local/opt/mariadb/bin/mysql
to connect to the mysql database and look at the grant tables:
shell> /usr/local/opt/mariadb/bin/mysql -u root mysql
mysql> show tables;
Try 'mysqld --help' if you have problems with paths. Using
--general-log gives you a log in /usr/local/var/mysql that may be helpful.
The latest information about mysql_install_db is available at
https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
MariaDB is hosted on launchpad; You can find the latest source and
email lists at http://launchpad.net/maria
Please check all of the above before submitting a bug report
at http://mariadb.org/jira
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4943 0 4943 0 0 1106 0 --:--:-- 0:00:04 --:--:-- 1107
########
# Installing php55..
########
Warning: php55-5.5.19 already installed
Warning: php55-geoip-1.0.8 already installed
Warning: php55-imagick-3.1.0RC2 already installed
Warning: php55-mcrypt-5.5.19 already installed
Warning: php55-uploadprogress-1.0.3.1 already installed
Warning: php55-xdebug-2.2.5 already installed
Warning: php55-xhprof-254eb24 already installed
########
# Configuring php55..
########
ln: /var/log/nginx/php55-fpm.log: File exists
Unlinking /usr/local/Cellar/php55/5.5.19... 7 symlinks removed
########
# Installing php54..
########
Warning: php54-5.4.35 already installed
Warning: php54-geoip-1.0.8 already installed
Warning: php54-imagick-3.1.0RC2 already installed
Warning: php54-mcrypt-5.4.35 already installed
Warning: php54-uploadprogress-1.0.3.1 already installed
Warning: php54-xdebug-2.2.5 already installed
Warning: php54-xhprof-254eb24 already installed
########
# Configuring php54..
########
ln: /var/log/nginx/php54-fpm.log: File exists
Unlinking /usr/local/Cellar/php54/5.4.35... 570 symlinks removed
########
# Installing php53 prerequisites..
########
Warning: re2c-0.13.7.5 already installed
Warning: flex-2.5.37 already installed
Warning: bison27-2.7.1 already installed
Warning: libevent-2.0.21_1 already installed
########
# Installing php53..
########
Warning: php53-5.3.29 already installed
Warning: php53-geoip-1.0.8 already installed
Warning: php53-imagick-3.1.0RC2 already installed
Warning: php53-mcrypt-5.3.29 already installed
Warning: php53-uploadprogress-1.0.3.1 already installed
Warning: php53-xdebug-2.2.5 already installed
Warning: php53-xhprof-254eb24 already installed
########
# Configuring php53..
########
ln: /var/log/nginx/php53-fpm.log: File exists
Unlinking /usr/local/Cellar/php53/5.3.29... 15 symlinks removed
Linking /usr/local/Cellar/php55/5.5.19... 41 symlinks created
########
# Installing php code sniffer..
########
Warning: php-code-sniffer-1.5.5 already installed
########
# Installing drupal code sniffer..
########
Warning: drupal-code-sniffer-7.x-2.2 already installed
########
# Installing phpunit..
########
Warning: phpunit-4.3.4 already installed
########
# Installing composer..
########
==> Installing composer from homebrew/homebrew-php
==> Downloading http://getcomposer.org/download/1.0.0-alpha8/composer.phar
Already downloaded: /Library/Caches/Homebrew/composer-1.0.0-alpha8.phar
==> Caveats
Verify your installation by running:
"composer --version".
You can read more about composer and packagist by running:
"brew home composer".
==> Summary
🍺 /usr/local/Cellar/composer/1.0.0-alpha8: 3 files, 952K, built in 5 seconds
########
# Installing drush..
########
Changed current directory to /Users/palagpatski/.composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing pear/console_table (1.2.1)
Downloading: 100%
- Installing symfony/yaml (v2.5.6)
Downloading: 100%
- Installing d11wtq/boris (v1.0.8)
Downloading: 100%
- Removing drush/drush (6.5.0)
- Installing drush/drush (dev-master 0c31c24)
Cloning 0c31c245ab3f519ceaff7e8d3e9dae3c6009dce9
pear/console_table suggests installing pear/Console_Color2 (>=0.1.2)
Writing lock file
Generating autoload files
########
# Installing solr..
########
Warning: solr-4.10.2 already installed
########
# Downloading solr launch daemon..
########
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 964 0 964 0 0 266 0 --:--:-- 0:00:03 --:--:-- 266
########
# Setting up launch daemons..
########
Password:
########
# Launching daemons now..
########
/Library/LaunchDaemons/homebrew.mxcl.nginx.plist: Operation already in progress
/Users/palagpatski/Library/LaunchAgents/homebrew.mxcl.mariadb.plist: Operation already in progress
/Users/palagpatski/Library/LaunchAgents/homebrew.mxcl.php55.plist: Operation already in progress
/Users/palagpatski/Library/LaunchAgents/com.apache.solr.plist: Operation already in progress
########
# Finishing mariadb setup..
########
########
# Enter the following when prompted..
#
# Current password: <hit enter>
# Set root password?: [Y/n] y
# New password: <make it easy, eg. mysql>
# Remove anonymous users? [Y/n] y
# Disallow root login remotely? [Y/n] y
# Remove test database and access to it? [Y/n] y
# Reload privilege tables now? [Y/n] y
########
/usr/local/opt/mariadb/bin/mysql_secure_installation: line 379: find_mysql_client: command not found
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
Set root password? [Y/n] foodhouse
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] y
... Success!
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] y
... Success!
By default, MariaDB comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] y
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] y
... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
Thanks for using MariaDB!
palagpatski ALL=NOPASSWD: /usr/local/bin/nginx
########
# Adding aegir.conf include to ngix.conf..
# Aegir time..
########
# Downloading provision..
########
Install location /Users/palagpatski/.drush/provision already exists. Do you want to overwrite it? (y/n): y
Project provision (7.x-3.x-dev) downloaded to [success]
/Users/palagpatski/.drush/provision.
Project provision contains 4 modules: bind_slave, bind, dns, provision.
########
# Clearing drush caches..
########
'drush' cache was cleared. [success]
########
# Installing hostmaster..
########
Aegir 7.x-3.x 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
MySQL privileged user ("root") password:
Admin user e-mail [webmaster@aegir.ld]:
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: aegir.ld
Master server FQDN: aegir.ld
Aegir root: /var/aegir
Aegir user: palagpatski
Web group: www
Web server: nginx
Web server port: 80
Aegir DB host: localhost
Aegir DB user: root
Aegir DB password: <prompted>
Aegir DB port: 3306
Aegir version: 7.x-3.x
Aegir platform path: /var/aegir/hostmaster-7.x-3.x
Admin email: webmaster@aegir.ld
Aegir makefile: /Users/palagpatski/.drush/provision/aegir.make
Aegir install profile: hostmaster
Do you really want to proceed with the install (y/n): y
Changed permissions of [success]
/Users/palagpatski/.drush/server_localhost.alias.drushrc.php to 640
Generated config A Drush configuration file [success]
(/Users/palagpatski/.drush/server_localhost.alias.drushrc.php)
Changed permissions of [success]
/Users/palagpatski/.drush/server_localhost.alias.drushrc.php to 440
Provision configuration root path /var/aegir/config has been created.[success]
Provision configuration root ownership of /var/aegir/config has been [success]
changed to palagpatski.
Provision configuration root permissions of /var/aegir/config have [success]
been changed to 711.
Provision configuration root path /var/aegir/config is writable. [success]
Provision configuration path /var/aegir/config/server_localhost has [success]
been created.
Provision configuration ownership of [success]
/var/aegir/config/server_localhost has been changed to palagpatski.
Provision configuration permissions of [success]
/var/aegir/config/server_localhost have been changed to 711.
Provision configuration path /var/aegir/config/server_localhost is [success]
writable.
Provision client home path /var/aegir/clients has been created. [success]
Provision client home ownership of /var/aegir/clients has been [success]
changed to palagpatski.
Provision client home permissions of /var/aegir/clients have been [success]
changed to 711.
Provision client home path /var/aegir/clients is writable. [success]
Changed permissions of [success]
/Users/palagpatski/.drush/server_localhost.alias.drushrc.php to 640
Generated config A Drush configuration file [success]
(/Users/palagpatski/.drush/server_localhost.alias.drushrc.php)
Changed permissions of [success]
/Users/palagpatski/.drush/server_localhost.alias.drushrc.php to 440
Provision can create new databases. [success]
Provision can grant privileges on database users. [success]
Changed permissions of [success]
/Users/palagpatski/.drush/server_master.alias.drushrc.php to 640
Generated config A Drush configuration file [success]
(/Users/palagpatski/.drush/server_master.alias.drushrc.php)
Changed permissions of [success]
/Users/palagpatski/.drush/server_master.alias.drushrc.php to 440
Provision configuration root path /var/aegir/config exists. [success]
Provision configuration root ownership of /var/aegir/config has been [success]
changed to palagpatski.
Provision configuration root permissions of /var/aegir/config have [success]
been changed to 711.
Provision configuration root path /var/aegir/config is writable. [success]
Provision configuration path /var/aegir/config/server_master has been[success]
created.
Provision configuration ownership of /var/aegir/config/server_master [success]
has been changed to palagpatski.
Provision configuration permissions of [success]
/var/aegir/config/server_master have been changed to 711.
Provision configuration path /var/aegir/config/server_master is [success]
writable.
Provision client home path /var/aegir/clients exists. [success]
Provision client home ownership of /var/aegir/clients has been [success]
changed to palagpatski.
Provision client home permissions of /var/aegir/clients have been [success]
changed to 711.
Provision client home path /var/aegir/clients is writable. [success]
Backup path /var/aegir/backups has been created. [success]
Backup ownership of /var/aegir/backups has been changed to [success]
palagpatski.
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 has been [success]
created.
Provision PHP configuration ownership of /var/aegir/config/includes [success]
has been changed to palagpatski.
Provision PHP configuration permissions of /var/aegir/config/includes[success]
have been changed to 711.
Provision PHP configuration path /var/aegir/config/includes is [success]
writable.
Generated config A Global settings.php file [success]
(/var/aegir/config/includes/global.inc)
Changed permissions of [success]
/Users/palagpatski/.drush/server_master.alias.drushrc.php to 640
Generated config A Drush configuration file [success]
(/Users/palagpatski/.drush/server_master.alias.drushrc.php)
Changed permissions of [success]
/Users/palagpatski/.drush/server_master.alias.drushrc.php to 440
Provision can create new databases. [success]
Provision can grant privileges on database users. [success]
Webserver custom pre-configuration path [success]
/var/aegir/config/server_master/nginx has been created.
Webserver custom pre-configuration ownership of [success]
/var/aegir/config/server_master/nginx has been changed to
palagpatski.
Webserver custom pre-configuration permissions of [success]
/var/aegir/config/server_master/nginx have been changed to 711.
Webserver custom pre-configuration path [success]
/var/aegir/config/server_master/nginx is writable.
Webserver custom pre-configuration path [success]
/var/aegir/config/server_master/nginx/pre.d has been created.
Webserver custom pre-configuration ownership of [success]
/var/aegir/config/server_master/nginx/pre.d has been changed to
palagpatski.
Webserver custom pre-configuration permissions of [success]
/var/aegir/config/server_master/nginx/pre.d have been changed to 700.
Webserver custom pre-configuration path [success]
/var/aegir/config/server_master/nginx/pre.d is writable.
Webserver custom post-configuration path [success]
/var/aegir/config/server_master/nginx/post.d has been created.
Webserver custom post-configuration ownership of [success]
/var/aegir/config/server_master/nginx/post.d has been changed to
palagpatski.
Webserver custom post-configuration permissions of [success]
/var/aegir/config/server_master/nginx/post.d have been changed to
700.
Webserver custom post-configuration path [success]
/var/aegir/config/server_master/nginx/post.d is writable.
Webserver platform configuration path [success]
/var/aegir/config/server_master/nginx/platform.d has been created.
Webserver platform configuration ownership of [success]
/var/aegir/config/server_master/nginx/platform.d has been changed to
palagpatski.
Webserver platform configuration permissions of [success]
/var/aegir/config/server_master/nginx/platform.d have been changed to
700.
Webserver platform configuration path [success]
/var/aegir/config/server_master/nginx/platform.d is writable.
Webserver virtual host configuration path [success]
/var/aegir/config/server_master/nginx/vhost.d has been created.
Webserver virtual host configuration ownership of [success]
/var/aegir/config/server_master/nginx/vhost.d has been changed to
palagpatski.
Webserver virtual host configuration permissions of [success]
/var/aegir/config/server_master/nginx/vhost.d have been changed to
700.
Webserver virtual host configuration path [success]
/var/aegir/config/server_master/nginx/vhost.d is writable.
Webserver subdir configuration path [success]
/var/aegir/config/server_master/nginx/subdir.d has been created.
Webserver subdir configuration ownership of [success]
/var/aegir/config/server_master/nginx/subdir.d has been changed to
palagpatski.
Webserver subdir configuration permissions of [success]
/var/aegir/config/server_master/nginx/subdir.d have been changed to
700.
Webserver subdir configuration path [success]
/var/aegir/config/server_master/nginx/subdir.d is writable.
Generated config A web server configuration file [success]
(/var/aegir/config/server_master/nginx.conf)
Generated config A web server configuration include file [success]
(/var/aegir/config/includes/nginx_vhost_common.conf)
nginx on aegir.ld could not be restarted. Changes might not be [warning]
available until this has been done. (error: nginx: [error] open()
"/usr/local/var/run/nginx.pid" failed (2: No such file or directory))
Changed permissions of [success]
/Users/palagpatski/.drush/platform_hostmaster.alias.drushrc.php to
640
Generated config A Drush configuration file [success]
(/Users/palagpatski/.drush/platform_hostmaster.alias.drushrc.php)
Changed permissions of [success]
/Users/palagpatski/.drush/platform_hostmaster.alias.drushrc.php to
440
Beginning to build /Users/palagpatski/.drush/provision/aegir.make. [ok]
drupal-7.34 downloaded. [ok]
hostmaster cloned from http://git.drupal.org/project/hostmaster.git. [ok]
Checked out branch 7.x-3.x. [ok]
Found makefile: hostmaster.make [ok]
eldir cloned from http://git.drupal.org/project/eldir.git. [ok]
Checked out branch 7.x-3.x. [ok]
hosting cloned from http://git.drupal.org/project/hosting.git. [ok]
Checked out branch 7.x-3.x. [ok]
hosting_git cloned from [ok]
http://git.drupal.org/project/hosting_git.git.
Checked out branch 7.x-3.x. [ok]
hosting_platform_pathauto cloned from [ok]
http://git.drupal.org/project/hosting_platform_pathauto.git.
Checked out branch 7.x-2.x. [ok]
Project admin_menu contains 3 modules: admin_menu_toolbar, admin_devel, admin_menu.
admin_menu-7.x-3.0-rc4 downloaded. [ok]
betterlogin-7.x-1.2 downloaded. [ok]
bootstrap_tour-7.x-1.0-beta8 downloaded. [ok]
Project ctools contains 10 modules: views_content, term_depth, stylizer, page_manager, ctools_plugin_example, ctools_custom_content, ctools_ajax_sample, ctools_access_ruleset, bulk_export, ctools.
ctools-7.x-1.4 downloaded. [ok]
Project entity contains 2 modules: entity, entity_token.
entity-7.x-1.5 downloaded. [ok]
openidadmin-7.x-1.0 downloaded. [ok]
Project overlay_paths contains 3 modules: overlay_paths_ui, overlay_paths_example, overlay_paths.
overlay_paths-7.x-1.3 downloaded. [ok]
Project views contains 2 modules: views, views_ui.
views-7.x-3.8 downloaded. [ok]
Project views_bulk_operations contains 2 modules: actions_permissions, views_bulk_operations.
views_bulk_operations-7.x-3.2 downloaded. [ok]
Project devel contains 3 modules: devel_generate, devel, devel_node_access.
devel-7.x-1.5 downloaded. [ok]
devel_debug_log-7.x-1.2 downloaded. [ok]
Drupal sites directory /var/aegir/hostmaster-7.x-3.x/sites is [success]
writable by the provisioning script
Platforms path /var/aegir/platforms has been created. [success]
Platforms ownership of /var/aegir/platforms has been changed to [success]
palagpatski.
Platforms permissions of /var/aegir/platforms have been changed to [success]
755.
Platforms path /var/aegir/platforms is writable. [success]
Changed permissions of [success]
/Users/palagpatski/.drush/platform_hostmaster.alias.drushrc.php to
640
Generated config A Drush configuration file [success]
(/Users/palagpatski/.drush/platform_hostmaster.alias.drushrc.php)
Changed permissions of [success]
/Users/palagpatski/.drush/platform_hostmaster.alias.drushrc.php to
440
<em class="placeholder">nginx</em> on <em [warning]
class="placeholder">aegir.ld</em> could not be restarted. Changes
might not be available until this has been done. (error: <em
class="placeholder">nginx: [error] open()
"/usr/local/var/run/nginx.pid" failed (2: No such file or
directory)</em>)
Created directory /var/aegir/hostmaster-7.x-3.x/sites/all/drush. [success]
Generated config A Platform Drush configuration file [success]
(/var/aegir/hostmaster-7.x-3.x/sites/all/drush/drushrc.php)
Changed permissions of [success]
/var/aegir/hostmaster-7.x-3.x/sites/all/drush/drushrc.php to 444
Platforms path /var/aegir/platforms exists. [success]
Platforms ownership of /var/aegir/platforms has been changed to [success]
palagpatski.
Platforms permissions of /var/aegir/platforms have been changed to [success]
755.
Platforms path /var/aegir/platforms is writable. [success]
Generated config A Drush configuration file [success]
(/Users/palagpatski/.drush/hostmaster.alias.drushrc.php)
Changed permissions of [success]
/Users/palagpatski/.drush/hostmaster.alias.drushrc.php to 440
Generated config A Drush configuration file [success]
(/Users/palagpatski/.drush/hm.alias.drushrc.php)
Changed permissions of /Users/palagpatski/.drush/hm.alias.drushrc.php[success]
to 440
Created aegirld database [success]
Created <code>sites/aegir.ld</code> [success]
Changed permissions of <code>sites/aegir.ld</code> to 755 [success]
Created <code>sites/aegir.ld/themes</code> [success]
Changed permissions of <code>sites/aegir.ld/themes</code> to 2775 [success]
Created <code>sites/aegir.ld/modules</code> [success]
Changed permissions of <code>sites/aegir.ld/modules</code> to 2775 [success]
Created <code>sites/aegir.ld/libraries</code> [success]
Changed permissions of <code>sites/aegir.ld/libraries</code> to 2775 [success]
Created <code>sites/aegir.ld/files</code> [success]
Changed permissions of <code>sites/aegir.ld/files</code> to 2770 [success]
Created <code>sites/aegir.ld/files/tmp</code> [success]
Changed permissions of <code>sites/aegir.ld/files/tmp</code> to 2770 [success]
Created <code>sites/aegir.ld/files/images</code> [success]
Changed permissions of <code>sites/aegir.ld/files/images</code> to [success]
2770
Created <code>sites/aegir.ld/files/pictures</code> [success]
Changed permissions of <code>sites/aegir.ld/files/pictures</code> to [success]
2770
Created <code>sites/aegir.ld/files/css</code> [success]
Changed permissions of <code>sites/aegir.ld/files/css</code> to 2770 [success]
Created <code>sites/aegir.ld/files/js</code> [success]
Changed permissions of <code>sites/aegir.ld/files/js</code> to 2770 [success]
Created <code>sites/aegir.ld/files/ctools</code> [success]
Changed permissions of <code>sites/aegir.ld/files/ctools</code> to [success]
2770
Created <code>sites/aegir.ld/files/imagecache</code> [success]
Changed permissions of <code>sites/aegir.ld/files/imagecache</code> [success]
to 2770
Created <code>sites/aegir.ld/files/locations</code> [success]
Changed permissions of <code>sites/aegir.ld/files/locations</code> to[success]
2770
Created <code>sites/aegir.ld/private</code> [success]
Changed permissions of <code>sites/aegir.ld/private</code> to 2770 [success]
Created <code>sites/aegir.ld/private/files</code> [success]
Changed permissions of <code>sites/aegir.ld/private/files</code> to [success]
2770
Created <code>sites/aegir.ld/private/temp</code> [success]
Changed permissions of <code>sites/aegir.ld/private/temp</code> to [success]
2770
Created <code>sites/aegir.ld/files/styles</code> [success]
Changed permissions of <code>sites/aegir.ld/files/styles</code> to [success]
2770
Created <code>sites/aegir.ld/private/config</code> [success]
Changed permissions of <code>sites/aegir.ld/private/config</code> to [success]
2770
Created <code>sites/aegir.ld/private/config/active</code> [success]
Changed permissions of [success]
<code>sites/aegir.ld/private/config/active</code> to 2770
Created <code>sites/aegir.ld/private/config/staging</code> [success]
Changed permissions of [success]
<code>sites/aegir.ld/private/config/staging</code> to 2770
Changed group ownership of <code>sites/aegir.ld/files</code> to www [success]
Changed group ownership of <code>sites/aegir.ld/files/tmp</code> to [success]
www
Changed group ownership of <code>sites/aegir.ld/files/images</code> [success]
to www
Changed group ownership of <code>sites/aegir.ld/files/pictures</code>[success]
to www
Changed group ownership of <code>sites/aegir.ld/files/css</code> to [success]
www
Changed group ownership of <code>sites/aegir.ld/files/js</code> to [success]
www
Changed group ownership of <code>sites/aegir.ld/files/ctools</code> [success]
to www
Changed group ownership of [success]
<code>sites/aegir.ld/files/imagecache</code> to www
Changed group ownership of [success]
<code>sites/aegir.ld/files/locations</code> to www
Changed group ownership of <code>sites/aegir.ld/private</code> to www[success]
Changed group ownership of <code>sites/aegir.ld/private/files</code> [success]
to www
Changed group ownership of <code>sites/aegir.ld/private/temp</code> [success]
to www
Changed group ownership of <code>sites/aegir.ld/files/styles</code> [success]
to www
Changed group ownership of <code>sites/aegir.ld/private/config</code>[success]
to www
Changed group ownership of [success]
<code>sites/aegir.ld/private/config/active</code> to www
Changed group ownership of [success]
<code>sites/aegir.ld/private/config/staging</code> to www
Generated config A virtual host configuration file [success]
(/var/aegir/config/server_master/nginx/vhost.d/aegir.ld)
Generated config A Drupal settings.php file [success]
(/var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/settings.php)
Changed permissions of [success]
/var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/settings.php to 440
Change group ownership of [success]
/var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/settings.php to www
Platforms path /var/aegir/platforms exists. [success]
Platforms ownership of /var/aegir/platforms has been changed to [success]
palagpatski.
Platforms permissions of /var/aegir/platforms have been changed to [success]
755.
Platforms path /var/aegir/platforms is writable. [success]
Generated config A Site Drush configuration file [success]
(/var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/drushrc.php)
Changed permissions of [success]
/var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/drushrc.php to 440
Platforms path /var/aegir/platforms exists. [success]
Platforms ownership of /var/aegir/platforms has been changed to [success]
palagpatski.
Platforms permissions of /var/aegir/platforms have been changed to [success]
755.
Platforms path /var/aegir/platforms is writable. [success]
sendmail: fatal: open /etc/postfix/main.cf: No such file or directory
WD mail: Error sending e-mail (from webmaster@aegir.ld to [error]
webmaster@aegir.ld).
Changed permissions of <code>sites/aegir.ld</code> to 755 [success]
Changed permissions of <code>sites/aegir.ld/themes</code> to 2775 [success]
Changed permissions of <code>sites/aegir.ld/modules</code> to 2775 [success]
Changed permissions of <code>sites/aegir.ld/libraries</code> to 2775 [success]
Changed permissions of <code>sites/aegir.ld/files</code> to 2770 [success]
Changed permissions of <code>sites/aegir.ld/files/tmp</code> to 2770 [success]
Changed permissions of <code>sites/aegir.ld/files/images</code> to [success]
2770
Changed permissions of <code>sites/aegir.ld/files/pictures</code> to [success]
2770
Changed permissions of <code>sites/aegir.ld/files/css</code> to 2770 [success]
Changed permissions of <code>sites/aegir.ld/files/js</code> to 2770 [success]
Changed permissions of <code>sites/aegir.ld/files/ctools</code> to [success]
2770
Changed permissions of <code>sites/aegir.ld/files/imagecache</code> [success]
to 2770
Changed permissions of <code>sites/aegir.ld/files/locations</code> to[success]
2770
Changed permissions of <code>sites/aegir.ld/private</code> to 2770 [success]
Changed permissions of <code>sites/aegir.ld/private/files</code> to [success]
2770
Changed permissions of <code>sites/aegir.ld/private/temp</code> to [success]
2770
Changed permissions of <code>sites/aegir.ld/files/styles</code> to [success]
2770
Changed permissions of <code>sites/aegir.ld/private/config</code> to [success]
2770
Changed permissions of [success]
<code>sites/aegir.ld/private/config/active</code> to 2770
Changed permissions of [success]
<code>sites/aegir.ld/private/config/staging</code> to 2770
Changed group ownership of <code>sites/aegir.ld/files</code> to www [success]
Changed group ownership of <code>sites/aegir.ld/files/tmp</code> to [success]
www
Changed group ownership of <code>sites/aegir.ld/files/images</code> [success]
to www
Changed group ownership of <code>sites/aegir.ld/files/pictures</code>[success]
to www
Changed group ownership of <code>sites/aegir.ld/files/css</code> to [success]
www
Changed group ownership of <code>sites/aegir.ld/files/js</code> to [success]
www
Changed group ownership of <code>sites/aegir.ld/files/ctools</code> [success]
to www
Changed group ownership of [success]
<code>sites/aegir.ld/files/imagecache</code> to www
Changed group ownership of [success]
<code>sites/aegir.ld/files/locations</code> to www
Changed group ownership of <code>sites/aegir.ld/private</code> to www[success]
Changed group ownership of <code>sites/aegir.ld/private/files</code> [success]
to www
Changed group ownership of <code>sites/aegir.ld/private/temp</code> [success]
to www
Changed group ownership of <code>sites/aegir.ld/files/styles</code> [success]
to www
Changed group ownership of <code>sites/aegir.ld/private/config</code>[success]
to www
Changed group ownership of [success]
<code>sites/aegir.ld/private/config/active</code> to www
Changed group ownership of [success]
<code>sites/aegir.ld/private/config/staging</code> to www
Login url: [success]
http://aegir.ld/user/reset/1/1416456671/r1bbV_L-aKnVOJ0mio1wANdawr8DCEmXffJqH7xJZw4/login
sendmail: fatal: open /etc/postfix/main.cf: No such file or directory
WD mail: Error sending e-mail (from webmaster@aegir.ld to [error]
webmaster@aegir.ld).
Sent welcome mail to webmaster@aegir.ld [success]
Unable to send e-mail. Contact the site administrator if the problem [error]
persists.
Unable to send e-mail. Contact the site administrator if the problem [error]
persists.
Content permissions have been rebuilt. [status]
Enabling Hosting system feature. [status]
The 'aegir account manager' role was assigned the following [status]
permissions: 'access content', 'access user profiles'.
The 'aegir administrator' role was assigned the following [status]
permissions: 'access administration menu', 'access
content', 'view revisions', 'access user
profiles'.
The 'aegir client' role was assigned the following permissions: [status]
'access content', 'view revisions'.
The 'aegir platform manager' role was assigned the following [status]
permissions: 'access content', 'view revisions'.
Enabling Server administration feature. [status]
Enabling Nginx web servers feature. [status]
Creating master server node [status]
Creating db server node [status]
Configuring default blocks [status]
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 : 7.34
Site URI : aegir.ld
PHP executable : /usr/local/bin/php
PHP configuration : /usr/local/etc/php/5.5/php.ini
PHP OS : Darwin
Drush version : 7.0-dev
Drush temp : /tmp
directory
Drush configuration : /private/var/aegir/hostmaster-7.x-3.x/sit
es/aegir.ld/drushrc.php
/private/var/aegir/hostmaster-7.x-3.x/sit
es/all/drush/drushrc.php
Drush alias files : /Users/palagpatski/.drush/hm.alias.drushr
c.php
/Users/palagpatski/.drush/hostmaster.alia
s.drushrc.php
/Users/palagpatski/.drush/platform_hostma
ster.alias.drushrc.php
/Users/palagpatski/.drush/server_localhos
t.alias.drushrc.php
/Users/palagpatski/.drush/server_master.a
lias.drushrc.php
Drupal root : /private/var/aegir/hostmaster-7.x-3.x
Site path : sites/aegir.ld
Generated config A Drupal sites.php file [success]
(/var/aegir/hostmaster-7.x-3.x/sites/sites.php)
Changed permissions of /var/aegir/hostmaster-7.x-3.x/sites/sites.php [success]
to 644
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/files/css [success]
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/files/ctools [success]
directory successful.
Deleting [success]
/var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/files/imagecache
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/files/images [success]
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/files/js [success]
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/files/locations[success]
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/files/pictures [success]
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/files/styles [success]
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/files/tmp [success]
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/files directory[success]
successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/libraries [success]
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/modules [success]
directory successful.
Deleting [success]
/var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/private/config/active
directory successful.
Deleting [success]
/var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/private/config/staging
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/private/config [success]
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/private/files [success]
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/private/temp [success]
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/private [success]
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld/themes [success]
directory successful.
Deleting /var/aegir/hostmaster-7.x-3.x/sites/aegir.ld directory [success]
successful.
The drush command '@hostmaster provision-verify' could not be found. [error]
Run `drush cache-clear drush` to clear the commandfile cache if you
have installed new extensions.
A Drupal installation directory could not be found [error]
########
# Download and start hosting queue daemon launch agent..
########
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 608 0 608 0 0 68 0 --:--:-- 0:00:08 --:--:-- 175
/Users/palagpatski/Library/LaunchAgents/org.aegir.hosting.queued.plist: Operation already in progress
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 452 0 452 0 0 169 0 --:--:-- 0:00:02 --:--:-- 169
########
# Installing registry_rebuild drush module
########
Install location /Users/palagpatski/.drush/registry_rebuild already exists. Do you want to overwrite it? (y/n): y
Project registry_rebuild (7.x-2.2) downloaded to [success]
/Users/palagpatski/.drush/registry_rebuild.
Project registry_rebuild contains 0 modules: .
########
# Symlinking platforms to ~/Sites/Aegir..
########
########
# Enabling SSL for local sites..
########
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1739 0 1739 0 0 539 0 --:--:-- 0:00:03 --:--:-- 539
nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)
# Setting known network interfaces to use 127.0.0.1 for DNS lookups,this may throw errors, that's ok...
########
Password:
AirPort is not a recognized network service.
** Error: The parameters were not valid.
Thunderbolt Ethernet is not a recognized network service.
** Error: The parameters were not valid.
########
# Open your network settings now and confirm the DNS for
# your active device is set to 127.0.0.1, or else things
# will not work properly later in the script.
########
########
# Saving some instructional notes to ~/Desktop/YourAegirSetup.txt..
########
########
# Attempting to email it to you as well..
########
mail: You must specify direct recipients with -s, -c, or -b.
########
# The date.timezone value in /usr/local/etc/php/[version]/php.ini
# Is set to Melbourne/Australia
# You may want to change it to something that suits you better.
########
########
# Double check your network interfaces to ensure their DNS server
# is set to 127.0.0.1 as we only tried to set commonly named interfaces.
########
########
# Please say thanks @BrianGilbert_ http://twiter.com/BrianGilbert_
########
########
# Finished 2014-11-20 12:16:18
########
###fin###
aegir:~ palagpatski$ go55
Unlinking /usr/local/Cellar/php53/5.3.29... 0 symlinks removed
Unlinking /usr/local/Cellar/php54/5.4.35... 0 symlinks removed
Warning: Already linked: /usr/local/Cellar/php55/5.5.19
To relink: brew unlink php55 && brew link php55
nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)
Unlinking /usr/local/Cellar/php53/5.3.29... 0 symlinks removed
Unlinking /usr/local/Cellar/php54/5.4.35... 0 symlinks removed
Warning: Already linked: /usr/local/Cellar/php55/5.5.19
To relink: brew unlink php55 && brew link php55
nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)
aegir:~ palagpatski$ brew unlink php55 && brew link php55
Unlinking /usr/local/Cellar/php55/5.5.19... 42 symlinks removed
Linking /usr/local/Cellar/php55/5.5.19... 41 symlinks created
aegir:~ palagpatski$ nginx
nginx: [alert] could not open error log file: open() "/usr/local/var/log/nginx/error.log" failed (13: Permission denied)
2014/11/20 12:20:27 [warn] 6815#0: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /usr/local/etc/nginx/nginx.conf:3
2014/11/20 12:20:27 [emerg] 6815#0: open() "/usr/local/Cellar/nginx/1.6.2/logs/error.log" failed (13: Permission denied)
aegir:~ palagpatski$ sudo nginx
nginx: [emerg] zero size shared memory zone "gulag"
aegir:~ palagpatski$ ./aegir.sh
########
# Online, continuing 2014-11-20 12:59:52
########
# Checking /usr/local exists..
########
# This script is designed to be run by the primary account
# it has not been tested on a multi user setup.
########
# You will need the following information during this script:
# -a gmail account that is configured to allow remote smtp access
# -the password for the gmail account address
# -an email address to receive notifications from aegir
# -attention to what is being requested via the script
########
# You cannot use this script if you have macports installed
# so we will uninstall it automatically
########
# OS X's inbuilt apache uses port 80 if it's running we'll disable
# it for you during install so that nginx can run on port 80.
########
# Logging install process to file on desktop in case anything
# goes wrong during install, No passwords are logged..
########
########
# macports isn't installed continuing..
########
# Apache isn't active, continuing..
########
########
# Checking OS version..
########
# You're using 10.10, so let's go!
########
# You already have aegir installed..
########
# Should I backup some important bits then remove it?
# The option to re-install will be given after this. [Y/n]
########
y# You entered Y
########
# There is no turning back..
# This will uninstall aegir and all related homebrew components, are you sure? [Y/n]
########
y
########
# You entered Y
########
# Don't say I didn't warn you, cleaning everything..
########
# Stopping and deleting any services that are already installed..
########
Password:
Password:Sorry, try again.
########
# Uninstalling related brews..
########
Uninstalling /usr/local/Cellar/php53-geoip/1.0.8...
Uninstalling /usr/local/Cellar/php53-imagick/3.1.0RC2...
Uninstalling /usr/local/Cellar/php53-mcrypt/5.3.29...
Uninstalling /usr/local/Cellar/php53-uploadprogress/1.0.3.1...
Uninstalling /usr/local/Cellar/php53-xdebug/2.2.5...
Uninstalling /usr/local/Cellar/php53-xhprof/254eb24...
Uninstalling /usr/local/Cellar/php53/5.3.29...
Uninstalling /usr/local/Cellar/php54-geoip/1.0.8...
Uninstalling /usr/local/Cellar/php54-imagick/3.1.0RC2...
Uninstalling /usr/local/Cellar/php54-mcrypt/5.4.35...
Uninstalling /usr/local/Cellar/php54-uploadprogress/1.0.3.1...
Uninstalling /usr/local/Cellar/php54-xdebug/2.2.5...
Uninstalling /usr/local/Cellar/php54-xhprof/254eb24...
Uninstalling /usr/local/Cellar/php54/5.4.35...
Uninstalling /usr/local/Cellar/php55-geoip/1.0.8...
Uninstalling /usr/local/Cellar/php55-imagick/3.1.0RC2...
Uninstalling /usr/local/Cellar/php55-mcrypt/5.5.19...
Uninstalling /usr/local/Cellar/php55-uploadprogress/1.0.3.1...
Uninstalling /usr/local/Cellar/php55-xdebug/2.2.5...
Uninstalling /usr/local/Cellar/php55-xhprof/254eb24...
Uninstalling /usr/local/Cellar/php55/5.5.19...
Uninstalling /usr/local/Cellar/php-code-sniffer/1.5.5...
Uninstalling /usr/local/Cellar/drupal-code-sniffer/7.x-2.2...
Uninstalling /usr/local/Cellar/phpunit/4.3.4...
Uninstalling /usr/local/Cellar/re2c/0.13.7.5...
Uninstalling /usr/local/Cellar/flex/2.5.37...
Uninstalling /usr/local/Cellar/bison27/2.7.1...
Uninstalling /usr/local/Cellar/libevent/2.0.21_1...
Uninstalling /usr/local/Cellar/openssl/1.0.1j...
Uninstalling /usr/local/Cellar/solr/4.10.2...
Uninstalling /usr/local/Cellar/nginx/1.6.2...
Uninstalling /usr/local/Cellar/pcre/8.36...
Uninstalling /usr/local/Cellar/geoip/1.6.3...
Uninstalling /usr/local/Cellar/dnsmasq/2.72...
AirPort is not a recognized network service.
** Error: The parameters were not valid.
Thunderbolt Ethernet is not a recognized network service.
** Error: The parameters were not valid.
mv: rename /etc/resolver/default to /Users/palagpatski/Desktop/aegir-install-backup-2014-11-20.12.59.52/resolver.default: No such file or directory
AirPort is not a recognized network service.
** Error: The parameters were not valid.
Thunderbolt Ethernet is not a recognized network service.
** Error: The parameters were not valid.
# Removing previous drush installation, this may error..
########
Uninstalling /usr/local/Cellar/composer/1.0.0-alpha8...
Error: No such keg: /usr/local/Cellar/drush
Uninstalling /usr/local/Cellar/gzip/1.6...
Uninstalling /usr/local/Cellar/wget/1.16...
# Removing related configurations..
########
mv: rename /etc/postfix/sasl_passwd to /Users/palagpatski/Desktop/aegir-install-backup-2014-11-20.12.59.52/postfix.sasl_passwd: No such file or directory
mv: rename /etc/postfix/main.cf to /Users/palagpatski/Desktop/aegir-install-backup-2014-11-20.12.59.52/postfix.main.cf: No such file or directory
cp: /etc/postfix/main.cf.orig: No such file or directory
rm: /Users/palagpatski/.forward: No such file or directory
# Do you want to backup all existing databases?
# If you say no here make sure you have backups from your databases.
# Answer [Y/n]
########
y
# What is your current MariaDB root password?
########
foodhouse
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/bin/mysql
Reason: image not found
########
# Now removing mariadb and all databases..
########
Uninstalling /usr/local/Cellar/mariadb/10.0.14_1...
mv: rename /usr/local/etc/my-drupal.cnf to /Users/palagpatski/Desktop/aegir-install-backup-2014-11-20.12.59.52/my-drupal.cnf: No such file or directory
mv: rename /etc/my.cnf to /Users/palagpatski/Desktop/aegir-install-backup-2014-11-20.12.59.52/etc.my.cnf: No such file or directory
Uninstalling /usr/local/Cellar/autoconf/2.69...
Uninstalling /usr/local/Cellar/cmake/3.0.2...
Uninstalling /usr/local/Cellar/curl/7.39.0...
Uninstalling /usr/local/Cellar/freetype/2.5.3_1...
Uninstalling /usr/local/Cellar/gettext/0.19.3_1...
Uninstalling /usr/local/Cellar/gmp/6.0.0a...
Error: No such keg: /usr/local/Cellar/gzip
Uninstalling /usr/local/Cellar/imagemagick/6.8.9-8...
Uninstalling /usr/local/Cellar/imap-uw/2007f...
Uninstalling /usr/local/Cellar/jpeg/8d...
Uninstalling /usr/local/Cellar/libpng/1.6.14...
Uninstalling /usr/local/Cellar/libtool/2.4.2...
Uninstalling /usr/local/Cellar/mcrypt/2.6.8...
Uninstalling /usr/local/Cellar/pkg-config/0.28...
Uninstalling /usr/local/Cellar/unixodbc/2.3.2_1...
Uninstalling /usr/local/Cellar/zlib/1.2.8...
Uninstalling /usr/local/Cellar/apple-gcc42/4.2.1-5666.3...
# Renaming your Aegir folder to /var/aegir.pre-uninstall-TI-ME-ST-AM-P....
########
# would you now like to re-install Aegir? [Y/n]
########
n
########
# You entered N
########
###fin###
aegir:~ palagpatski$
[Restored]
Last login: Thu Nov 20 13:05:51 on console
aegir:~ palagpatski$ cd ~
aegir:~ palagpatski$ curl -O https://raw.githubusercontent.com/BrianGilbert/OSXAegirInstaller/master/aegir.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 46503 100 46503 0 0 10332 0 0:00:04 0:00:04 --:--:-- 10334
aegir:~ palagpatski$ chmod +x aegir.sh
aegir:~ palagpatski$ ./aegir.sh
########
# Online, continuing 2014-11-20 13:08:27
########
# Checking /usr/local exists..
########
# This script is designed to be run by the primary account
# it has not been tested on a multi user setup.
########
# You will need the following information during this script:
# -a gmail account that is configured to allow remote smtp access
# -the password for the gmail account address
# -an email address to receive notifications from aegir
# -attention to what is being requested via the script
########
# You cannot use this script if you have macports installed
# so we will uninstall it automatically
########
# OS X's inbuilt apache uses port 80 if it's running we'll disable
# it for you during install so that nginx can run on port 80.
########
# Logging install process to file on desktop in case anything
# goes wrong during install, No passwords are logged..
########
########
# macports isn't installed continuing..
########
# Apache isn't active, continuing..
########
########
# Checking OS version..
########
# You're using 10.10, so let's go!
########
########
# Checking if Homebrew is installed..
########
########
# Affirmative! Let's make sure everything is up to date..
# Just so you know, this may throw a few warnings..
########
Pruned 0 dead formulae
Tapped 617 formulae
Pruned 2 symbolic links and 4 directories from /usr/local
Updated Homebrew from ca596f63 to d4c8f29b.
==> Updated Formulae
capstone
ccache
homebrew/dupes/groff
homebrew/php/php53-xdebug
homebrew/php/php54-xdebug
homebrew/php/php55-xdebug
homebrew/php/php56-xdebug
icecast
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
php55
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:
brew install freetype gettext jpeg libpng unixodbc zlib
Run `brew missing` for more details.
########
# Homebrew needs some work, exiting
###########fin###
aegir:~ palagpatski$ brew install freetype gettext jpeg libpng unixodbc zlib
==> Installing freetype dependency: libpng
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libpng-1.6.
Already downloaded: /Library/Caches/Homebrew/libpng-1.6.14.yosemite.bottle.tar.gz
==> Pouring libpng-1.6.14.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/libpng/1.6.14: 17 files, 1.2M
==> Installing freetype
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/freetype-2.
Already downloaded: /Library/Caches/Homebrew/freetype-2.5.3_1.yosemite.bottle.1.tar.gz
==> Pouring freetype-2.5.3_1.yosemite.bottle.1.tar.gz
🍺 /usr/local/Cellar/freetype/2.5.3_1: 60 files, 2.5M
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gettext-0.1
Already downloaded: /Library/Caches/Homebrew/gettext-0.19.3_1.yosemite.bottle.tar.gz
==> Pouring gettext-0.19.3_1.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X provides similar software, and installing this software in
parallel can cause all kinds of trouble.
OS X provides the BSD gettext library and some software gets confused if both are in the library path.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/gettext/lib
CPPFLAGS: -I/usr/local/opt/gettext/include
==> Summary
🍺 /usr/local/Cellar/gettext/0.19.3_1: 1920 files, 21M
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/jpeg-8d.yos
Already downloaded: /Library/Caches/Homebrew/jpeg-8d.yosemite.bottle.2.tar.gz
==> Pouring jpeg-8d.yosemite.bottle.2.tar.gz
🍺 /usr/local/Cellar/jpeg/8d: 18 files, 776K
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/unixodbc-2.
Already downloaded: /Library/Caches/Homebrew/unixodbc-2.3.2_1.yosemite.bottle.1.tar.gz
==> Pouring unixodbc-2.3.2_1.yosemite.bottle.1.tar.gz
🍺 /usr/local/Cellar/unixodbc/2.3.2_1: 31 files, 1.0M
==> Installing zlib from homebrew/homebrew-dupes
==> Downloading http://zlib.net/zlib-1.2.8.tar.gz
Already downloaded: /Library/Caches/Homebrew/zlib-1.2.8.tar.gz
==> Patching
patching file configure
==> ./configure --prefix=/usr/local/Cellar/zlib/1.2.8
==> make install
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/zlib/lib
CPPFLAGS: -I/usr/local/opt/zlib/include
==> Summary
🍺 /usr/local/Cellar/zlib/1.2.8: 9 files, 392K, built in 8 seconds
aegir:~ palagpatski$ brew missing
aegir:~ palagpatski$ ./aegir.sh
########
# Online, continuing 2014-11-20 13:11:36
########
# Checking /usr/local exists..
########
# This script is designed to be run by the primary account
# it has not been tested on a multi user setup.
########
# You will need the following information during this script:
# -a gmail account that is configured to allow remote smtp access
# -the password for the gmail account address
# -an email address to receive notifications from aegir
# -attention to what is being requested via the script
########
# You cannot use this script if you have macports installed
# so we will uninstall it automatically
########
# OS X's inbuilt apache uses port 80 if it's running we'll disable
# it for you during install so that nginx can run on port 80.
########
# Logging install process to file on desktop in case anything
# goes wrong during install, No passwords are logged..
########
########
# macports isn't installed continuing..
########
# Apache isn't active, continuing..
########
########
# Checking OS version..
########
# You're using 10.10, so let's go!
########
########
# Checking if Homebrew is installed..
########
########
# Affirmative! Let's make sure everything is up to date..
# Just so you know, this may throw a few warnings..
########
Pruned 0 dead formulae
Tapped 617 formulae
Already up-to-date.
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
php55
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
brew link########
# Homebrew needs some work, exiting
###########fin###
aegir:~ palagpatski$ brew link php55
Linking /usr/local/Cellar/php55/5.5.19... 0 symlinks created
aegir:~ palagpatski$ ./aegir.sh
########
# Online, continuing 2014-11-20 13:13:34
########
# Checking /usr/local exists..
########
# This script is designed to be run by the primary account
# it has not been tested on a multi user setup.
########
# You will need the following information during this script:
# -a gmail account that is configured to allow remote smtp access
# -the password for the gmail account address
# -an email address to receive notifications from aegir
# -attention to what is being requested via the script
########
# You cannot use this script if you have macports installed
# so we will uninstall it automatically
########
# OS X's inbuilt apache uses port 80 if it's running we'll disable
# it for you during install so that nginx can run on port 80.
########
# Logging install process to file on desktop in case anything
# goes wrong during install, No passwords are logged..
########
########
# macports isn't installed continuing..
########
# Apache isn't active, continuing..
########
########
# Checking OS version..
########
# You're using 10.10, so let's go!
########
########
# Checking if Homebrew is installed..
########
########
# Affirmative! Let's make sure everything is up to date..
# Just so you know, this may throw a few warnings..
########
Pruned 0 dead formulae
Tapped 617 formulae
Already up-to-date.
Your system is ready to brew.
########
# Homebrew in order, continuing
########
########
# Doing some setup ready for Aegir install..
########
Password:
# Your hostname will be set to aegir.ld
########
# Install the developmental version of Aegir (7.x-3.x)? [Y/n]:
########
y
########
# I can install multiple versions of PHP; 5.3, 5.4 and/or 5.5.
# Let me know which versions you'd like installed.
# Set up PHP 5.3 [Y/n]:
########
y# You entered Y
########
########
# Make PHP 5.3 the default [Y/n]:
########
n# You entered N
########
########
# Set up PHP 5.4 [Y/n]:
########
y# You entered Y
########
########
# Make PHP 5.4 the default [Y/n]:
########
n# You entered N
########
########
# Set up PHP 5.5 [Y/n]:
########
y# You entered Y
########
########
# Make PHP 5.5 the default [Y/n]:
########
y# You entered Y
########
########
# I can also setup ApacheSolr which is best used in conjunction with:
# https://drupal.org/project/search_api_solr
# Set up solr [Y/n]:
########
y# You entered Y
########
########
# Do you want solr to run automatically on boot [Y/n]:
########
y# You entered Y
########
########
# Now we'll tap some extra kegs we need..
########
Warning: Already tapped!
Warning: Already tapped!
Warning: Already tapped!
Already up-to-date.
Your system is ready to brew.
# Installing required brew formulae..
########
# Installing gcc..
########
==> Installing apple-gcc42 from homebrew/homebrew-dupes
==> Downloading http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg
Already downloaded: /Library/Caches/Homebrew/apple-gcc42-4.2.1-5666.3.pkg
==> /bin/pax --insecure -rz -f usr.pkg/Payload -s ,./usr,/usr/local/Cellar/apple-gcc42/4.2.1-5666.3,
==> Caveats
NOTE:
This formula provides components that were removed from XCode in the 4.2
release. There is no reason to install this formula if you are using a
version of XCode prior to 4.2.
This formula contains compilers built from Apple's GCC sources, build
5666.3, available from:
http://opensource.apple.com/tarballs/gcc
All compilers have a `-4.2` suffix. A GFortran compiler is also included.
==> Summary
🍺 /usr/local/Cellar/apple-gcc42/4.2.1-5666.3: 104 files, 75M, built in 5 seconds
########
# Installing wget..
########
==> Installing wget dependency: openssl
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/openssl-1.0.1j.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/openssl-1.0.1j.yosemite.bottle.tar.gz
==> Pouring openssl-1.0.1j.yosemite.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
==> Summary
🍺 /usr/local/Cellar/openssl/1.0.1j: 431 files, 15M
==> Installing wget
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/wget-1.16.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/wget-1.16.yosemite.bottle.tar.gz
==> Pouring wget-1.16.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/wget/1.16: 9 files, 920K
########
# Installing gzip..
########
==> Installing gzip from homebrew/homebrew-dupes
==> Downloading http://ftpmirror.gnu.org/gzip/gzip-1.6.tar.gz
Already downloaded: /Library/Caches/Homebrew/gzip-1.6.tar.gz
==> Downloading http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/gzip/gzip-rsyncable.patch?revision=1.4&view=co
Already downloaded: /Library/Caches/Homebrew/gzip--patch-e59c60fcb8a70a8ef2884a624e439b0b6d9b5ace.4&view=co
==> Patching
patching file deflate.c
patching file gzip.c
Hunk #1 succeeded at 215 (offset 2 lines).
Hunk #2 succeeded at 276 (offset 5 lines).
Hunk #3 succeeded at 361 (offset 6 lines).
Hunk #4 succeeded at 493 (offset 8 lines).
patching file gzip.h
patching file doc/gzip.texi
Hunk #1 succeeded at 358 with fuzz 2 (offset 24 lines).
patching file trees.c
Hunk #1 succeeded at 59 (offset 13 lines).
Hunk #2 succeeded at 857 (offset 9 lines).
Hunk #3 succeeded at 953 (offset 10 lines).
==> ./configure --prefix=/usr/local/Cellar/gzip/1.6
==> make install
🍺 /usr/local/Cellar/gzip/1.6: 33 files, 404K, built in 38 seconds
########
# Installing libpng..
########
Warning: libpng-1.6.14 already installed
########
# Installing dnsmasq..
########
==> Installing dnsmasq dependency: pkg-config
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pkg-config-0.28.yosemite.bottle.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/pkg-config-0.28.yosemite.bottle.2.tar.gz
==> Pouring pkg-config-0.28.yosemite.bottle.2.tar.gz
🍺 /usr/local/Cellar/pkg-config/0.28: 10 files, 612K
==> Installing dnsmasq
==> Downloading http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.72.tar.gz
Already downloaded: /Library/Caches/Homebrew/dnsmasq-2.72.tar.gz
==> make install PREFIX=/usr/local/Cellar/dnsmasq/2.72
==> Caveats
To configure dnsmasq, copy the example configuration to /usr/local/etc/dnsmasq.conf
and edit to taste.
cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
To have launchd start dnsmasq at startup:
sudo cp -fv /usr/local/opt/dnsmasq/*.plist /Library/LaunchDaemons
sudo chown root /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
Then to load dnsmasq now:
sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
==> Summary
🍺 /usr/local/Cellar/dnsmasq/2.72: 7 files, 496K, built in 6 seconds
########
# Configuring dnsmasq..
########
########
# Setting up wildcard DNS so that domains ending in dot ld will resolve to your local machine
# Setting dnsmasq config..
########
# Setting OpenDNS and Google DNS servers as fallbacks..
########
Password:
########
# Making local domains resolve when your disconnected from net..
########
# Setting hostname to aegir.ld
########
# Copying dnsmasq launch daemon into place..
########
# Starting dnsmasq..
########
########
# Installing nginx..
########
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pcre-8.36.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/pcre-8.36.yosemite.bottle.tar.gz
==> Pouring pcre-8.36.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/pcre/8.36: 146 files, 5.9M
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/geoip-1.6.3.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/geoip-1.6.3.yosemite.bottle.tar.gz
==> Pouring geoip-1.6.3.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/geoip/1.6.3: 17 files, 740K
==> Downloading http://nginx.org/download/nginx-1.6.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/nginx-1.6.2.tar.gz
==> ./configure --prefix=/usr/local/Cellar/nginx/1.6.2 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx/1.6.2/bin/nginx --with-cc-opt=-I/usr/local/Cellar/pcre/8.36/include -I/usr/local/Cellar/openssl/1.0.1j/include --with-ld-opt=-L/usr/local/Cellar/pcre/8.36/lib -L/usr/local/Cellar/openssl/1.0.1j/lib --conf-path=/usr/local/etc/nginx/nginx.conf --pid-path=/usr/local/var/run/nginx.pid --lock-path=/usr/local/var/run/nginx.lock --http-client-body-temp-path=/usr/local/var/run/nginx/client_body_temp --http-proxy-temp-path=/usr/local/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/usr/local/var/run/nginx/fastcgi_temp --http-uwsgi-temp-path=/usr/local/var/run/nginx/uwsgi_temp --http-scgi-temp-path=/usr/local/var/run/nginx/scgi_temp --http-log-path=/usr/local/var/log/nginx/access.log --error-log-path=/usr/local/var/log/nginx/error.log --with-http_gzip_static_module --with-debug --with-http_spdy_module
==> make
==> make install
==> Caveats
Docroot is: /usr/local/var/www
The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that
nginx can run without sudo.
To have launchd start nginx at login:
ln -sfv /usr/local/opt/nginx/*.plist ~/Library/LaunchAgents
Then to load nginx now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
Or, if you don't want/need launchctl, you can just run:
nginx
==> Summary
🍺 /usr/local/Cellar/nginx/1.6.2: 7 files, 1004K, built in 25 seconds
########
# Configuring nginx..
########
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 763 0 763 0 0 414 0 --:--:-- 0:00:01 --:--:-- 414
Password:
########
# Installing mariadb..
########
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cmake-3.0.2.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/cmake-3.0.2.yosemite.bottle.tar.gz
==> Pouring cmake-3.0.2.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/cmake/3.0.2: 1641 files, 26M
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mariadb-10.0.14_1.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/mariadb-10.0.14_1.yosemite.bottle.tar.gz
==> Pouring mariadb-10.0.14_1.yosemite.bottle.tar.gz
==> Caveats
A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.
To connect:
mysql -uroot
To have launchd start mariadb at login:
ln -sfv /usr/local/opt/mariadb/*.plist ~/Library/LaunchAgents
Then to load mariadb now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
Or, if you don't want/need launchctl, you can just run:
mysql.server start
==> /usr/local/Cellar/mariadb/10.0.14_1/bin/mysql_install_db --verbose --user=palagpatski --basedir=/usr/local/Cellar/mariadb/10.0.14_1 --datadir=/usr/local/var/mysql --tmpdir=/tmp
mysql -uroot
==> Summary
🍺 /usr/local/Cellar/mariadb/10.0.14_1: 524 files, 125M
########
# Configuring mariadb..
########
Installing MariaDB/MySQL system tables in '/usr/local/var/mysql' ...
141120 13:19:05 [Note] InnoDB: Using mutexes to ref count buffer pool pages
141120 13:19:05 [Note] InnoDB: The InnoDB memory heap is disabled
141120 13:19:05 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
141120 13:19:05 [Note] InnoDB: Memory barrier is not used
141120 13:19:05 [Note] InnoDB: Compressed tables use zlib 1.2.5
141120 13:19:05 [Note] InnoDB: Using CPU crc32 instructions
141120 13:19:05 [Note] InnoDB: Initializing buffer pool, size = 128.0M
141120 13:19:05 [Note] InnoDB: Completed initialization of buffer pool
141120 13:19:05 [Note] InnoDB: Highest supported file format is Barracuda.
141120 13:19:05 [Note] InnoDB: 128 rollback segment(s) are active.
141120 13:19:05 [Note] InnoDB: Waiting for purge to start
141120 13:19:05 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.20-68.0 started; log sequence number 1616707
141120 13:19:12 [Note] InnoDB: FTS optimize thread exiting.
141120 13:19:12 [Note] InnoDB: Starting shutdown...
141120 13:19:14 [Note] InnoDB: Shutdown completed; log sequence number 1616717
OK
Filling help tables...
141120 13:19:15 [Note] InnoDB: Using mutexes to ref count buffer pool pages
141120 13:19:15 [Note] InnoDB: The InnoDB memory heap is disabled
141120 13:19:15 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
141120 13:19:15 [Note] InnoDB: Memory barrier is not used
141120 13:19:15 [Note] InnoDB: Compressed tables use zlib 1.2.5
141120 13:19:15 [Note] InnoDB: Using CPU crc32 instructions
141120 13:19:15 [Note] InnoDB: Initializing buffer pool, size = 128.0M
141120 13:19:15 [Note] InnoDB: Completed initialization of buffer pool
141120 13:19:15 [Note] InnoDB: Highest supported file format is Barracuda.
141120 13:19:15 [Note] InnoDB: 128 rollback segment(s) are active.
141120 13:19:15 [Note] InnoDB: Waiting for purge to start
141120 13:19:15 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.20-68.0 started; log sequence number 1616717
141120 13:19:15 [Note] InnoDB: FTS optimize thread exiting.
141120 13:19:15 [Note] InnoDB: Starting shutdown...
141120 13:19:17 [Note] InnoDB: Shutdown completed; log sequence number 1616727
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:
'/usr/local/opt/mariadb/bin/mysqladmin' -u root password 'new-password'
'/usr/local/opt/mariadb/bin/mysqladmin' -u root -h aegir.ld password 'new-password'
Alternatively you can run:
'/usr/local/opt/mariadb/bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.
You can start the MariaDB daemon with:
cd '/usr/local/opt/mariadb' ; /usr/local/opt/mariadb/bin/mysqld_safe --datadir='/usr/local/var/mysql'
You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/local/opt/mariadb/mysql-test' ; perl mysql-test-run.pl
Please report any problems at http://mariadb.org/jira
The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Support MariaDB development by buying support/new features from
SkySQL Ab. You can contact us about this at sales@skysql.com.
Alternatively consider joining our community based development effort:
http://mariadb.com/kb/en/contributing-to-the-mariadb-project/
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4943 0 4943 0 0 1051 0 --:--:-- 0:00:04 --:--:-- 1099
########
# Installing php55..
########
Warning: php55-5.5.19 already installed
==> Installing php55-geoip from homebrew/homebrew-php
==> Installing dependencies for php55-geoip: autoconf, libtool
==> Installing php55-geoip dependency: autoconf
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/autoconf-2.69.yosemite.bottle.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/autoconf-2.69.yosemite.bottle.1.tar.gz
==> Pouring autoconf-2.69.yosemite.bottle.1.tar.gz
🍺 /usr/local/Cellar/autoconf/2.69: 70 files, 3.1M
==> Installing php55-geoip dependency: libtool
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libtool-2.4.2.yosemite.bottle.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/libtool-2.4.2.yosemite.bottle.3.tar.gz
==> Pouring libtool-2.4.2.yosemite.bottle.3.tar.gz
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
==> Summary
🍺 /usr/local/Cellar/libtool/2.4.2: 69 files, 2.5M
==> Installing php55-geoip
==> Downloading http://pecl.php.net/get/geoip-1.0.8.tgz
Already downloaded: /Library/Caches/Homebrew/php55-geoip-1.0.8.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
2014-11-20 13:19:26 +0800
PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
sh: /usr/local/Cellar/php55/5.5.19/bin/phpize: No such file or directory
READ THIS: http://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-php/issues
==> Installing php55-imagick from homebrew/homebrew-php
==> Installing php55-imagick dependency: imagemagick
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/imagemagick-6.8.9-8.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/imagemagick-6.8.9-8.yosemite.bottle.tar.gz
==> Pouring imagemagick-6.8.9-8.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/imagemagick/6.8.9-8: 1433 files, 22M
==> Installing php55-imagick
==> Downloading http://pecl.php.net/get/imagick-3.1.0RC2.tgz
Already downloaded: /Library/Caches/Homebrew/php55-imagick-3.1.0RC2.tgz
==> Patching
patching file imagick-3.1.0RC2/config.m4
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
2014-11-20 13:19:36 +0800
PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
sh: /usr/local/Cellar/php55/5.5.19/bin/phpize: No such file or directory
READ THIS: http://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-php/issues
==> Installing php55-mcrypt from homebrew/homebrew-php
==> Installing php55-mcrypt dependency: mcrypt
==> Downloading https://downloads.sourceforge.net/project/mcrypt/MCrypt/2.6.8/mcrypt-2.6.8.tar.gz
Already downloaded: /Library/Caches/Homebrew/mcrypt-2.6.8.tar.gz
==> Patching
patching file src/rfc2440.c
==> Downloading https://downloads.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz
Already downloaded: /Library/Caches/Homebrew/mcrypt--libmcrypt-2.5.8.tar.gz
==> ./configure --prefix=/usr/local/Cellar/mcrypt/2.6.8 --mandir=/usr/local/Cellar/mcrypt/2.6.8/share/man
==> make install
==> ./configure --prefix=/usr/local/Cellar/mcrypt/2.6.8 --with-libmcrypt-prefix=/usr/local/Cellar/mcrypt/2.6.8 --mandir=/usr/local/Cellar/mcrypt/2.6.8/share/man
==> make install
🍺 /usr/local/Cellar/mcrypt/2.6.8: 15 files, 456K, built in 52 seconds
==> Installing php55-mcrypt
==> Downloading https://www.php.net/get/php-5.5.19.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php55-mcrypt-5.5.19
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
2014-11-20 13:20:44 +0800
PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
sh: /usr/local/Cellar/php55/5.5.19/bin/phpize: No such file or directory
READ THIS: http://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-php/issues
==> Installing php55-uploadprogress from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/uploadprogress-1.0.3.1.tgz
Already downloaded: /Library/Caches/Homebrew/php55-uploadprogress-1.0.3.1.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
2014-11-20 13:20:50 +0800
PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
sh: /usr/local/Cellar/php55/5.5.19/bin/phpize: No such file or directory
READ THIS: http://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-php/issues
==> Installing php55-xdebug from homebrew/homebrew-php
==> Downloading http://xdebug.org/files/xdebug-2.2.6.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
2014-11-20 13:21:00 +0800
PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
sh: /usr/local/Cellar/php55/5.5.19/bin/phpize: No such file or directory
READ THIS: http://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-php/issues
==> Installing php55-xhprof from homebrew/homebrew-php
==> Downloading https://github.com/facebook/xhprof/archive/254eb24dcfa763c76c57b472093ebc4b81af2b7d.tar.gz
Already downloaded: /Library/Caches/Homebrew/php55-xhprof-254eb24.tar.gz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
2014-11-20 13:21:02 +0800
PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
sh: /usr/local/Cellar/php55/5.5.19/bin/phpize: No such file or directory
READ THIS: http://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-php/issues
########
# Configuring php55..
########
sed: /usr/local/etc/php/5.5/php.ini: No such file or directory
sed: /usr/local/etc/php/5.5/php.ini: No such file or directory
sed: /usr/local/etc/php/5.5/php.ini: No such file or directory
sed: /usr/local/etc/php/5.5/php.ini: No such file or directory
sed: /usr/local/etc/php/5.5/php.ini: No such file or directory
sed: /usr/local/etc/php/5.5/php.ini: No such file or directory
sed: /usr/local/etc/php/5.5/php-fpm.conf: No such file or directory
./aegir.sh: line 666: /usr/local/etc/php/5.5/conf.d/ext-xdebug.ini: No such file or directory
Password:
Sorry, try again.
Password:
cp: /usr/local/opt/php55/homebrew.mxcl.php55.plist: No such file or directory
Unlinking /usr/local/Cellar/php55/5.5.19... 0 symlinks removed
########
# Installing php54..
########
==> Installing php54 from homebrew/homebrew-php
==> Installing dependencies for php54: curl, gmp, imap-uw
==> Installing php54 dependency: curl
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/curl-7.39.0.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/curl-7.39.0.yosemite.bottle.tar.gz
==> Pouring curl-7.39.0.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/curl/lib
CPPFLAGS: -I/usr/local/opt/curl/include
==> Summary
🍺 /usr/local/Cellar/curl/7.39.0: 298 files, 2.9M
==> Installing php54 dependency: gmp
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gmp-6.0.0a.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/gmp-6.0.0a.yosemite.bottle.tar.gz
==> Pouring gmp-6.0.0a.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/gmp/6.0.0a: 15 files, 3.2M
==> Installing php54 dependency: imap-uw
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/imap-uw-2007f.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/imap-uw-2007f.yosemite.bottle.tar.gz
==> Pouring imap-uw-2007f.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/imap-uw/2007f: 150 files, 9.5M
==> Installing php54
==> Downloading https://www.php.net/get/php-5.4.35.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php54-5.4.35
Warning: Backing up all known pear.conf and .pearrc files
Warning: If you have a pre-existing pear install outside
of homebrew-php, or you are using a non-standard
pear.conf location, installation may fail.
==> ./configure --prefix=/usr/local/Cellar/php54/5.4.35 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.4 --with-config-file-path=/usr/local/etc/php/5.4 --with-config-file-scan-dir=/usr/local/etc/php/5.4/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-intl --enable-soap --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-bcmath --enable-calendar --with-zlib=/usr/local/opt/zlib --with-ldap --with-ldap-sasl=/usr --with-xmlrpc --with-kerberos=/usr --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/local/opt/freetype --with-icu-dir=/usr/local/opt/icu4c --with-jpeg-dir=/usr/local/opt/jpeg --with-png-dir=/usr/local/opt/libpng --with-gettext=/usr/local/opt/gettext --with-libedit --with-unixODBC=/usr/local/opt/unixodbc --with-pdo-odbc=unixODBC,/usr/local/opt/unixodbc --mandir=/usr/local/Cellar/php54/5.4.35/share/man --with-mhash --with-curl=/usr/local/opt/curl --without-snmp --with-bz2=/usr --with-openssl=/usr/local/opt/openssl --with-xsl=/usr/local/opt/libxslt --enable-fastcgi --enable-fpm --with-fpm-user=_www --with-fpm-group=_www --with-gmp=/usr/local/opt/gmp --with-imap=/usr/local/opt/imap-uw --with-imap-ssl=/usr/local/opt/openssl --with-mysql-sock=/tmp/mysql.sock --with-mysqli=mysqlnd --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --enable-pcntl --enable-zend-signals --enable-dtrace
==> make
==> make install
==> /usr/local/Cellar/php54/5.4.35/bin/pear config-set php_ini /usr/local/etc/php/5.4/php.ini
==> Caveats
The php.ini file can be found in:
/usr/local/etc/php/5.4/php.ini
✩✩✩✩ PEAR ✩✩✩✩
If PEAR complains about permissions, 'fix' the default PEAR permissions and config:
chmod -R ug+w /usr/local/Cellar/php54/5.4.35/lib/php
pear config-set php_ini /usr/local/etc/php/5.4/php.ini
✩✩✩✩ Extensions ✩✩✩✩
If you are having issues with custom extension compiling, ensure that
you are using the brew version, by placing /usr/local/bin before /usr/sbin in your PATH:
PATH="/usr/local/bin:$PATH"
PHP54 Extensions will always be compiled against this PHP. Please install them
using --without-homebrew-php to enable compiling against system PHP.
✩✩✩✩ PHP CLI ✩✩✩✩
If you wish to swap the PHP you use on the command line, you should add the following to ~/.bashrc,
~/.zshrc, ~/.profile or your shell's equivalent configuration file:
export PATH="$(brew --prefix homebrew/php/php54)/bin:$PATH"
✩✩✩✩ FPM ✩✩✩✩
To launch php-fpm on startup:
* If this is your first install:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/php54/5.4.35/homebrew.mxcl.php54.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php54.plist
* If this is an upgrade and you already have the homebrew.mxcl.php54.plist loaded:
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php54.plist
cp /usr/local/Cellar/php54/5.4.35/homebrew.mxcl.php54.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php54.plist
The control script is located at /usr/local/Cellar/php54/5.4.35/sbin/php54-fpm
Mountain Lion comes with php-fpm pre-installed, to ensure you are using the brew version you need to make sure /usr/local/sbin is before /usr/sbin in your PATH:
PATH="/usr/local/sbin:$PATH"
You may also need to edit the plist to use the correct "UserName".
Please note that the plist was called 'homebrew-php.josegonzalez.php54.plist' in old versions
of this formula.
To have launchd start php54 at login:
ln -sfv /usr/local/opt/php54/*.plist ~/Library/LaunchAgents
Then to load php54 now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php54.plist
==> Summary
🍺 /usr/local/Cellar/php54/5.4.35: 493 files, 41M, built in 5.2 minutes
==> Installing php54-geoip from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/geoip-1.0.8.tgz
Already downloaded: /Library/Caches/Homebrew/php54-geoip-1.0.8.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php54/5.4.35/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-geoip/1.0.8 --with-php-config=/usr/local/Cellar/php54/5.4.35/bin/php-config --with-geoip=/usr/local/opt/geoip
==> make
==> Caveats
To finish installing geoip for PHP 5.4:
* /usr/local/etc/php/5.4/conf.d/ext-geoip.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the geoip module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the geoip module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php54-geoip/1.0.8: 4 files, 36K, built in 9 seconds
==> Installing php54-imagick from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/imagick-3.1.0RC2.tgz
Already downloaded: /Library/Caches/Homebrew/php54-imagick-3.1.0RC2.tgz
==> Patching
patching file imagick-3.1.0RC2/config.m4
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php54/5.4.35/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-imagick/3.1.0RC2 --with-php-config=/usr/local/Cellar/php54/5.4.35/bin/php-config
==> make
==> Caveats
To finish installing imagick for PHP 5.4:
* /usr/local/etc/php/5.4/conf.d/ext-imagick.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the imagick module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the imagick module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php54-imagick/3.1.0RC2: 4 files, 376K, built in 11 seconds
==> Installing php54-mcrypt from homebrew/homebrew-php
==> Downloading https://www.php.net/get/php-5.4.35.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php54-mcrypt-5.4.35
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php54/5.4.35/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-mcrypt/5.4.35 --with-php-config=/usr/local/Cellar/php54/5.4.35/bin/php-config --with-mcrypt=/usr/local/opt/mcrypt
==> make
==> Caveats
To finish installing mcrypt for PHP 5.4:
* /usr/local/etc/php/5.4/conf.d/ext-mcrypt.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the mcrypt module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the mcrypt module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php54-mcrypt/5.4.35: 3 files, 56K, built in 21 seconds
==> Installing php54-uploadprogress from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/uploadprogress-1.0.3.1.tgz
Already downloaded: /Library/Caches/Homebrew/php54-uploadprogress-1.0.3.1.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php54/5.4.35/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-uploadprogress/1.0.3.1 --with-php-config=/usr/local/Cellar/php54/5.4.35/bin/php-config
==> make
==> Caveats
To finish installing uploadprogress for PHP 5.4:
* /usr/local/etc/php/5.4/conf.d/ext-uploadprogress.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the uploadprogress module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the uploadprogress module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php54-uploadprogress/1.0.3.1: 2 files, 20K, built in 8 seconds
==> Installing php54-xdebug from homebrew/homebrew-php
==> Downloading http://xdebug.org/files/xdebug-2.2.6.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php54/5.4.35/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-xdebug/2.2.6 --with-php-config=/usr/local/Cellar/php54/5.4.35/bin/php-config --enable-xdebug
==> make
==> Caveats
To finish installing xdebug for PHP 5.4:
* /usr/local/etc/php/5.4/conf.d/ext-xdebug.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xdebug module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the xdebug module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php54-xdebug/2.2.6: 5 files, 236K, built in 18 seconds
==> Installing php54-xhprof from homebrew/homebrew-php
==> Downloading https://github.com/facebook/xhprof/archive/254eb24dcfa763c76c57b472093ebc4b81af2b7d.tar.gz
Already downloaded: /Library/Caches/Homebrew/php54-xhprof-254eb24.tar.gz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php54/5.4.35/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-xhprof/254eb24 --with-php-config=/usr/local/Cellar/php54/5.4.35/bin/php-config
==> make
==> Caveats
To finish installing xhprof for PHP 5.4:
* /usr/local/etc/php/5.4/conf.d/ext-xhprof.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xhprof module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the xhprof module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php54-xhprof/254eb24: 28 files, 1.2M, built in 9 seconds
########
# Configuring php54..
########
Password:
Unlinking /usr/local/Cellar/php54/5.4.35... 41 symlinks removed
########
# Installing php53 prerequisites..
########
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/re2c-0.13.7.5.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/re2c-0.13.7.5.yosemite.bottle.tar.gz
==> Pouring re2c-0.13.7.5.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/re2c/0.13.7.5: 5 files, 340K
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/flex-2.5.37.yosemite.bottle.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/flex-2.5.37.yosemite.bottle.1.tar.gz
==> Pouring flex-2.5.37.yosemite.bottle.1.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Some formulae require a newer version of flex.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/flex/lib
CPPFLAGS: -I/usr/local/opt/flex/include
==> Summary
🍺 /usr/local/Cellar/flex/2.5.37: 40 files, 2.1M
==> Installing bison27 from homebrew/homebrew-versions
==> Downloading http://ftpmirror.gnu.org/bison/bison-2.7.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/bison27-2.7.1.tar.gz
==> ./configure --prefix=/usr/local/Cellar/bison27/2.7.1
==> make install
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Some formulae require a newer version of bison.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/bison27/lib
==> Summary
🍺 /usr/local/Cellar/bison27/2.7.1: 36 files, 1.7M, built in 85 seconds
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libevent-2.0.21_1.yosemite.bottle.tar.gz
Already downloaded: /Library/Caches/Homebrew/libevent-2.0.21_1.yosemite.bottle.tar.gz
==> Pouring libevent-2.0.21_1.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/libevent/2.0.21_1: 48 files, 1.8M
########
# Installing php53..
########
==> Installing php53 from homebrew/homebrew-php
==> Downloading https://www.php.net/get/php-5.3.29.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php53-5.3.29
==> Patching
patching file configure
patching file configure.in
patching file Zend/zend_language_parser.y
patching file configure
patching file Zend/acinclude.m4
==> rm Zend/zend_{language,ini}_parser.[ch]
Warning: Backing up all known pear.conf and .pearrc files
Warning: If you have a pre-existing pear install outside
of homebrew-php, or you are using a non-standard
pear.conf location, installation may fail.
==> ./configure --prefix=/usr/local/Cellar/php53/5.3.29 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.3 --with-config-file-path=/usr/local/etc/php/5.3 --with-config-file-scan-dir=/usr/local/etc/php/5.3/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-intl --enable-soap --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-bcmath --enable-calendar --with-zlib=/usr/local/opt/zlib --with-ldap --with-ldap-sasl=/usr --with-xmlrpc --with-kerberos=/usr --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/local/opt/freetype --with-icu-dir=/usr/local/opt/icu4c --with-jpeg-dir=/usr/local/opt/jpeg --with-png-dir=/usr/local/opt/libpng --with-gettext=/usr/local/opt/gettext --with-libedit --with-unixODBC=/usr/local/opt/unixodbc --with-pdo-odbc=unixODBC,/usr/local/opt/unixodbc --mandir=/usr/local/Cellar/php53/5.3.29/share/man --with-mhash --with-curl=/usr/local/opt/curl --without-snmp --with-bz2=/usr --with-openssl=/usr/local/opt/openssl --with-xsl=/usr/local/opt/libxslt --enable-fastcgi --enable-fpm --with-fpm-user=_www --with-fpm-group=_www --with-gmp=/usr/local/opt/gmp --with-imap=/usr/local/opt/imap-uw --with-imap-ssl=/usr/local/opt/openssl --with-mysql-sock=/tmp/mysql.sock --with-mysqli=mysqlnd --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --enable-pcntl --enable-zend-multibyte --enable-sqlite-utf8
==> make
==> make install
==> /usr/local/Cellar/php53/5.3.29/bin/pear config-set php_ini /usr/local/etc/php/5.3/php.ini
==> Caveats
The php.ini file can be found in:
/usr/local/etc/php/5.3/php.ini
✩✩✩✩ PEAR ✩✩✩✩
If PEAR complains about permissions, 'fix' the default PEAR permissions and config:
chmod -R ug+w /usr/local/Cellar/php53/5.3.29/lib/php
pear config-set php_ini /usr/local/etc/php/5.3/php.ini
✩✩✩✩ Extensions ✩✩✩✩
If you are having issues with custom extension compiling, ensure that
you are using the brew version, by placing /usr/local/bin before /usr/sbin in your PATH:
PATH="/usr/local/bin:$PATH"
PHP53 Extensions will always be compiled against this PHP. Please install them
using --without-homebrew-php to enable compiling against system PHP.
✩✩✩✩ PHP CLI ✩✩✩✩
If you wish to swap the PHP you use on the command line, you should add the following to ~/.bashrc,
~/.zshrc, ~/.profile or your shell's equivalent configuration file:
export PATH="$(brew --prefix homebrew/php/php53)/bin:$PATH"
✩✩✩✩ FPM ✩✩✩✩
To launch php-fpm on startup:
* If this is your first install:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/php53/5.3.29/homebrew.mxcl.php53.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php53.plist
* If this is an upgrade and you already have the homebrew.mxcl.php53.plist loaded:
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php53.plist
cp /usr/local/Cellar/php53/5.3.29/homebrew.mxcl.php53.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php53.plist
The control script is located at /usr/local/Cellar/php53/5.3.29/sbin/php53-fpm
Mountain Lion comes with php-fpm pre-installed, to ensure you are using the brew version you need to make sure /usr/local/sbin is before /usr/sbin in your PATH:
PATH="/usr/local/sbin:$PATH"
You may also need to edit the plist to use the correct "UserName".
Please note that the plist was called 'homebrew-php.josegonzalez.php53.plist' in old versions
of this formula.
To have launchd start php53 at login:
ln -sfv /usr/local/opt/php53/*.plist ~/Library/LaunchAgents
Then to load php53 now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php53.plist
==> Summary
🍺 /usr/local/Cellar/php53/5.3.29: 484 files, 29M, built in 5.3 minutes
==> Installing php53-geoip from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/geoip-1.0.8.tgz
Already downloaded: /Library/Caches/Homebrew/php53-geoip-1.0.8.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php53/5.3.29/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-geoip/1.0.8 --with-php-config=/usr/local/Cellar/php53/5.3.29/bin/php-config --with-geoip=/usr/local/opt/geoip
==> make
==> Caveats
To finish installing geoip for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-geoip.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the geoip module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the geoip module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-geoip/1.0.8: 4 files, 36K, built in 10 seconds
==> Installing php53-imagick from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/imagick-3.1.0RC2.tgz
Already downloaded: /Library/Caches/Homebrew/php53-imagick-3.1.0RC2.tgz
==> Patching
patching file imagick-3.1.0RC2/config.m4
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php53/5.3.29/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-imagick/3.1.0RC2 --with-php-config=/usr/local/Cellar/php53/5.3.29/bin/php-config
==> make
==> Caveats
To finish installing imagick for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-imagick.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the imagick module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the imagick module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-imagick/3.1.0RC2: 4 files, 384K, built in 12 seconds
==> Installing php53-mcrypt from homebrew/homebrew-php
==> Downloading https://www.php.net/get/php-5.3.29.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php53-mcrypt-5.3.29
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php53/5.3.29/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-mcrypt/5.3.29 --with-php-config=/usr/local/Cellar/php53/5.3.29/bin/php-config --with-mcrypt=/usr/local/opt/mcrypt
==> make
==> Caveats
To finish installing mcrypt for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-mcrypt.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the mcrypt module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the mcrypt module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-mcrypt/5.3.29: 3 files, 56K, built in 19 seconds
==> Installing php53-uploadprogress from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/uploadprogress-1.0.3.1.tgz
Already downloaded: /Library/Caches/Homebrew/php53-uploadprogress-1.0.3.1.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php53/5.3.29/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-uploadprogress/1.0.3.1 --with-php-config=/usr/local/Cellar/php53/5.3.29/bin/php-config
==> make
==> Caveats
To finish installing uploadprogress for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-uploadprogress.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the uploadprogress module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the uploadprogress module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-uploadprogress/1.0.3.1: 2 files, 20K, built in 9 seconds
==> Installing php53-xdebug from homebrew/homebrew-php
==> Downloading http://xdebug.org/files/xdebug-2.2.6.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php53/5.3.29/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-xdebug/2.2.6 --with-php-config=/usr/local/Cellar/php53/5.3.29/bin/php-config --enable-xdebug
==> make
==> Caveats
To finish installing xdebug for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-xdebug.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xdebug module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the xdebug module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-xdebug/2.2.6: 5 files, 236K, built in 18 seconds
==> Installing php53-xhprof from homebrew/homebrew-php
==> Downloading https://github.com/facebook/xhprof/archive/254eb24dcfa763c76c57b472093ebc4b81af2b7d.tar.gz
Already downloaded: /Library/Caches/Homebrew/php53-xhprof-254eb24.tar.gz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php53/5.3.29/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-xhprof/254eb24 --with-php-config=/usr/local/Cellar/php53/5.3.29/bin/php-config
==> make
==> Caveats
To finish installing xhprof for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-xhprof.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xhprof module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the xhprof module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-xhprof/254eb24: 28 files, 1.2M, built in 8 seconds
########
# Configuring php53..
########
Password:
Unlinking /usr/local/Cellar/php53/5.3.29... 38 symlinks removed
Linking /usr/local/Cellar/php55/5.5.19... 0 symlinks created
########
# Installing php code sniffer..
########
==> Installing php-code-sniffer from homebrew/homebrew-php
==> Downloading http://download.pear.php.net/package/PHP_CodeSniffer-1.5.5.tgz
Already downloaded: /Library/Caches/Homebrew/php-code-sniffer-1.5.5.tgz
==> Caveats
Install the alpha release of PHP CodeSniffer with the --devel option.
Verify your installation by running:
phpcs --version
You can read more about phpcs by running:
brew home php-code-sniffer
==> Summary
🍺 /usr/local/Cellar/php-code-sniffer/1.5.5: 846 files, 4.4M, built in 2 seconds
########
# Installing drupal code sniffer..
########
==> Installing drupal-code-sniffer from homebrew/homebrew-php
==> Downloading http://ftp.drupal.org/files/projects/coder-7.x-2.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/drupal-code-sniffer-7.x-2.2.tar.gz
==> Caveats
Drupal Coder Sniffer is linked to "/usr/local/etc/php-code-sniffer/Standards/Drupal".
You can verify whether PHP Code Sniffer has detected the standard by running:
phpcs -i
Drupal Coder Sniffer is installed as a drush command in "/usr/local/share/drush/commands/drupal-code-sniffer".
You can verify whether Drush has discovered the standard by running:
drush drupalcs --help
==> Summary
🍺 /usr/local/Cellar/drupal-code-sniffer/7.x-2.2: 85 files, 476K, built in 2 seconds
########
# Installing phpunit..
########
==> Installing phpunit from homebrew/homebrew-php
==> Downloading https://phar.phpunit.de/phpunit-4.3.4.phar
Already downloaded: /Library/Caches/Homebrew/phpunit-4.3.4.phar
🍺 /usr/local/Cellar/phpunit/4.3.4: 3 files, 3.2M, built in 2 seconds
########
# Installing composer..
########
==> Installing composer from homebrew/homebrew-php
==> Downloading http://getcomposer.org/download/1.0.0-alpha8/composer.phar
Already downloaded: /Library/Caches/Homebrew/composer-1.0.0-alpha8.phar
==> Caveats
Verify your installation by running:
"composer --version".
You can read more about composer and packagist by running:
"brew home composer".
==> Summary
🍺 /usr/local/Cellar/composer/1.0.0-alpha8: 3 files, 952K, built in 3 seconds
########
# Installing drush..
########
Changed current directory to /Users/palagpatski/.composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
########
# Installing solr..
########
==> Downloading http://www.apache.org/dyn/closer.cgi?path=lucene/solr/4.10.2/solr-4.10.2.tgz
Already downloaded: /Library/Caches/Homebrew/solr-4.10.2.tgz
==> Caveats
To have launchd start solr at login:
ln -sfv /usr/local/opt/solr/*.plist ~/Library/LaunchAgents
Then to load solr now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.solr.plist
Or, if you don't want/need launchctl, you can just run:
solr start
==> Summary
🍺 /usr/local/Cellar/solr/4.10.2: 4245 files, 214M, built in 10 seconds
########
# Downloading solr launch daemon..
########
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 964 0 964 0 0 431 0 --:--:-- 0:00:02 --:--:-- 431
########
# Setting up launch daemons..
########
Password:
########
# Launching daemons now..
########
/Users/palagpatski/Library/LaunchAgents/com.apache.solr.plist: Operation already in progress
########
# Finishing mariadb setup..
########
########
# Enter the following when prompted..
#
# Current password: <hit enter>
# Set root password?: [Y/n] y
# New password: <make it easy, eg. mysql>
# Remove anonymous users? [Y/n] y
# Disallow root login remotely? [Y/n] y
# Remove test database and access to it? [Y/n] y
# Reload privilege tables now? [Y/n] y
########
/usr/local/opt/mariadb/bin/mysql_secure_installation: line 379: find_mysql_client: command not found
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
Set root password? [Y/n] y
New password:
Re-enter new password:
Sorry, passwords do not match.
New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] y
... Success!
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] y
... Success!
By default, MariaDB comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] y
- Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] y
... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
Thanks for using MariaDB!
palagpatski ALL=NOPASSWD: /usr/local/bin/nginx
########
# Adding aegir.conf include to ngix.conf..
# Aegir time..
########
# Downloading provision..
########
Project provision (7.x-3.x-dev) downloaded to [success]
/Users/palagpatski/.drush/provision.
Project provision contains 4 modules: bind_slave, bind, dns, provision.
########
# Clearing drush caches..
########
'drush' cache was cleared. [success]
########
# Installing hostmaster..
########
Aegir 7.x-3.x 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
MySQL privileged user ("root") password:
Admin user e-mail [webmaster@aegir.ld]: palagpatski@gmail.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: aegir.ld
Master server FQDN: aegir.ld
Aegir root: /var/aegir
Aegir user: palagpatski
Web group: www
Web server: nginx
Web server port: 80
Aegir DB host: localhost
Aegir DB user: root
Aegir DB password: <prompted>
Aegir DB port: 3306
Aegir version: 7.x-3.x
Aegir platform path: /var/aegir/hostmaster-7.x-3.x
Admin email: palagpatski@gmail.com
Aegir makefile: /Users/palagpatski/.drush/provision/aegir.make
Aegir install profile: hostmaster
Do you really want to proceed with the install (y/n): y
sh: /usr/local/bin/php: No such file or directory
Illegal string offset 'site' backend.inc:1027 [warning]
The command could not be executed successfully (returned: sh: [error]
/usr/local/bin/php: No such file or directory
, code: 127)
sh: /usr/local/bin/php: No such file or directory
Illegal string offset 'site' backend.inc:1027 [warning]
The command could not be executed successfully (returned: sh: [error]
/usr/local/bin/php: No such file or directory
, code: 127)
sh: /usr/local/bin/php: No such file or directory
Illegal string offset 'site' backend.inc:1027 [warning]
The command could not be executed successfully (returned: sh: [error]
/usr/local/bin/php: No such file or directory
, code: 127)
sh: /usr/local/bin/php: No such file or directory
Illegal string offset 'site' backend.inc:1027 [warning]
The command could not be executed successfully (returned: sh: [error]
/usr/local/bin/php: No such file or directory
, code: 127)
########
# Download and start hosting queue daemon launch agent..
########
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 608 0 608 0 0 304 0 --:--:-- 0:00:01 --:--:-- 304
/Users/palagpatski/Library/LaunchAgents/org.aegir.hosting.queued.plist: Operation already in progress
./aegir.sh: line 1006: /var/aegir/config/server_master/nginx/pre.d/nginx_xhprof.ld.conf: No such file or directory
########
# Installing registry_rebuild drush module
########
Install location /Users/palagpatski/.drush/registry_rebuild already exists. Do you want to overwrite it? (y/n): y
Project registry_rebuild (7.x-2.2) downloaded to [success]
/Users/palagpatski/.drush/registry_rebuild.
Project registry_rebuild contains 0 modules: .
########
# Symlinking platforms to ~/Sites/Aegir..
########
rmdir: /var/aegir/platforms: No such file or directory
########
# Enabling SSL for local sites..
########
./aegir.sh: line 1019: /var/aegir/config/server_master/nginx/pre.d/nginx_wild_ssl.conf: No such file or directory
nginx: [emerg] open() "/usr/local/etc/nginx/aegir.conf" failed (2: No such file or directory) in /usr/local/etc/nginx/nginx.conf:32
# Setting known network interfaces to use 127.0.0.1 for DNS lookups,this may throw errors, that's ok...
########
AirPort is not a recognized network service.
** Error: The parameters were not valid.
Thunderbolt Ethernet is not a recognized network service.
** Error: The parameters were not valid.
########
# Open your network settings now and confirm the DNS for
# your active device is set to 127.0.0.1, or else things
# will not work properly later in the script.
########
########
# Saving some instructional notes to ~/Desktop/YourAegirSetup.txt..
########
########
# Attempting to email it to you as well..
########
mail: You must specify direct recipients with -s, -c, or -b.
########
# The date.timezone value in /usr/local/etc/php/[version]/php.ini
# Is set to Melbourne/Australia
# You may want to change it to something that suits you better.
########
########
# Double check your network interfaces to ensure their DNS server
# is set to 127.0.0.1 as we only tried to set commonly named interfaces.
########
########
# Please say thanks @BrianGilbert_ http://twiter.com/BrianGilbert_
########
########
# Finished 2014-11-20 13:44:27
########
###fin###
aegir:~ palagpatski$
[Restored]
Last login: Thu Nov 20 13:46:56 on console
aegir:~ palagpatski$ sudo chown -R ${USER-$LOGNAME}:admin /usr/local
Password:
Sorry, try again.
Password:
aegir:~ palagpatski$ chmod 775 /usr/local
aegir:~ palagpatski$ mkdir -p /usr/local/var/run/nginx/proxy_temp
aegir:~ palagpatski$ mkdir -p /usr/local/var/run/nginx/fastcgi_temp
aegir:~ palagpatski$ mkdir -p /usr/local/var/run/nginx/scgi_temp
aegir:~ palagpatski$ mkdir -p /usr/local/var/run/nginx/uwsgi_temp
aegir:~ palagpatski$ sudo /usr/local/bin/nginx
nginx: [emerg] open() "/usr/local/etc/nginx/aegir.conf" failed (2: No such file or directory) in /usr/local/etc/nginx/nginx.conf:32
aegir:~ palagpatski$ go55
Unlinking /usr/local/Cellar/php53/5.3.29... 0 symlinks removed
Unlinking /usr/local/Cellar/php54/5.4.35... 0 symlinks removed
Warning: Already linked: /usr/local/Cellar/php55/5.5.19
To relink: brew unlink php55 && brew link php55
nginx: [emerg] open() "/usr/local/etc/nginx/aegir.conf" failed (2: No such file or directory) in /usr/local/etc/nginx/nginx.conf:32
aegir:~ palagpatski$ brew unlink php55 && brew link php55
Unlinking /usr/local/Cellar/php55/5.5.19... 0 symlinks removed
Linking /usr/local/Cellar/php55/5.5.19... 0 symlinks created
aegir:~ palagpatski$ sudo /usr/local/bin/nginx
nginx: [emerg] open() "/usr/local/etc/nginx/aegir.conf" failed (2: No such file or directory) in /usr/local/etc/nginx/nginx.conf:32
aegir:~ palagpatski$ sudo mkdir -p /var/log/nginx
Password:
aegir:~ palagpatski$ sudo /usr/local/bin/nginx
nginx: [emerg] open() "/usr/local/etc/nginx/aegir.conf" failed (2: No such file or directory) in /usr/local/etc/nginx/nginx.conf:32
aegir:~ palagpatski$
I can see that php55 hasn't installed cleanly, causing the hostmaster installation to fail.
This may be caused by a change in homebrew.
the lines in your logfile showing the issue are, in the script you can look at lines 718 to find what is happening at this point:
########
# Configuring php55..
########
sed: /usr/local/etc/php/5.5/php.ini: No such file or directory
sed: /usr/local/etc/php/5.5/php.ini: No such file or directory
sed: /usr/local/etc/php/5.5/php.ini: No such file or directory
sed: /usr/local/etc/php/5.5/php.ini: No such file or directory
sed: /usr/local/etc/php/5.5/php.ini: No such file or directory
sed: /usr/local/etc/php/5.5/php.ini: No such file or directory
sed: /usr/local/etc/php/5.5/php-fpm.conf: No such file or directory
./aegir.sh: line 666: /usr/local/etc/php/5.5/conf.d/ext-xdebug.ini: No such file or directory
Password:
Sorry, try again.
Password:
cp: /usr/local/opt/php55/homebrew.mxcl.php55.plist: No such file or directory
Unlinking /usr/local/Cellar/php55/5.5.19... 0 symlinks removed
I will do another nstall test when I have time, but not sure whan that will be yet, I would suggest uninstalling and completely removing homebrew before re-installing if you don't want to try and debug it yourself.
https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/FAQ.md#faq
I uninstalled Aegir again and uninstalled Homebrew, then reinstalled manually using your instructions here: http://realityloop.com/blog/2012/07/03/nginx/mariadb/php/aegir-mac-os-x-optional-drush-5-works-mountain-lion.
I managed to solve some errors here, but it ultimately failed in the last part with
Drush was not able to start (bootstrap) the Drupal database.
and The drush command '@hostmaster provision-verify' could not be found
Here is some sort of a log file of the manual process: https://gist.github.com/palagpatski/b6c0e47a88ed782a30bc
Hello Brian,
I'm also having problems with the script installing and running Nginx on Yosemite. I don't have the errors that John has reported, but I only ran the installer once and I know John has attempted this install more than once. (Full disclosure, John works for me.)
After editing the time-zones in the php.ini files I ran
sudo /usr/local/bin/nginx -s reload
and got the following error:
nginx: [emerg] open() "/usr/local/etc/nginx/aegir.conf" failed (2: No such file or directory) in /usr/local/etc/nginx/nginx.conf:32
This file /usr/local/etc/nginx/aegir.conf
symlinks to /var/aegir/config/nginx.conf
which is the file that really does not exist.
So I went looking for where this symlink gets created in the script and it is on line 959.
ln -s /var/aegir/config/nginx.conf /usr/local/etc/nginx/aegir.conf
/usr/local/etc/nginx/aegir.conf
is then appended to the /usr/local/etc/nginx/nginx.conf
on line 692.
The /usr/local/etc/nginx/nginx.conf
is created on line 604 pulling a gist with your customizations.
I next went looking for where the /var/aegir/config/nginx.conf
gets created in the script, but I have not been able to find it.
I ran this script back in July on a system with Mavericks and had no problem aside from some conflicts with MAMP Pro that I had installed.
I'm going to look back through the commits you've made since then and see if there is something I might learn from that as to where this /var/aegir/config/nginx.conf
is suppose to be created.
Thanks again for all of your work on this and your help now. I'll make donation tomorrow morning. Steve
@wickwood Can you please add your install log?
Sorry I neglected to do that, Brian.
Here you go:
########
# Online, continuing 2014-11-20 20:11:06
########
# Checking /usr/local exists..
########
# This script is designed to be run by the primary account
# it has not been tested on a multi user setup.
########
# You will need the following information during this script:
# -a gmail account that is configured to allow remote smtp access
# -the password for the gmail account address
# -an email address to receive notifications from aegir
# -attention to what is being requested via the script
########
# You cannot use this script if you have macports installed
# so we will uninstall it automatically
########
# OS X's inbuilt apache uses port 80 if it's running we'll disable
# it for you during install so that nginx can run on port 80.
########
# Logging install process to file on desktop in case anything
# goes wrong during install, No passwords are logged..
########
########
# macports isn't installed continuing..
########
# Apache isn't active, continuing..
########
########
# Checking OS version..
########
# You're using 10.10, so let's go!
########
########
# Checking if Homebrew is installed..
########
########
# Affirmative! Let's make sure everything is up to date..
# Just so you know, this may throw a few warnings..
########
Pruned 0 dead formulae
Already up-to-date.
Your system is ready to brew.
########
# Homebrew in order, continuing
########
########
# Doing some setup ready for Aegir install..
########
# Your hostname will be set to aegir.ld
########
# Install the developmental version of Aegir (7.x-3.x)? [Y/n]:
########
########
# I can install multiple versions of PHP; 5.3, 5.4 and/or 5.5.
# Let me know which versions you'd like installed.
# Set up PHP 5.3 [Y/n]:
########
# You entered Y
########
########
# Make PHP 5.3 the default [Y/n]:
########
# You entered Y
########
########
# Set up PHP 5.4 [Y/n]:
########
# You entered Y
########
########
# Set up PHP 5.5 [Y/n]:
########
# You entered Y
########
########
# I can also setup ApacheSolr which is best used in conjunction with:
# https://drupal.org/project/search_api_solr
# Set up solr [Y/n]:
########
# You entered Y
########
########
# Do you want solr to run automatically on boot [Y/n]:
########
# You entered Y
########
########
# Now we'll tap some extra kegs we need..
########
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-versions'...
Tapped 165 formulae
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-dupes'...
Tapped 36 formulae
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-php'...
Tapped 416 formulae
Already up-to-date.
Your system is ready to brew.
# Installing required brew formulae..
########
# Installing gcc..
########
==> Installing apple-gcc42 from homebrew/homebrew-dupes
==> Downloading http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg
==> /bin/pax --insecure -rz -f usr.pkg/Payload -s ,./usr,/usr/local/Cellar/apple-gcc42/4.2.1-5666.3,
==> Caveats
NOTE:
This formula provides components that were removed from XCode in the 4.2
release. There is no reason to install this formula if you are using a
version of XCode prior to 4.2.
This formula contains compilers built from Apple's GCC sources, build
5666.3, available from:
http://opensource.apple.com/tarballs/gcc
All compilers have a `-4.2` suffix. A GFortran compiler is also included.
==> Summary
🍺 /usr/local/Cellar/apple-gcc42/4.2.1-5666.3: 104 files, 75M, built in 16 seconds
########
# Installing wget..
########
==> Installing wget dependency: openssl
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/openssl-1.0.1j.yosemite.bottle.tar.gz
==> Pouring openssl-1.0.1j.yosemite.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
==> Summary
🍺 /usr/local/Cellar/openssl/1.0.1j: 431 files, 18M
==> Installing wget
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/wget-1.16.yosemite.bottle.tar.gz
==> Pouring wget-1.16.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/wget/1.16: 9 files, 944K
########
# Installing gzip..
########
==> Installing gzip from homebrew/homebrew-dupes
==> Downloading http://ftpmirror.gnu.org/gzip/gzip-1.6.tar.gz
==> Downloading http://cvs.pld-linux.org/cgi-bin/viewvc.cgi/cvs/packages/gzip/gzip-rsyncable.patch?revision=1.4&view=co
==> Patching
patching file deflate.c
patching file gzip.c
Hunk #1 succeeded at 215 (offset 2 lines).
Hunk #2 succeeded at 276 (offset 5 lines).
Hunk #3 succeeded at 361 (offset 6 lines).
Hunk #4 succeeded at 493 (offset 8 lines).
patching file gzip.h
patching file doc/gzip.texi
Hunk #1 succeeded at 358 with fuzz 2 (offset 24 lines).
patching file trees.c
Hunk #1 succeeded at 59 (offset 13 lines).
Hunk #2 succeeded at 857 (offset 9 lines).
Hunk #3 succeeded at 953 (offset 10 lines).
==> ./configure --prefix=/usr/local/Cellar/gzip/1.6
==> make install
🍺 /usr/local/Cellar/gzip/1.6: 33 files, 496K, built in 36 seconds
########
# Installing libpng..
########
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libpng-1.6.14.yosemite.bottle.tar.gz
==> Pouring libpng-1.6.14.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/libpng/1.6.14: 17 files, 1.3M
########
# Installing dnsmasq..
########
==> Installing dnsmasq dependency: pkg-config
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pkg-config-0.28.yosemite.bottle.2.tar.gz
==> Pouring pkg-config-0.28.yosemite.bottle.2.tar.gz
🍺 /usr/local/Cellar/pkg-config/0.28: 10 files, 640K
==> Installing dnsmasq
==> Downloading http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.72.tar.gz
==> make install PREFIX=/usr/local/Cellar/dnsmasq/2.72
==> Caveats
To configure dnsmasq, copy the example configuration to /usr/local/etc/dnsmasq.conf
and edit to taste.
cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
To have launchd start dnsmasq at startup:
sudo cp -fv /usr/local/opt/dnsmasq/*.plist /Library/LaunchDaemons
sudo chown root /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
Then to load dnsmasq now:
sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
==> Summary
🍺 /usr/local/Cellar/dnsmasq/2.72: 7 files, 520K, built in 8 seconds
########
# Configuring dnsmasq..
########
########
# Setting up wildcard DNS so that domains ending in dot ld will resolve to your local machine
# Setting dnsmasq config..
########
# Setting OpenDNS and Google DNS servers as fallbacks..
########
########
# Making local domains resolve when your disconnected from net..
########
# Setting hostname to aegir.ld
########
# Copying dnsmasq launch daemon into place..
########
# Starting dnsmasq..
########
########
# Installing nginx..
########
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/pcre-8.36.yosemite.bottle.tar.gz
==> Pouring pcre-8.36.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/pcre/8.36: 146 files, 6.5M
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/geoip-1.6.3.yosemite.bottle.tar.gz
==> Pouring geoip-1.6.3.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/geoip/1.6.3: 17 files, 792K
==> Downloading http://nginx.org/download/nginx-1.6.2.tar.gz
==> ./configure --prefix=/usr/local/Cellar/nginx/1.6.2 --with-http_ssl_module --with-pcre --with-ipv6 --sbin-path=/usr/local/Cellar/nginx/1.6.2/bin/nginx --with-cc-opt=-I/usr/local/Cellar/pcre/8.36/include -I/usr/local/Cellar/openssl/1.0.1j/include --with-ld-opt=-L/usr/local/Cellar/pcre/8.36/lib -L/usr/local/Cellar/openssl/1.0.1j/lib --conf-path=/usr/local/etc/nginx/nginx.conf --pid-path=/usr/local/var/run/nginx.pid --lock-path=/usr/local/var/run/nginx.lock --http-client-body-temp-path=/usr/local/var/run/nginx/client_body_temp --http-proxy-temp-path=/usr/local/var/run/nginx/proxy_temp --http-fastcgi-temp-path=/usr/local/var/run/nginx/fastcgi_temp --http-uwsgi-temp-path=/usr/local/var/run/nginx/uwsgi_temp --http-scgi-temp-path=/usr/local/var/run/nginx/scgi_temp --http-log-path=/usr/local/var/log/nginx/access.log --error-log-path=/usr/local/var/log/nginx/error.log --with-http_gzip_static_module --with-debug --with-http_spdy_module
==> make
==> make install
==> Caveats
Docroot is: /usr/local/var/www
The default port has been set in /usr/local/etc/nginx/nginx.conf to 8080 so that
nginx can run without sudo.
To have launchd start nginx at login:
ln -sfv /usr/local/opt/nginx/*.plist ~/Library/LaunchAgents
Then to load nginx now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
Or, if you don't want/need launchctl, you can just run:
nginx
==> Summary
🍺 /usr/local/Cellar/nginx/1.6.2: 7 files, 1.0M, built in 17 seconds
########
# Configuring nginx..
########
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 763 0 763 0 0 3351 0 --:--:-- --:--:-- --:--:-- 4891
########
# Installing mariadb..
########
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cmake-3.0.2.yosemite.bottle.tar.gz
==> Pouring cmake-3.0.2.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/cmake/3.0.2: 1641 files, 32M
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mariadb-10.0.14_1.yosemite.bottle.tar.gz
==> Pouring mariadb-10.0.14_1.yosemite.bottle.tar.gz
==> Caveats
A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.
To connect:
mysql -uroot
To have launchd start mariadb at login:
ln -sfv /usr/local/opt/mariadb/*.plist ~/Library/LaunchAgents
Then to load mariadb now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
Or, if you don't want/need launchctl, you can just run:
mysql.server start
==> /usr/local/Cellar/mariadb/10.0.14_1/bin/mysql_install_db --verbose --user=steve --basedir=/usr/local/Cellar/mariadb/10.0.14_1 --datadir=/usr/local/var/mysql --tmpdir=/tmp
==> Summary
🍺 /usr/local/Cellar/mariadb/10.0.14_1: 524 files, 127M
########
# Configuring mariadb..
########
Installing MariaDB/MySQL system tables in '/usr/local/var/mysql' ...
141120 20:17:48 [Note] InnoDB: Using mutexes to ref count buffer pool pages
141120 20:17:48 [Note] InnoDB: The InnoDB memory heap is disabled
141120 20:17:48 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
141120 20:17:48 [Note] InnoDB: Memory barrier is not used
141120 20:17:48 [Note] InnoDB: Compressed tables use zlib 1.2.5
141120 20:17:48 [Note] InnoDB: Using CPU crc32 instructions
141120 20:17:48 [Note] InnoDB: Initializing buffer pool, size = 128.0M
141120 20:17:48 [Note] InnoDB: Completed initialization of buffer pool
141120 20:17:48 [Note] InnoDB: Highest supported file format is Barracuda.
141120 20:17:48 [Note] InnoDB: 128 rollback segment(s) are active.
141120 20:17:48 [Note] InnoDB: Waiting for purge to start
141120 20:17:48 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.20-68.0 started; log sequence number 1616707
141120 20:17:48 [Note] InnoDB: FTS optimize thread exiting.
141120 20:17:48 [Note] InnoDB: Starting shutdown...
141120 20:17:50 [Note] InnoDB: Shutdown completed; log sequence number 1616717
OK
Filling help tables...
141120 20:17:50 [Note] InnoDB: Using mutexes to ref count buffer pool pages
141120 20:17:50 [Note] InnoDB: The InnoDB memory heap is disabled
141120 20:17:50 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
141120 20:17:50 [Note] InnoDB: Memory barrier is not used
141120 20:17:50 [Note] InnoDB: Compressed tables use zlib 1.2.5
141120 20:17:50 [Note] InnoDB: Using CPU crc32 instructions
141120 20:17:50 [Note] InnoDB: Initializing buffer pool, size = 128.0M
141120 20:17:50 [Note] InnoDB: Completed initialization of buffer pool
141120 20:17:50 [Note] InnoDB: Highest supported file format is Barracuda.
141120 20:17:50 [Note] InnoDB: 128 rollback segment(s) are active.
141120 20:17:50 [Note] InnoDB: Waiting for purge to start
141120 20:17:50 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.20-68.0 started; log sequence number 1616717
141120 20:17:50 [Note] InnoDB: FTS optimize thread exiting.
141120 20:17:50 [Note] InnoDB: Starting shutdown...
141120 20:17:52 [Note] InnoDB: Shutdown completed; log sequence number 1616727
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:
'/usr/local/opt/mariadb/bin/mysqladmin' -u root password 'new-password'
'/usr/local/opt/mariadb/bin/mysqladmin' -u root -h aegir.ld password 'new-password'
Alternatively you can run:
'/usr/local/opt/mariadb/bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.
You can start the MariaDB daemon with:
cd '/usr/local/opt/mariadb' ; /usr/local/opt/mariadb/bin/mysqld_safe --datadir='/usr/local/var/mysql'
You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/local/opt/mariadb/mysql-test' ; perl mysql-test-run.pl
Please report any problems at http://mariadb.org/jira
The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Support MariaDB development by buying support/new features from
SkySQL Ab. You can contact us about this at sales@skysql.com.
Alternatively consider joining our community based development effort:
http://mariadb.com/kb/en/contributing-to-the-mariadb-project/
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 261 0 261 0 0 1187 0 --:--:-- --:--:-- --:--:-- 1728
100 4943 0 4943 0 0 22349 0 --:--:-- --:--:-- --:--:-- 32519
########
# Installing php55..
########
==> Installing php55 from homebrew/homebrew-php
==> Installing dependencies for php55: curl, freetype, gettext, icu4c, imap-uw, jpeg, unixodbc, homebrew/dupes/zlib, libtool
==> Installing php55 dependency: curl
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/curl-7.39.0.yosemite.bottle.tar.gz
==> Pouring curl-7.39.0.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/curl/lib
CPPFLAGS: -I/usr/local/opt/curl/include
==> Summary
🍺 /usr/local/Cellar/curl/7.39.0: 298 files, 3.9M
==> Installing php55 dependency: freetype
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/freetype-2.5.3_1.yosemite.bottle.1.tar.gz
==> Pouring freetype-2.5.3_1.yosemite.bottle.1.tar.gz
🍺 /usr/local/Cellar/freetype/2.5.3_1: 60 files, 2.7M
==> Installing php55 dependency: gettext
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gettext-0.19.3_1.yosemite.bottle.tar.gz
==> Pouring gettext-0.19.3_1.yosemite.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X provides similar software, and installing this software in
parallel can cause all kinds of trouble.
OS X provides the BSD gettext library and some software gets confused if both are in the library path.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/gettext/lib
CPPFLAGS: -I/usr/local/opt/gettext/include
==> Summary
🍺 /usr/local/Cellar/gettext/0.19.3_1: 1920 files, 28M
==> Installing php55 dependency: icu4c
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/icu4c-54.1.yosemite.bottle.1.tar.gz
==> Pouring icu4c-54.1.yosemite.bottle.1.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
OS X provides libicucore.dylib (but nothing else).
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/icu4c/lib
CPPFLAGS: -I/usr/local/opt/icu4c/include
==> Summary
🍺 /usr/local/Cellar/icu4c/54.1: 242 files, 66M
==> Installing php55 dependency: imap-uw
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/imap-uw-2007f.yosemite.bottle.tar.gz
==> Pouring imap-uw-2007f.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/imap-uw/2007f: 150 files, 9.9M
==> Installing php55 dependency: jpeg
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/jpeg-8d.yosemite.bottle.2.tar.gz
==> Pouring jpeg-8d.yosemite.bottle.2.tar.gz
🍺 /usr/local/Cellar/jpeg/8d: 18 files, 824K
==> Installing php55 dependency: unixodbc
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/unixodbc-2.3.2_1.yosemite.bottle.1.tar.gz
==> Pouring unixodbc-2.3.2_1.yosemite.bottle.1.tar.gz
🍺 /usr/local/Cellar/unixodbc/2.3.2_1: 31 files, 1.1M
==> Installing php55 dependency: homebrew/dupes/zlib
==> Downloading http://zlib.net/zlib-1.2.8.tar.gz
==> Patching
patching file configure
==> ./configure --prefix=/usr/local/Cellar/zlib/1.2.8
==> make install
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/zlib/lib
CPPFLAGS: -I/usr/local/opt/zlib/include
==> Summary
🍺 /usr/local/Cellar/zlib/1.2.8: 9 files, 416K, built in 3 seconds
==> Installing php55 dependency: libtool
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libtool-2.4.2.yosemite.bottle.3.tar.gz
==> Pouring libtool-2.4.2.yosemite.bottle.3.tar.gz
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
==> Summary
🍺 /usr/local/Cellar/libtool/2.4.2: 69 files, 2.7M
==> Installing php55
==> Downloading https://www.php.net/get/php-5.5.19.tar.bz2/from/this/mirror
Warning: Backing up all known pear.conf and .pearrc files
Warning: If you have a pre-existing pear install outside
of homebrew-php, or you are using a non-standard
pear.conf location, installation may fail.
==> ./configure --prefix=/usr/local/Cellar/php55/5.5.19 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.5 --with-config-file-path=/usr/local/etc/php/5.5 --with-config-file-scan-dir=/usr/local/etc/php/5.5/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-intl --enable-soap --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-bcmath --enable-calendar --with-zlib=/usr/local/opt/zlib --with-ldap --with-ldap-sasl=/usr --with-xmlrpc --with-kerberos=/usr --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/local/opt/freetype --with-icu-dir=/usr/local/opt/icu4c --with-jpeg-dir=/usr/local/opt/jpeg --with-png-dir=/usr/local/opt/libpng --with-gettext=/usr/local/opt/gettext --with-libedit --with-unixODBC=/usr/local/opt/unixodbc --with-pdo-odbc=unixODBC,/usr/local/opt/unixodbc --mandir=/usr/local/Cellar/php55/5.5.19/share/man --with-mhash --with-curl=/usr/local/opt/curl --without-snmp --with-bz2=/usr --with-openssl=/usr/local/opt/openssl --with-xsl=/usr/local/opt/libxslt --enable-fastcgi --enable-fpm --with-fpm-user=_www --with-fpm-group=_www --with-gmp=/usr/local/opt/gmp --with-imap=/usr/local/opt/imap-uw --with-imap-ssl=/usr/local/opt/openssl --with-mysql-sock=/tmp/mysql.sock --with-mysqli=mysqlnd --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --enable-pcntl --enable-zend-signals --enable-dtrace --enable-opcache
==> make
==> make install
==> /usr/local/Cellar/php55/5.5.19/bin/pear config-set php_ini /usr/local/etc/php/5.5/php.ini
==> Caveats
The php.ini file can be found in:
/usr/local/etc/php/5.5/php.ini
✩✩✩✩ PEAR ✩✩✩✩
If PEAR complains about permissions, 'fix' the default PEAR permissions and config:
chmod -R ug+w /usr/local/Cellar/php55/5.5.19/lib/php
pear config-set php_ini /usr/local/etc/php/5.5/php.ini
✩✩✩✩ Extensions ✩✩✩✩
If you are having issues with custom extension compiling, ensure that
you are using the brew version, by placing /usr/local/bin before /usr/sbin in your PATH:
PATH="/usr/local/bin:$PATH"
PHP55 Extensions will always be compiled against this PHP. Please install them
using --without-homebrew-php to enable compiling against system PHP.
✩✩✩✩ PHP CLI ✩✩✩✩
If you wish to swap the PHP you use on the command line, you should add the following to ~/.bashrc,
~/.zshrc, ~/.profile or your shell's equivalent configuration file:
export PATH="$(brew --prefix homebrew/php/php55)/bin:$PATH"
✩✩✩✩ FPM ✩✩✩✩
To launch php-fpm on startup:
* If this is your first install:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/php55/5.5.19/homebrew.mxcl.php55.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php55.plist
* If this is an upgrade and you already have the homebrew.mxcl.php55.plist loaded:
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php55.plist
cp /usr/local/Cellar/php55/5.5.19/homebrew.mxcl.php55.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php55.plist
The control script is located at /usr/local/Cellar/php55/5.5.19/sbin/php55-fpm
Mountain Lion comes with php-fpm pre-installed, to ensure you are using the brew version you need to make sure /usr/local/sbin is before /usr/sbin in your PATH:
PATH="/usr/local/sbin:$PATH"
You may also need to edit the plist to use the correct "UserName".
Please note that the plist was called 'homebrew-php.josegonzalez.php55.plist' in old versions
of this formula.
To have launchd start php55 at login:
ln -sfv /usr/local/opt/php55/*.plist ~/Library/LaunchAgents
Then to load php55 now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php55.plist
==> Summary
🍺 /usr/local/Cellar/php55/5.5.19: 497 files, 44M, built in 4.4 minutes
==> Installing php55-geoip from homebrew/homebrew-php
==> Installing php55-geoip dependency: autoconf
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/autoconf-2.69.yosemite.bottle.1.tar.gz
==> Pouring autoconf-2.69.yosemite.bottle.1.tar.gz
🍺 /usr/local/Cellar/autoconf/2.69: 70 files, 3.2M
==> Installing php55-geoip
==> Downloading http://pecl.php.net/get/geoip-1.0.8.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php55-geoip/1.0.8 --with-php-config=/usr/local/Cellar/php55/5.5.19/bin/php-config --with-geoip=/usr/local/opt/geoip
==> make
==> Caveats
To finish installing geoip for PHP 5.5:
* /usr/local/etc/php/5.5/conf.d/ext-geoip.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the geoip module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the geoip module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php55-geoip/1.0.8: 4 files, 48K, built in 8 seconds
==> Installing php55-imagick from homebrew/homebrew-php
==> Installing php55-imagick dependency: imagemagick
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/imagemagick-6.8.9-8.yosemite.bottle.tar.gz
==> Pouring imagemagick-6.8.9-8.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/imagemagick/6.8.9-8: 1433 files, 27M
==> Installing php55-imagick
==> Downloading http://pecl.php.net/get/imagick-3.1.0RC2.tgz
==> Patching
patching file imagick-3.1.0RC2/config.m4
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php55-imagick/3.1.0RC2 --with-php-config=/usr/local/Cellar/php55/5.5.19/bin/php-config
==> make
==> Caveats
To finish installing imagick for PHP 5.5:
* /usr/local/etc/php/5.5/conf.d/ext-imagick.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the imagick module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the imagick module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php55-imagick/3.1.0RC2: 4 files, 384K, built in 9 seconds
==> Installing php55-mcrypt from homebrew/homebrew-php
==> Installing dependencies for php55-mcrypt: mhash, mcrypt
==> Installing php55-mcrypt dependency: mhash
==> Downloading https://downloads.sourceforge.net/project/mhash/mhash/0.9.9.9/mhash-0.9.9.9.tar.gz
==> ./configure --prefix=/usr/local/Cellar/mhash/0.9.9.9
==> make install
🍺 /usr/local/Cellar/mhash/0.9.9.9: 17 files, 560K, built in 19 seconds
==> Installing php55-mcrypt dependency: mcrypt
==> Downloading https://downloads.sourceforge.net/project/mcrypt/MCrypt/2.6.8/mcrypt-2.6.8.tar.gz
==> Patching
patching file src/rfc2440.c
==> Downloading https://downloads.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz
==> ./configure --prefix=/usr/local/Cellar/mcrypt/2.6.8 --mandir=/usr/local/Cellar/mcrypt/2.6.8/share/man
==> make install
==> ./configure --prefix=/usr/local/Cellar/mcrypt/2.6.8 --with-libmcrypt-prefix=/usr/local/Cellar/mcrypt/2.6.8 --mandir=/usr/local/Cellar/mcrypt/2.6.8/share/man
==> make install
🍺 /usr/local/Cellar/mcrypt/2.6.8: 15 files, 520K, built in 41 seconds
==> Installing php55-mcrypt
==> Downloading https://www.php.net/get/php-5.5.19.tar.bz2/from/this/mirror
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php55-mcrypt/5.5.19 --with-php-config=/usr/local/Cellar/php55/5.5.19/bin/php-config --with-mcrypt=/usr/local/opt/mcrypt
==> make
==> Caveats
To finish installing mcrypt for PHP 5.5:
* /usr/local/etc/php/5.5/conf.d/ext-mcrypt.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the mcrypt module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the mcrypt module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php55-mcrypt/5.5.19: 3 files, 64K, built in 2.5 minutes
==> Installing php55-uploadprogress from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/uploadprogress-1.0.3.1.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php55-uploadprogress/1.0.3.1 --with-php-config=/usr/local/Cellar/php55/5.5.19/bin/php-config
==> make
==> Caveats
To finish installing uploadprogress for PHP 5.5:
* /usr/local/etc/php/5.5/conf.d/ext-uploadprogress.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the uploadprogress module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the uploadprogress module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php55-uploadprogress/1.0.3.1: 2 files, 24K, built in 7 seconds
==> Installing php55-xdebug from homebrew/homebrew-php
==> Downloading http://xdebug.org/files/xdebug-2.2.6.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php55-xdebug/2.2.6 --with-php-config=/usr/local/Cellar/php55/5.5.19/bin/php-config --enable-xdebug
==> make
==> Caveats
To finish installing xdebug for PHP 5.5:
* /usr/local/etc/php/5.5/conf.d/ext-xdebug.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xdebug module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the xdebug module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php55-xdebug/2.2.6: 5 files, 248K, built in 11 seconds
==> Installing php55-xhprof from homebrew/homebrew-php
==> Downloading https://github.com/facebook/xhprof/archive/254eb24dcfa763c76c57b472093ebc4b81af2b7d.tar.gz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php55/5.5.19/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php55-xhprof/254eb24 --with-php-config=/usr/local/Cellar/php55/5.5.19/bin/php-config
==> make
==> Caveats
To finish installing xhprof for PHP 5.5:
* /usr/local/etc/php/5.5/conf.d/ext-xhprof.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xhprof module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the xhprof module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php55-xhprof/254eb24: 28 files, 1.3M, built in 8 seconds
########
# Configuring php55..
########
Unlinking /usr/local/Cellar/php55/5.5.19... 42 symlinks removed
########
# Installing php54..
########
==> Installing php54 from homebrew/homebrew-php
==> Downloading https://www.php.net/get/php-5.4.35.tar.bz2/from/this/mirror
Warning: Backing up all known pear.conf and .pearrc files
Warning: If you have a pre-existing pear install outside
of homebrew-php, or you are using a non-standard
pear.conf location, installation may fail.
==> ./configure --prefix=/usr/local/Cellar/php54/5.4.35 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.4 --with-config-file-path=/usr/local/etc/php/5.4 --with-config-file-scan-dir=/usr/local/etc/php/5.4/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-intl --enable-soap --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-bcmath --enable-calendar --with-zlib=/usr/local/opt/zlib --with-ldap --with-ldap-sasl=/usr --with-xmlrpc --with-kerberos=/usr --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/local/opt/freetype --with-icu-dir=/usr/local/opt/icu4c --with-jpeg-dir=/usr/local/opt/jpeg --with-png-dir=/usr/local/opt/libpng --with-gettext=/usr/local/opt/gettext --with-libedit --with-unixODBC=/usr/local/opt/unixodbc --with-pdo-odbc=unixODBC,/usr/local/opt/unixodbc --mandir=/usr/local/Cellar/php54/5.4.35/share/man --with-mhash --with-curl=/usr/local/opt/curl --without-snmp --with-bz2=/usr --with-openssl=/usr/local/opt/openssl --with-xsl=/usr/local/opt/libxslt --enable-fastcgi --enable-fpm --with-fpm-user=_www --with-fpm-group=_www --with-gmp=/usr/local/opt/gmp --with-imap=/usr/local/opt/imap-uw --with-imap-ssl=/usr/local/opt/openssl --with-mysql-sock=/tmp/mysql.sock --with-mysqli=mysqlnd --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --enable-pcntl --enable-zend-signals --enable-dtrace
==> make
==> make install
==> /usr/local/Cellar/php54/5.4.35/bin/pear config-set php_ini /usr/local/etc/php/5.4/php.ini
==> Caveats
The php.ini file can be found in:
/usr/local/etc/php/5.4/php.ini
✩✩✩✩ PEAR ✩✩✩✩
If PEAR complains about permissions, 'fix' the default PEAR permissions and config:
chmod -R ug+w /usr/local/Cellar/php54/5.4.35/lib/php
pear config-set php_ini /usr/local/etc/php/5.4/php.ini
✩✩✩✩ Extensions ✩✩✩✩
If you are having issues with custom extension compiling, ensure that
you are using the brew version, by placing /usr/local/bin before /usr/sbin in your PATH:
PATH="/usr/local/bin:$PATH"
PHP54 Extensions will always be compiled against this PHP. Please install them
using --without-homebrew-php to enable compiling against system PHP.
✩✩✩✩ PHP CLI ✩✩✩✩
If you wish to swap the PHP you use on the command line, you should add the following to ~/.bashrc,
~/.zshrc, ~/.profile or your shell's equivalent configuration file:
export PATH="$(brew --prefix homebrew/php/php54)/bin:$PATH"
✩✩✩✩ FPM ✩✩✩✩
To launch php-fpm on startup:
* If this is your first install:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/php54/5.4.35/homebrew.mxcl.php54.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php54.plist
* If this is an upgrade and you already have the homebrew.mxcl.php54.plist loaded:
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php54.plist
cp /usr/local/Cellar/php54/5.4.35/homebrew.mxcl.php54.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php54.plist
The control script is located at /usr/local/Cellar/php54/5.4.35/sbin/php54-fpm
Mountain Lion comes with php-fpm pre-installed, to ensure you are using the brew version you need to make sure /usr/local/sbin is before /usr/sbin in your PATH:
PATH="/usr/local/sbin:$PATH"
You may also need to edit the plist to use the correct "UserName".
Please note that the plist was called 'homebrew-php.josegonzalez.php54.plist' in old versions
of this formula.
To have launchd start php54 at login:
ln -sfv /usr/local/opt/php54/*.plist ~/Library/LaunchAgents
Then to load php54 now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php54.plist
==> Summary
🍺 /usr/local/Cellar/php54/5.4.35: 493 files, 42M, built in 3.3 minutes
==> Installing php54-geoip from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/geoip-1.0.8.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php54/5.4.35/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-geoip/1.0.8 --with-php-config=/usr/local/Cellar/php54/5.4.35/bin/php-config --with-geoip=/usr/local/opt/geoip
==> make
==> Caveats
To finish installing geoip for PHP 5.4:
* /usr/local/etc/php/5.4/conf.d/ext-geoip.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the geoip module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the geoip module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php54-geoip/1.0.8: 4 files, 48K, built in 9 seconds
==> Installing php54-imagick from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/imagick-3.1.0RC2.tgz
==> Patching
patching file imagick-3.1.0RC2/config.m4
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php54/5.4.35/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-imagick/3.1.0RC2 --with-php-config=/usr/local/Cellar/php54/5.4.35/bin/php-config
==> make
==> Caveats
To finish installing imagick for PHP 5.4:
* /usr/local/etc/php/5.4/conf.d/ext-imagick.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the imagick module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the imagick module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php54-imagick/3.1.0RC2: 4 files, 384K, built in 8 seconds
==> Installing php54-mcrypt from homebrew/homebrew-php
==> Downloading https://www.php.net/get/php-5.4.35.tar.bz2/from/this/mirror
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php54/5.4.35/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-mcrypt/5.4.35 --with-php-config=/usr/local/Cellar/php54/5.4.35/bin/php-config --with-mcrypt=/usr/local/opt/mcrypt
==> make
==> Caveats
To finish installing mcrypt for PHP 5.4:
* /usr/local/etc/php/5.4/conf.d/ext-mcrypt.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the mcrypt module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the mcrypt module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php54-mcrypt/5.4.35: 3 files, 64K, built in 25 seconds
==> Installing php54-uploadprogress from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/uploadprogress-1.0.3.1.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php54/5.4.35/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-uploadprogress/1.0.3.1 --with-php-config=/usr/local/Cellar/php54/5.4.35/bin/php-config
==> make
==> Caveats
To finish installing uploadprogress for PHP 5.4:
* /usr/local/etc/php/5.4/conf.d/ext-uploadprogress.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the uploadprogress module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the uploadprogress module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php54-uploadprogress/1.0.3.1: 2 files, 24K, built in 7 seconds
==> Installing php54-xdebug from homebrew/homebrew-php
==> Downloading http://xdebug.org/files/xdebug-2.2.6.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php54/5.4.35/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-xdebug/2.2.6 --with-php-config=/usr/local/Cellar/php54/5.4.35/bin/php-config --enable-xdebug
==> make
==> Caveats
To finish installing xdebug for PHP 5.4:
* /usr/local/etc/php/5.4/conf.d/ext-xdebug.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xdebug module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the xdebug module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php54-xdebug/2.2.6: 5 files, 248K, built in 10 seconds
==> Installing php54-xhprof from homebrew/homebrew-php
==> Downloading https://github.com/facebook/xhprof/archive/254eb24dcfa763c76c57b472093ebc4b81af2b7d.tar.gz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php54/5.4.35/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-xhprof/254eb24 --with-php-config=/usr/local/Cellar/php54/5.4.35/bin/php-config
==> make
==> Caveats
To finish installing xhprof for PHP 5.4:
* /usr/local/etc/php/5.4/conf.d/ext-xhprof.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xhprof module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the xhprof module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php54-xhprof/254eb24: 28 files, 1.3M, built in 8 seconds
########
# Configuring php54..
########
Unlinking /usr/local/Cellar/php54/5.4.35... 41 symlinks removed
########
# Installing php53 prerequisites..
########
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/re2c-0.13.7.5.yosemite.bottle.tar.gz
==> Pouring re2c-0.13.7.5.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/re2c/0.13.7.5: 5 files, 352K
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/flex-2.5.37.yosemite.bottle.1.tar.gz
==> Pouring flex-2.5.37.yosemite.bottle.1.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Some formulae require a newer version of flex.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/flex/lib
CPPFLAGS: -I/usr/local/opt/flex/include
==> Summary
🍺 /usr/local/Cellar/flex/2.5.37: 40 files, 2.2M
==> Installing bison27 from homebrew/homebrew-versions
==> Downloading http://ftpmirror.gnu.org/bison/bison-2.7.1.tar.gz
==> ./configure --prefix=/usr/local/Cellar/bison27/2.7.1
==> make install
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Some formulae require a newer version of bison.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/bison27/lib
==> Summary
🍺 /usr/local/Cellar/bison27/2.7.1: 36 files, 1.8M, built in 63 seconds
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libevent-2.0.21_1.yosemite.bottle.tar.gz
==> Pouring libevent-2.0.21_1.yosemite.bottle.tar.gz
🍺 /usr/local/Cellar/libevent/2.0.21_1: 48 files, 1.9M
########
# Installing php53..
########
==> Installing php53 from homebrew/homebrew-php
==> Downloading https://www.php.net/get/php-5.3.29.tar.bz2/from/this/mirror
==> Patching
patching file configure
patching file configure.in
patching file Zend/zend_language_parser.y
patching file configure
patching file Zend/acinclude.m4
==> rm Zend/zend_{language,ini}_parser.[ch]
Warning: Backing up all known pear.conf and .pearrc files
Warning: If you have a pre-existing pear install outside
of homebrew-php, or you are using a non-standard
pear.conf location, installation may fail.
==> ./configure --prefix=/usr/local/Cellar/php53/5.3.29 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.3 --with-config-file-path=/usr/local/etc/php/5.3 --with-config-file-scan-dir=/usr/local/etc/php/5.3/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-intl --enable-soap --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-bcmath --enable-calendar --with-zlib=/usr/local/opt/zlib --with-ldap --with-ldap-sasl=/usr --with-xmlrpc --with-kerberos=/usr --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/local/opt/freetype --with-icu-dir=/usr/local/opt/icu4c --with-jpeg-dir=/usr/local/opt/jpeg --with-png-dir=/usr/local/opt/libpng --with-gettext=/usr/local/opt/gettext --with-libedit --with-unixODBC=/usr/local/opt/unixodbc --with-pdo-odbc=unixODBC,/usr/local/opt/unixodbc --mandir=/usr/local/Cellar/php53/5.3.29/share/man --with-mhash --with-curl=/usr/local/opt/curl --without-snmp --with-bz2=/usr --with-openssl=/usr/local/opt/openssl --with-xsl=/usr/local/opt/libxslt --enable-fastcgi --enable-fpm --with-fpm-user=_www --with-fpm-group=_www --with-gmp=/usr/local/opt/gmp --with-imap=/usr/local/opt/imap-uw --with-imap-ssl=/usr/local/opt/openssl --with-mysql-sock=/tmp/mysql.sock --with-mysqli=mysqlnd --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --enable-pcntl --enable-zend-multibyte --enable-sqlite-utf8
==> make
==> make install
==> /usr/local/Cellar/php53/5.3.29/bin/pear config-set php_ini /usr/local/etc/php/5.3/php.ini
==> Caveats
The php.ini file can be found in:
/usr/local/etc/php/5.3/php.ini
✩✩✩✩ PEAR ✩✩✩✩
If PEAR complains about permissions, 'fix' the default PEAR permissions and config:
chmod -R ug+w /usr/local/Cellar/php53/5.3.29/lib/php
pear config-set php_ini /usr/local/etc/php/5.3/php.ini
✩✩✩✩ Extensions ✩✩✩✩
If you are having issues with custom extension compiling, ensure that
you are using the brew version, by placing /usr/local/bin before /usr/sbin in your PATH:
PATH="/usr/local/bin:$PATH"
PHP53 Extensions will always be compiled against this PHP. Please install them
using --without-homebrew-php to enable compiling against system PHP.
✩✩✩✩ PHP CLI ✩✩✩✩
If you wish to swap the PHP you use on the command line, you should add the following to ~/.bashrc,
~/.zshrc, ~/.profile or your shell's equivalent configuration file:
export PATH="$(brew --prefix homebrew/php/php53)/bin:$PATH"
✩✩✩✩ FPM ✩✩✩✩
To launch php-fpm on startup:
* If this is your first install:
mkdir -p ~/Library/LaunchAgents
cp /usr/local/Cellar/php53/5.3.29/homebrew.mxcl.php53.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php53.plist
* If this is an upgrade and you already have the homebrew.mxcl.php53.plist loaded:
launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php53.plist
cp /usr/local/Cellar/php53/5.3.29/homebrew.mxcl.php53.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php53.plist
The control script is located at /usr/local/Cellar/php53/5.3.29/sbin/php53-fpm
Mountain Lion comes with php-fpm pre-installed, to ensure you are using the brew version you need to make sure /usr/local/sbin is before /usr/sbin in your PATH:
PATH="/usr/local/sbin:$PATH"
You may also need to edit the plist to use the correct "UserName".
Please note that the plist was called 'homebrew-php.josegonzalez.php53.plist' in old versions
of this formula.
To have launchd start php53 at login:
ln -sfv /usr/local/opt/php53/*.plist ~/Library/LaunchAgents
Then to load php53 now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php53.plist
==> Summary
🍺 /usr/local/Cellar/php53/5.3.29: 484 files, 31M, built in 3.8 minutes
==> Installing php53-geoip from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/geoip-1.0.8.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php53/5.3.29/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-geoip/1.0.8 --with-php-config=/usr/local/Cellar/php53/5.3.29/bin/php-config --with-geoip=/usr/local/opt/geoip
==> make
==> Caveats
To finish installing geoip for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-geoip.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the geoip module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the geoip module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-geoip/1.0.8: 4 files, 48K, built in 9 seconds
==> Installing php53-imagick from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/imagick-3.1.0RC2.tgz
==> Patching
patching file imagick-3.1.0RC2/config.m4
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php53/5.3.29/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-imagick/3.1.0RC2 --with-php-config=/usr/local/Cellar/php53/5.3.29/bin/php-config
==> make
==> Caveats
To finish installing imagick for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-imagick.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the imagick module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the imagick module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-imagick/3.1.0RC2: 4 files, 392K, built in 8 seconds
==> Installing php53-mcrypt from homebrew/homebrew-php
==> Downloading https://www.php.net/get/php-5.3.29.tar.bz2/from/this/mirror
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php53/5.3.29/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-mcrypt/5.3.29 --with-php-config=/usr/local/Cellar/php53/5.3.29/bin/php-config --with-mcrypt=/usr/local/opt/mcrypt
==> make
==> Caveats
To finish installing mcrypt for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-mcrypt.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the mcrypt module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the mcrypt module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-mcrypt/5.3.29: 3 files, 64K, built in 20 seconds
==> Installing php53-uploadprogress from homebrew/homebrew-php
==> Downloading http://pecl.php.net/get/uploadprogress-1.0.3.1.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php53/5.3.29/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-uploadprogress/1.0.3.1 --with-php-config=/usr/local/Cellar/php53/5.3.29/bin/php-config
==> make
==> Caveats
To finish installing uploadprogress for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-uploadprogress.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the uploadprogress module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the uploadprogress module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-uploadprogress/1.0.3.1: 2 files, 24K, built in 7 seconds
==> Installing php53-xdebug from homebrew/homebrew-php
==> Downloading http://xdebug.org/files/xdebug-2.2.6.tgz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php53/5.3.29/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-xdebug/2.2.6 --with-php-config=/usr/local/Cellar/php53/5.3.29/bin/php-config --enable-xdebug
==> make
==> Caveats
To finish installing xdebug for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-xdebug.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xdebug module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the xdebug module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-xdebug/2.2.6: 5 files, 248K, built in 10 seconds
==> Installing php53-xhprof from homebrew/homebrew-php
==> Downloading https://github.com/facebook/xhprof/archive/254eb24dcfa763c76c57b472093ebc4b81af2b7d.tar.gz
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php53/5.3.29/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php53-xhprof/254eb24 --with-php-config=/usr/local/Cellar/php53/5.3.29/bin/php-config
==> make
==> Caveats
To finish installing xhprof for PHP 5.3:
* /usr/local/etc/php/5.3/conf.d/ext-xhprof.ini was created,
do not forget to remove it upon extension removal.
* Validate installation via one of the following methods:
*
* Using PHP from a webserver:
* - Restart your webserver.
* - Write a PHP page that calls "phpinfo();"
* - Load it in a browser and look for the info on the xhprof module.
* - If you see it, you have been successful!
*
* Using PHP from the command line:
* - Run "php -i" (command-line "phpinfo()")
* - Look for the info on the xhprof module.
* - If you see it, you have been successful!
==> Summary
🍺 /usr/local/Cellar/php53-xhprof/254eb24: 28 files, 1.3M, built in 8 seconds
########
# Configuring php53..
########
Unlinking /usr/local/Cellar/php53/5.3.29... 38 symlinks removed
Linking /usr/local/Cellar/php53/5.3.29... 37 symlinks created
########
# Installing php code sniffer..
########
==> Installing php-code-sniffer from homebrew/homebrew-php
==> Downloading http://download.pear.php.net/package/PHP_CodeSniffer-1.5.5.tgz
==> /usr/local/Cellar/php-code-sniffer/1.5.5/bin/phpcs --config-set installed_paths /usr/local/etc/php-code-sniffer/Standards
==> Caveats
Install the alpha release of PHP CodeSniffer with the --devel option.
Verify your installation by running:
phpcs --version
You can read more about phpcs by running:
brew home php-code-sniffer
==> Summary
🍺 /usr/local/Cellar/php-code-sniffer/1.5.5: 846 files, 7.4M, built in 4 seconds
########
# Installing drupal code sniffer..
########
==> Installing drupal-code-sniffer from homebrew/homebrew-php
==> Downloading http://ftp.drupal.org/files/projects/coder-7.x-2.2.tar.gz
==> Caveats
Drupal Coder Sniffer is linked to "/usr/local/etc/php-code-sniffer/Standards/Drupal".
You can verify whether PHP Code Sniffer has detected the standard by running:
phpcs -i
Drupal Coder Sniffer is installed as a drush command in "/usr/local/share/drush/commands/drupal-code-sniffer".
You can verify whether Drush has discovered the standard by running:
drush drupalcs --help
==> Summary
🍺 /usr/local/Cellar/drupal-code-sniffer/7.x-2.2: 85 files, 760K, built in 2 seconds
########
# Installing phpunit..
########
==> Installing phpunit from homebrew/homebrew-php
==> Downloading https://phar.phpunit.de/phpunit-4.3.4.phar
🍺 /usr/local/Cellar/phpunit/4.3.4: 3 files, 3.2M, built in 30 seconds
########
# Installing composer..
########
==> Installing composer from homebrew/homebrew-php
==> Downloading http://getcomposer.org/download/1.0.0-alpha8/composer.phar
==> Caveats
Verify your installation by running:
"composer --version".
You can read more about composer and packagist by running:
"brew home composer".
==> Summary
🍺 /usr/local/Cellar/composer/1.0.0-alpha8: 3 files, 968K, built in 4 seconds
########
# Installing drush..
########
Changed current directory to /Users/steve/.composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing pear/console_table (1.2.1)
Downloading: connection... Downloading: 0% Downloading: 15% Downloading: 95% Downloading: 100%
- Installing symfony/yaml (v2.5.7)
Downloading: connection... Downloading: 0% Downloading: 5% Downloading: 10% Downloading: 15% Downloading: 20% Downloading: 25% Downloading: 30% Downloading: 35% Downloading: 40% Downloading: 100%
- Installing d11wtq/boris (v1.0.8)
Loading from cache
- Installing drush/drush (dev-master c53f71d)
Cloning c53f71df5ccf8966231ad30a2d3053b158f57bfb
pear/console_table suggests installing pear/Console_Color2 (>=0.1.2)
Writing lock file
Generating autoload files
########
# Installing solr..
########
==> Downloading http://www.apache.org/dyn/closer.cgi?path=lucene/solr/4.10.2/solr-4.10.2.tgz
==> Best Mirror http://mirrors.gigenet.com/apache/lucene/solr/4.10.2/solr-4.10.2.tgz
==> Caveats
To have launchd start solr at login:
ln -sfv /usr/local/opt/solr/*.plist ~/Library/LaunchAgents
Then to load solr now:
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.solr.plist
Or, if you don't want/need launchctl, you can just run:
solr start
==> Summary
🍺 /usr/local/Cellar/solr/4.10.2: 4245 files, 223M, built in 2.6 minutes
########
# Downloading solr launch daemon..
########
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 964 0 964 0 0 4443 0 --:--:-- --:--:-- --:--:-- 6602
########
# Setting up launch daemons..
########
########
# Launching daemons now..
########
########
# Finishing mariadb setup..
########
########
# Enter the following when prompted..
#
# Current password: <hit enter>
# Set root password?: [Y/n] y
# New password: <make it easy, eg. mysql>
# Remove anonymous users? [Y/n] y
# Disallow root login remotely? [Y/n] y
# Remove test database and access to it? [Y/n] y
# Reload privilege tables now? [Y/n] y
########
/usr/local/opt/mariadb/bin/mysql_secure_installation: line 379: find_mysql_client: command not found
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.
Set root password? [Y/n] New password:
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MariaDB installation has an anonymous user, allowing anyone
to log into MariaDB without having to have a user account created for
them. This is intended only for testing, and to make the installation
go a bit smoother. You should remove them before moving into a
production environment.
Remove anonymous users? [Y/n] ... Success!
Normally, root should only be allowed to connect from 'localhost'. This
ensures that someone cannot guess at the root password from the network.
Disallow root login remotely? [Y/n] ... Success!
By default, MariaDB comes with a database named 'test' that anyone can
access. This is also intended only for testing, and should be removed
before moving into a production environment.
Remove test database and access to it? [Y/n] - Dropping test database...
... Success!
- Removing privileges on test database...
... Success!
Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.
Reload privilege tables now? [Y/n] ... Success!
Cleaning up...
All done! If you've completed all of the above steps, your MariaDB
installation should now be secure.
Thanks for using MariaDB!
steve ALL=NOPASSWD: /usr/local/bin/nginx
########
# Adding aegir.conf include to ngix.conf..
# Aegir time..
########
# Downloading provision..
########
Unable to load autoload.php. Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md
########
# Clearing drush caches..
########
Unable to load autoload.php. Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md
########
# Installing hostmaster..
########
Unable to load autoload.php. Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md
########
# Download and start hosting queue daemon launch agent..
########
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 608 0 608 0 0 2630 0 --:--:-- --:--:-- --:--:-- 3922
./aegir.sh: line 1006: /var/aegir/config/server_master/nginx/pre.d/nginx_xhprof.ld.conf: No such file or directory
########
# Installing registry_rebuild drush module
########
Unable to load autoload.php. Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md
########
# Symlinking platforms to ~/Sites/Aegir..
########
rmdir: /var/aegir/platforms: No such file or directory
########
# Enabling SSL for local sites..
########
./aegir.sh: line 1019: /var/aegir/config/server_master/nginx/pre.d/nginx_wild_ssl.conf: No such file or directory
nginx: [emerg] open() "/usr/local/etc/nginx/aegir.conf" failed (2: No such file or directory) in /usr/local/etc/nginx/nginx.conf:32
# Setting known network interfaces to use 127.0.0.1 for DNS lookups,this may throw errors, that's ok...
########
AirPort is not a recognized network service.
** Error: The parameters were not valid.
Thunderbolt Ethernet is not a recognized network service.
** Error: The parameters were not valid.
########
# Open your network settings now and confirm the DNS for
# your active device is set to 127.0.0.1, or else things
# will not work properly later in the script.
########
########
# Saving some instructional notes to ~/Desktop/YourAegirSetup.txt..
########
########
# Attempting to email it to you as well..
########
mail: You must specify direct recipients with -s, -c, or -b.
########
# The date.timezone value in /usr/local/etc/php/[version]/php.ini
# Is set to Melbourne/Australia
# You may want to change it to something that suits you better.
########
########
# Double check your network interfaces to ensure their DNS server
# is set to 127.0.0.1 as we only tried to set commonly named interfaces.
########
########
# Please say thanks @BrianGilbert_ http://twiter.com/BrianGilbert_
########
########
# Finished 2014-11-20 20:53:31
########
Did you already have composer installed? here is why the install failed for you.
########
# Downloading provision..
########
Unable to load autoload.php. Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md
########
# Clearing drush caches..
########
Unable to load autoload.php. Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md
########
# Installing hostmaster..
########
Unable to load autoload.php. Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md
You can just run the provision install commands once you figure out why composer is throwing errors.
Thanks for pointing that out and I do have it installed now. Should I just rerun the install or should I try to uninstall first?
it would be quickest to just do the following:
sudo rm -rf ~/.drush/p*
sudo rm -rf ~/.drush/s*
sudo rm -rf /var/aegir/b*
sudo rm -rf /var/aegir/c*
sudo rm -rf /var/aegir/h*
then run the relevant commands between: https://github.com/BrianGilbert/OSXAegirInstaller/blob/master/aegir.sh#L971 and https://github.com/BrianGilbert/OSXAegirInstaller/blob/master/aegir.sh#L986
Remeber to replace the ${DRUSH}, ${USERNAME}, and ${EMAIL} parts of the commands
Thank you Brian, I will try this and will report back later (probably tomorrow since it is the end of the day here) as I'm in the middle of something else at the moment.
Hello Brian,
Unfortunately, I was unable to attempt your suggestions until today because I spent yesterday at a pulmonologist's office.
Anyway, I discovered that when I ran this script a few days ago, I had only Drush version 4.4 running which is why I did not have composer. (Long story about how I ended up with that version of Drush.) I'm now running Drush Version 6.4.0.
I successfully ran the remove commands and the relevant commands between:
https://github.com/BrianGilbert/OSXAegirInstaller/blob/master/aegir.sh#L971
and
https://github.com/BrianGilbert/OSXAegirInstaller/blob/master/aegir.sh#L986
as you suggested, however when I try to start the nginx server with
sudo /usr/local/bin/nginx -s reload
I know get this error:
nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory)
which is the same error that John originally reported at the beginning of this thread.
Thanks in advance for any additional ideas or suggestions! Steve
Solved...
I should have done a little more investigating before I posted before.
What I needed to run is the command:
sudo /usr/local/bin/nginx
because Nginx was not running at all.
Upon doing this, I was able to access the local install of aegir at
http://aegir.ld
So hopefully we can resolve the issue with John's system now.
Thanks for your help and awesome work on this script.
Steve
P.S. I took a quick look through the script and I don't see any place where the script checks to see what version of drush is being used. I'm pretty sure this would have prevented the issues I had and maybe John's too. Not sure what version he had when he first tried to run this script.
@wickwood It would be really hard for me to check and uninstall drush based on all of the possible methods it may have been installed.
Best I can do is add a check that tells you to uninstall it first before completing the script.
Check now added, also updated the readme
Thanks Again, Brian!
Hi Brian,
Thank you for this awesome script. It has saved me a lot of time.
However, I cannot access aegir.ld. after installing. I'm installing it on OSX Yosemite. I think it is a problem with nginx as pointed out by this warning message:
nginx on aegir.ld could not be restarted. Changes might not be [warning] available until this has been done. (error: nginx: [error] open() "/usr/local/var/run/nginx.pid" failed (2: No such file or directory))
There are also some like these: The drush command '@hostmaster provision-verify' could not be found. [error] A Drupal installation directory could not be found [error]
Tell me if this is normal in an installation or what I am doing wrong.
I would attach the logfile here for your reference but it's not possible, so I'll just paste it here: