Closed (duplicate)
Project:
Barracuda
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Jul 2011 at 03:13 UTC
Updated:
2 Sep 2011 at 14:54 UTC
Here are the config files: https://gist.github.com/39def7a263f9cb060ab4
Basically, you get an:
nginx: [emerg] invalid parameter "EDIT_THISHTIP" in /var/aegir/config/includes/nginx_advanced_include.conf:283
nginx: configuration file /etc/nginx/nginx.conf test failed
After I changed the IP, I got another error:
nginx -t
nginx: [emerg] the invalid "handled" parameter in /var/aegir/config/server_master/nginx/vhost.d/chive.aegir.kevero.ca:11
nginx: configuration file /etc/nginx/nginx.conf test failed
That file have this inside:
handled:80
I don't know what I must put inside.
Comments
Comment #1
omega8cc commentedThis random issue is already fixed in HEAD, so either upgrade to HEAD or comment out the lines/location referenced as broken in the Nginx config file.
nginx: [emerg] invalid parameter "EDIT_THISHTIP" in /var/aegir/config/includes/nginx_advanced_include.conf:283Then restart Nginx with
service nginx restart.Comment #2
luiginica commented*The problem with "EDIT_THISHTIP" is solved now.
* I have upgraded both BOA and Octopus to HEAD.
I still have a problem in /var/aegir/config/server_master/nginx/vhost.d/ with chive config.
I have the chive.config here: https://gist.github.com/39def7a263f9cb060ab4#file_var_aegir_config_inclu...
...for nginx to start I remove the config for chive because otherwise I get this error:
nginx: [emerg] the invalid "handled" parameter in /var/aegir/config/server_master/nginx/vhost.d/chive.aegir.kevero.ca:11
Comment #3
omega8cc commentedPlease post the results of commands:
ifconfigsipcalc your.real.ip.addrhost your.fqdn.hostname | cut -d: -f2 | awk '{ print $4}'Thanks.
Comment #4
luiginica commentedThank you Omega8cc.
The result of the commands are here: https://gist.github.com/1079565
I also put there my config for chive: /var/aegir/config/server_master/nginx/vhost.d/chive.aegir.kevero.ca :
https://gist.github.com/1079565#file_cat%20chive.aegir.kevero.ca
I don't think that it's a big problem. I think that if I have a chive config for BOA I can repair it. Do you have an example please?
Have a nice day,
Luigi
Comment #5
omega8cc commentedChive vhost should be: https://gist.github.com/39def7a263f9cb060ab4#gistcomment-40345
To avoid this issue please always specify in Barracuda:
And in Octopus:
That way you will avoid weird results of automated guessing of your system IP.
I'm not sure, but maybe we should sanitize those values better? Marking as to-do.
Comment #6
omega8cc commentedComment #7
omega8cc commentedWe fixed this issue already, see: #1248432: BOA install fails when its subdomain has CNAME and not IN A DNS record.
Comment #7.0
omega8cc commentedMisspelled