BrianGilbert / OSXAegirInstaller

This script installs aegir on OSX using Homebrew
30 stars 10 forks source link

error starting nginx (different) #16

Closed MetaBureau closed 10 years ago

MetaBureau commented 10 years ago

"sudo /usr/local/bin/nginx" or "sudo nginx"

returns

"nginx: [emerg] unexpected end of file, expecting ";" or "}" in /var/aegir/config/server_master/nginx/pre.d/1:3"

This file contains "launchctl: Couldn't stat("2"): No such file or directory launchctl: Error unloading: homebrew-php.josegonzalez.php55 "

MetaBureau commented 10 years ago

removing "/var/aegir/config/server_master/nginx/pre.d/1" allows server to start

BrianGilbert commented 10 years ago

Thanks for pointing this out, you can fix on your machine by changing occurances of:

2&>1 > /dev/null

to

> /dev/null 2&>1

in /usr/local/bin/go53, /usr/local/bin/go54, /usr/local/bin/go55

fix will be pushed for script shortly