SymptomsTrying to (re)generate DNS zones by using the DNS Creator we get:
$ java psoft.hsphere.tools.DNSCreator -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
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 ns1.zone.tld SLAVE1 ns2.zone.tld 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 firstname.lastname@example.org /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.
Cause‘named’ user (group) has reached its quota.
ResolutionSince 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.