DNS issue with Scalr 2.5

18 views
Skip to first unread message

Dale-Kurt Murray

unread,
Feb 9, 2012, 2:48:02 PM2/9/12
to scalr-...@googlegroups.com
I upgraded from a previous version of Scalr to release 2.5

Using the same DNS configuration, I'm now having an issue with DNS records and config files.

When I run the cronjob manually I get the following

/usr/bin/php -q /var/scalr/app/cron/cron.php --DNSManagerPoll
2012-02-09 19:44:37,688 - INFO [tran4f34222570b7e:Logger@36] - 'Starting DNSManagerPoll cronjob...'
2012-02-09 19:44:37,688 - INFO [tran4f34222570b7e:Logger@63] - 'Execute rndc status: version: 9.7.3\nCPUs found: 4\nworker threads: 4\nnumber of zones: 19\ndebug level: 0\nxfers running: 0\nxfers deferred: 0\nsoa queries in progress: 0\nquery logging is ON\nrecursive clients: 0/0/1000\ntcp clients: 0/100\nserver is up and running'
2012-02-09 19:44:37,688 - ERROR [tran4f34222570b7e:Logger@307] - 'Zones config is empty'
2012-02-09 19:44:38,688 - INFO [tran4f34222570b7e:Logger@63] - 'Execute rndc status: version: 9.7.3\nCPUs found: 4\nworker threads: 4\nnumber of zones: 19\ndebug level: 0\nxfers running: 0\nxfers deferred: 0\nsoa queries in progress: 0\nquery logging is ON\nrecursive clients: 0/0/1000\ntcp clients: 0/100\nserver is up and running'
PHP Fatal error:  Uncaught exception 'Exception' with message 'Zones config is empty' in /var/scalr/app/src/Scalr/Net/Dns/Bind/RemoteBind.php:37
Stack trace:
#0 /var/scalr/app/src/Scalr/Net/Dns/Bind/RemoteBind.php(23): Scalr_Net_Dns_Bind_RemoteBind->listZones()
#1 /var/scalr/app/cron/class.DNSManagerPollProcess.php(34): Scalr_Net_Dns_Bind_RemoteBind->setTransport(Object(Scalr_Net_Dns_Bind_Transports_LocalFs))
#2 /var/scalr/app/src/LibWebta/library/IO/PCNTL/class.ProcessManager.php(260): DNSManagerPollProcess->OnEndForking()
#3 /var/scalr/app/src/LibWebta/library/IO/PCNTL/class.JobLauncher.php(130): ProcessManager->Run(Object(DNSManagerPollProcess))
#4 /var/scalr/app/cron/cron.php(38): JobLauncher->Launch(1, 180)
#5 {main}
  thrown in /var/scalr/app/src/Scalr/Net/Dns/Bind/RemoteBind.php on line 37

Dale-Kurt Murray

unread,
Feb 9, 2012, 3:42:33 PM2/9/12
to scalr-...@googlegroups.com
After editing the if (count($this->zonesConfig) == 0) throw new Exception("Zones config is empty"); in the RemoteBind.php file I did not have that issue, however my zones.include file is not being updated.

I made a path code change to the path for the client_zone in /var/scalr/app/cron/class.DNSManagerPollProcess.php, which now goes to /var/named/etc/namedb/client_zones path.

However my zones.include still will not get updated.

Srinivasan Subramanian

unread,
Feb 9, 2012, 10:10:52 PM2/9/12
to scalr-...@googlegroups.com
I don't have any issues. But instead of making a path change I retained the original path. Additionally I had to make a symlink called client_zones in /var/named to point to /var/named/etc/namedb/client_zones.

Hope this info helkps in some way.
Sent from my BlackBerry® smartphone

From: Dale-Kurt Murray <dalekur...@gmail.com>
Date: Thu, 9 Feb 2012 12:42:33 -0800 (PST)
Subject: Re: DNS issue with Scalr 2.5

After editing the if (count($this->zonesConfig) == 0) throw new Exception("Zones config is empty"); in the RemoteBind.php file I did not have that issue, however my zones.include file is not being updated.

I made a path code change to the path for the client_zone in /var/scalr/app/cron/class.DNSManagerPollProcess.php, which now goes to /var/named/etc/namedb/client_zones path.

However my zones.include still will not get updated.

--
You received this message because you are subscribed to the Google Groups "scalr-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scalr-discuss/-/itNoah5MviIJ.
To post to this group, send email to scalr-...@googlegroups.com.
To unsubscribe from this group, send email to scalr-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en.
Reply all
Reply to author
Forward
0 new messages