Posted by ckosloff on January 11, 2014 at 3:47am
I am running a vanilla Debian 7 install on Linode.
BOA install continuously fails on this error.
Your MY_HOSTN and/or _MY_FRONT doesn't match your _MY_OWNIP,
or your hostname is not set properly yet.
* Please make sure that below command returns your FQDN hostname "www.wigzilla.com":
$ uname -n
* Your server has to have already working FQDN hostname matching your IP address.
This means you _have to configure the dns for your server IP/hostname before
trying to use this install script. Reverse dns is not required.
* Your hostname appears to be www.wigzilla.com - are you sure it's a valid FQDN hostname?
This is the ouput of my terminal:
root@iky:~# uname -n
www.wigzilla.com
root@iky:~# hostname -f
www.wigzilla.com
Also, there is an A record with www pointing to the right IP.
Can somebody explain this?
Categories: BOA
Comments
Use the Lindoe DNS servers
Although it states no reverse DNS required, I would make sure it is there for your host. Also use Linode's DNS servers. And I would strongly recommend not naming your server www.domain.com. instead something like web01.domain.com. And then alias your www.domain.com website to it. Otherwise you will have problems with the Aegir control panel conflicting with your business website.
Peace,
Michael Clendening
I think you do not use www in hostname
I would always use wigzilla.com and not www.wigzilla.com as host name (without any http:// or www). I never had a problem. See BOA install.txt at https://github.com/omega8cc/nginx-for-drupal/blob/master/docs/INSTALL.txt it gives you an example. Also as said in previous comment use web01.wigzilla.com or server1.wigzilla.com. Also you don't need to set host name manually (in case you have done it), it is set automatically by BOA using the host name parameter in install command.
The reason why I entered www
The reason why I entered www is simply because I have tried countless other configs, including the following: master.wigzilla.com, which is my rDNS.
Both www and master have A records.
I have redeployed the Linode countless times trying to fix this.
However:
or your hostname is not set properly yet.
$ uname -n
This means you have to configure the dns for your server IP/hostname before
trying to use this install script. Reverse dns is not required.
Barracuda [Sun Jan 12 01:11:13 UTC 2014] ==> EXIT on error due to invalid DNS setup
Octopus [Sun Jan 12 01:11:14 UTC 2014] ==> ALRT: Percona server not running properly!
Octopus [Sun Jan 12 01:11:14 UTC 2014] ==> EXIT: We can't proceed and will exit now
Octopus [Sun Jan 12 01:11:14 UTC 2014] ==> HINT: Please (re)start Percona server and then run installer again
Octopus [Sun Jan 12 01:11:14 UTC 2014] ==> Bye
BOA in-stable completed
Bye
root@iky:~# uname -n
master.wigzilla.com
root@iky:~# hostname -f
master.wigzilla.com
root@iky:~# hostname
master.wigzilla.com
root@iky:~# logout
Connection to 66.228.61.147 closed.
ckosloff@papimalo:~$ ssh root@66.228.61.147
root@66.228.61.147's password:
root@master:~#
As you can see my hostname was "iky", but script changed it to "master..."
I am following Linode's instructions to set hostname first, but apparently BOA script conflicts with that.
So I redeployed Linode, there
So I redeployed Linode, there is absolutely nothing there, I did not touch /etc/hosts and did not set hostname.
Verified that master.wigzilla.com is my rDNS and that it points to my IP.
Verified that it is propagated.
It is a "subdomain", with its own A record in Linode's DNS Manager.
And, yes, I have read the install.txt.
ckosloff@papimalo:~$ host master.wigzilla.com
master.wigzilla.com has address 66.228.61.147
ckosloff@papimalo:~$ getent hosts master.wigzilla.com
66.228.61.147 master.wigzilla.com
However, I am getting exact same error.
Your custom _MY_OWNIP is set to "66.228.61.147"
* Your custom _MY_HOSTN is set to "master.wigzilla.com"
* Your custom _MY_FRONT is set to "master.master.wigzilla.com"
* Your _MY_HOSTN and/or _MY_FRONT doesn't match your _MY_OWNIP,
or your hostname is not set properly yet.
I really cannot understand what it is that this script wants and am ready to give up on it.
SUCCESS! I finally understood
SUCCESS!
I finally understood what it is that this damn script wants.
It just wants a * A record.
It does NOT want a hard-coded A record or "subdomain".
After the wildcard propagates you can check any subdomain (e.g. webo1) by typing at prompt
getent hosts webo1.wigzilla.com
or
host webo1.wigzilla.com
if the wildcard propagated it should print the IP
Again, webo1 is not listed as an A record, it can be anything, EXCEPT a hard-coded A record.
Everything installed successfully.
Background on why it worked with * A Record
https://drupal.org/node/1876980
Peace,
Michael Clendening
In Commons Distro Admin/Modules loses path opens front page
In Commons Distro Admin/Modules loses path and opens the front page. So you can't access Admin/modules from admin panel, because that url suddenly opens the front page. drush still works on the modules but it is inconvenient to say the least. Any idea how I can fix this? It's on a 1 gig linode and it has happened on two separate servers with ubuntu 12.04.
This needs to be asked in the
This needs to be asked in the Commons issue queue.