Newbie Question : ERROR: dhcp Unable to add forward map from

Andrew C. Dingman adingman at cookgroup.com
Wed Mar 7 18:42:09 UTC 2007


On Wed, 2007-03-07 at 21:31 +1100, Glenn Satchell wrote:
> >Date: Wed, 7 Mar 2007 12:43:40 +0530 (IST)
> >From: dhcp2003 <dhcp2003-dhcp2003 at yahoo.co.in>
> >Subject: Newbie Question : ERROR: dhcp Unable to add forward map from
> >To: dhcp-users at isc.org
> >
> >Hi, 
> >
> >I am not able figure out that my why do I get following errors? 
> >
> >DHCP ERROR: 
> >dhcp: Unable to add forward map from "computername" to 10.20.155.196
> >
> >Named Error:
> >named [805] /etc/namedb/dishs.net.jnl : create permission denied.
> >
> >Is there any relationship between these two messages?
> >
> >Please help me out of this chaos, I can submit my configuration filles for 
> perusal. 
> >Is it related to hosts file? 
> 
> Wild guess here. named is often run as a non-root user, eg look for the
> running named process. The user is specified with the -u option, eg
> named -u bind is common, and in that case the user would be 'bind'.
> 
> Make sure this user has write permission on the directory /var/named
> and all the files in it.
> 
> The dhcp error likely flows on form the error status returned from the
> failed update.
> 
> regards,
> -glenn

If your name server is running on RHEL with SELinux in "enforcing" mode,
the default policy forbids named from making changes to the zone files.
There's a check box in system-config-securitylevel that will let you
change the setting to allow dynamic DNS updates to work. It can also be
altered from the command line, of course, but I don't remember the
command off the top of my head.




More information about the dhcp-users mailing list