Article ID: 114570, created on Aug 15, 2012, last review on May 10, 2014

  • Applies to:
  • H-Sphere


Trying to (re)generate DNS zones by using the DNS Creator we get:
$ java -m db -z zone.tld
Working on  zone.tld dns zone;  will pick NS from db
Started at Wed Dec 14 15:45:45 EST 2011
Starting :
The querry is SELECT id,name,email FROM dns_zones WHERE  name=?  ORDER BY nameThe Querry is
SELECT id,name,email FROM dns_zones WHERE  name='zone.tld'  ORDER BY name
Creating DNS zone zone.tld for resellerId 1 MASTER SLAVE1 SLAVE2 UNASSIGNED
[   FAIL   ]
java.lang.Exception: can't open /hsphere/local/var/named/zones_7.conf.21815 for writing.
 Command: ssh -o StrictHostKeyChecking=no -x -a root@ /hsphere/shared/scripts/dns-slavezone-add --zone= zone.tld --master=server_ip
Finished at Wed Dec 14 15:45:55 EST 2011
Zones creation finished

Permissions for the /hsphere/local/var/named/*.* are correct.


‘named’ user (group) has reached its quota.


Since quotas for ‘named’ user and group are not needed to H-Sphere to function normally, we should delete them executing:
#setquota -u named 0 0 0 0 -a
#setquota -g named 0 0 0 0 –a

And then DNS records will be recreated successfully.

f213b9fa8759d57bee5d547445806fe7 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF