A
adstock
Guest
Hello.
2 off plesk 8.01 on Redhat ES4
Got a small problem that I am sure someone has come across or will spot what I have done wrong. I don't mind if someone points out I have made a newbie error as long as I can get the thing working.
Story so Far.
Beaker.yawh.co.uk is the DNS master for all the domains I host.
Installed ART DNS script and after a few tweaks we can get it to create a secondaries.include on a scheduled basis.
pepe.yawh.co.uk is the Slave dns Server and we have installed the xfer script and that pulls the secondaries.include into /var/named/run-root/etc
I then created a softlink for /etc/secondaries.include to copied file in /var/named/run-root/etc/secondaries.include
so then I created the /var/named/run-root/var/slave directory
chown named.named
chmod 770 -R slave
touch slave
and doing a ls -l returns
-r--r--r-- 1 root root 411 Jun 28 01:17 localhost.rev
-r--r--r-- 1 root root 284 Jun 15 2001 make-localhost
-r--r--r-- 1 root root 2769 Jun 15 2001 named.root
-r--r--r-- 1 root root 397 Aug 13 2002 PROTO.localhost.rev
drwxr-xr-x 3 named named 4096 Nov 14 2001 run
drwxrwx--- 2 named named 4096 Aug 8 22:04 slave
When you restart named it is happy, except the for not copying the records from the master.
So I think I have everything sorted, but when you look in /var/log/messages the follwing appears
named[13790]: dumping master file: slave/tmp-XXXXHv0Je5: open: permission denied
Messages also shows the context in which named is running
named[13790]: starting BIND 9.2.4 -u named -c /etc/named.conf -u named -t /var/named/run-root
The Directories directive in the named.conf is standard I belive as it is set to
options {
allow-recursion {
localnets;
};
directory "var/";
auth-nxdomain no;
pid-file "/var/run/named/named.pid";
and the secondaries.include looks like this
zone "yawh.co.uk" {
type slave;
file "slave/yawh.co.uk";
masters { 83.100.191.55; };
allow-transfer { none; };
};
so by my calcuation it should be trying to create the copies of the Zone files in /var/named/run-root/var/slave
From looking around the web, there seems to be a few articles reporting issues like this when running on Redhat ES4, the OS of both pepe and beaker. Both are running Plesk 8.01, and I am fairly new to Plesk, after the death of the sun Cobalt system.
If anyone has any ideas or wants me to try something, then please do post a Reply as I have run out of ideas.
Regards
Adstock
2 off plesk 8.01 on Redhat ES4
Got a small problem that I am sure someone has come across or will spot what I have done wrong. I don't mind if someone points out I have made a newbie error as long as I can get the thing working.
Story so Far.
Beaker.yawh.co.uk is the DNS master for all the domains I host.
Installed ART DNS script and after a few tweaks we can get it to create a secondaries.include on a scheduled basis.
pepe.yawh.co.uk is the Slave dns Server and we have installed the xfer script and that pulls the secondaries.include into /var/named/run-root/etc
I then created a softlink for /etc/secondaries.include to copied file in /var/named/run-root/etc/secondaries.include
so then I created the /var/named/run-root/var/slave directory
chown named.named
chmod 770 -R slave
touch slave
and doing a ls -l returns
-r--r--r-- 1 root root 411 Jun 28 01:17 localhost.rev
-r--r--r-- 1 root root 284 Jun 15 2001 make-localhost
-r--r--r-- 1 root root 2769 Jun 15 2001 named.root
-r--r--r-- 1 root root 397 Aug 13 2002 PROTO.localhost.rev
drwxr-xr-x 3 named named 4096 Nov 14 2001 run
drwxrwx--- 2 named named 4096 Aug 8 22:04 slave
When you restart named it is happy, except the for not copying the records from the master.
So I think I have everything sorted, but when you look in /var/log/messages the follwing appears
named[13790]: dumping master file: slave/tmp-XXXXHv0Je5: open: permission denied
Messages also shows the context in which named is running
named[13790]: starting BIND 9.2.4 -u named -c /etc/named.conf -u named -t /var/named/run-root
The Directories directive in the named.conf is standard I belive as it is set to
options {
allow-recursion {
localnets;
};
directory "var/";
auth-nxdomain no;
pid-file "/var/run/named/named.pid";
and the secondaries.include looks like this
zone "yawh.co.uk" {
type slave;
file "slave/yawh.co.uk";
masters { 83.100.191.55; };
allow-transfer { none; };
};
so by my calcuation it should be trying to create the copies of the Zone files in /var/named/run-root/var/slave
From looking around the web, there seems to be a few articles reporting issues like this when running on Redhat ES4, the OS of both pepe and beaker. Both are running Plesk 8.01, and I am fairly new to Plesk, after the death of the sun Cobalt system.
If anyone has any ideas or wants me to try something, then please do post a Reply as I have run out of ideas.
Regards
Adstock