DHCPD updating BIND on SUSE
hi all, im trying to get dynamic updated to work. i have read other forums and howtos, but still run in to the same problem:
May 17 21:07:27 Server1 named[10588]: client 10.1.2.2#32881: updating zone 'domain/IN': adding an RR at 'computer.domain' A May 17 21:07:27 Server1 named[10588]: client 10.1.2.2#32881: updating zone 'domain/IN': adding an RR at 'computer.domain' TXT May 17 21:07:27 Server1 named[10588]: journal file master/domainX.jnl does not exist, creating it May 17 21:07:27 Server1 named[10588]: master/domainX.jnl: create: permission denied May 17 21:07:27 Server1 named[10588]: client 10.1.2.2#32881: updating zone 'domain/IN': error: journal open failed: unexpected error May 17 21:07:27 Server1 dhcpd: Unable to add forward map from computer.domain. to 10.1.2.32: timed out it looks like a permissions issue, but i have tried chown -R named named chgrp -R named named and chmod -R 777 named but I still get the same error in the log. Any help would be much appreciated. thanks Richard. |
That is frequently a problem found in Redhat versions of linux with SElinux enabled. Here is a quote about it:
Quote:
You should put your distro in your profile, so we know what you're running. It seems like it is Redhat, Fedora, CentOS or one of those, but that is just a guess as you didn't tell us. Peace, JimBass |
Re:
Hi, thanks for that. Im running Suse 10.1 (have updated profile now). I did give it a try (moving my zone files to var/named/slaves, but it had no effect. Have you get any other suggestions?
Thanks in advance Richard |
Once you create the zone files in the new directory, you're not quite done. You need to change the named.conf file, telling it that the zone should now be in /var/named/slaves, you have to have the zone in /var/named/slaves, and you need to restart the BIND process. I suspect that all of that didn't happen.
Peace, JimBass |
Hi Jim, I have done all that, but my directory is not /var/named/slaves, its /var/lib/named/var/named/slaves, because named is running chrooted. Anyway, its still not happy.
Thanks for all your help so far. Richard. |
It could be that when you restarted named, the old version didn't die. Please stop named and check that it is dead, (try "ps aux | grep named"), then start it up. Alos, please post both the part of your named.conf file that deals with the zone in question, and also post the results of "ls -al" in /var/lib/named/var/named/slaves.
Peace, JimBass |
All times are GMT -5. The time now is 11:59 AM. |