Hi. I have just upgraded barracuda to the latest version (1.0-boa-T-8.7). Now whenever I try and run the Octopus script to upgrade my octopus instances I get the following error:

Octopus [Tue May 31 09:49:06 UTC 2011] ==> INFO: Testing Drupal, GitHub and Gitorious servers availability, please wait...
Octopus [Tue May 31 09:49:10 UTC 2011] ==> INFO: Drupal master repository will be used for this install
Octopus [Tue May 31 09:49:10 UTC 2011] ==> STATUS: This script is ran as a root user.
UPGRADE in progress..
UPGRADE v.2 in progress..
RAW _DOMAIN is o2o.my.domain.com
_LASTNUM is 015
_DISTRO is 016
_LAST_HMR is 015
_HM_DISTRO is 016
_LAST_ALL is 005
_ALL_DISTRO is 006
Octopus [Tue May 31 09:49:12 UTC 2011] ==> ERROR: Your defined domain: o2o.my.domain.com doesn't point to your IP: **.***.**.***.
Octopus [Tue May 31 09:49:12 UTC 2011] ==> Please make sure you have valid IN A or IN CNAME record in your DNS.
Octopus [Tue May 31 09:49:12 UTC 2011] ==> It's also possible, that your DNS change didn't propagate yet. Wait a bit.
Octopus [Tue May 31 09:49:12 UTC 2011] ==> Bye.

I have sanitized the domain and ip addy for obvious reasons - however this server has been happily running these scripts since 0.4 days and not had any problems. I noticed the last Barracuda script installed PDNS so maybe there was a misconfig issue there however if I ping the domain in an ssh session it does return the correct IP address so I am not sure what the problem is. Can anyone help me?

TIA,

JamieT

Comments

omega8cc’s picture

The pdnsd cache is optional (unless required - then it is installed without any prompt).
If you installed it, you may need to restart it a few times, deleting the cache file during restarts, like below:

invoke-rc.d pdnsd stop
rm -f /var/cache/pdnsd/pdnsd.cache
invoke-rc.d pdnsd start
sleep 3
invoke-rc.d pdnsd stop
sleep 3
rm -f /var/cache/pdnsd/pdnsd.cache
invoke-rc.d pdnsd start

Or uninstall it completely and move back the original resolv.conf file:

aptitude remove pdnsd
aptitude purge pdnsd
mv /etc/resolv.conf /etc/resolv.conf.old
cp -af /var/backups/resolv.conf.bak /etc/resolv.conf

Of course you can also disable the DNS check on Octopus install/upgrade, but then you will only hide the problem instead of fixing it.

jamiet’s picture

Status: Active » Closed (fixed)

Thanks for the feedback - sorry for the delay in responding for some reason I did not get an email advising of a response?

I tried to stop and restart pdnsd a few times but the problem persisted so I took the second route to remove and purge pdnsd instead. This solved the dns check issue so thanks a lot for your help.

JamieT

omega8cc’s picture

Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

PlayfulWolf’s picture

I'm getting the same - removing pdnsd doesn't change anything, also for some reason

ERROR: Your defined domain: o2o.my.domain.com doesn't point to your IP: **.***.**.***. -> here it is written 127.0.0.2, but should be real IP right?

PlayfulWolf’s picture

also, in octopus script uname -n prints just "subdomain", when it should print full subdomain.domain.com right?

omega8cc’s picture

@PlayfulWolf - This issues is already closed - please don't cross post here.