Just setup a new server, Ubuntu 12.04, and setup Barracuda in the "easy" mode. But, apparently nginx didn't start. When I try starting it manually I get the following error:

Starting nginx: nginx: [emerg] unknown directive "fastcgi_cache_purge" in /var/aegir/config/server_master/nginx/pre.d/nginx_speed_purge.conf:18
nginx: configuration file /etc/nginx/nginx.conf test failed

Does anyone know what I can do to fix this?

Comments

omega8cc’s picture

Status: Active » Postponed (maintainer needs more info)

Please follow bug submission guidelines. Thanks.

jeremyr’s picture

Category: support » bug

Thanks for replying... I guess I was somewhat vague.

  • Setup a new VPS on Linode, clean Ubuntu 12.04.
  • Used BARRACUDA.sh.txt from here http://drupalcode.org/project/barracuda.git/blob/HEAD:/BARRACUDA.sh.txt
  • Edited the file with my hostname and email. Left it on "Easy"
  • Ran the script "bash BARRACUDA.sh.txt" as root.
  • Script failed because of DNS. Fixed that, ran again.
  • Installer completed and I went to the password reset link but the page didn't load
  • Check to see if Nginx was running, it was not. So I ran "service nginx start" and I get the below error message and it does not start.
Starting nginx: nginx: [emerg] unknown directive "fastcgi_cache_purge" in /var/aegir/config/server_master/nginx/pre.d/nginx_speed_purge.conf:18
nginx: configuration file /etc/nginx/nginx.conf test failed
omega8cc’s picture

Status: Postponed (maintainer needs more info) » Fixed

There was a problem, already fixed, with newer version of the Nginx purge module path. It is expected that head may be broken sometimes. However, you should follow the docs and use BOA meta-installer, as explained in the docs/INSTALL.txt and not Barracuda script directly, unless you need some non-standard extra config.

jeremyr’s picture

Status: Fixed » Closed (fixed)

Thank you. I will give that a try.