LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   named.conf problem (https://www.linuxquestions.org/questions/linux-software-2/named-conf-problem-423572/)

dfilkovi 03-10-2006 12:41 PM

named.conf problem
 
I'we put this line in it:
include "/etc/smbind/smbind.conf";

and when I try to start named service it says
Error in named configuration:
/etc/named.conf:64: open: /etc/smbind/smbind.conf: file not found

but the dir and the file are there.

I tried tu put the dir somewhere else and changed named.conf accordingly but the problem still exist.

I'm running Fedora core 4.

marozsas 03-10-2006 01:57 PM

This is because named run in in a jail and, in the jail, there is no such file.

Try to figure out where is the jail. Mine is "/var/lib/named".
Copy your included file to the jail. e.g.
Code:

# mkdir /var/lib/named/etc/smbind
# cp /etc/smbind/smbind.conf /var/lib/named/etc/smbind

cheers,

PS: You do not need to update the path in named.conf.

dfilkovi 03-10-2006 05:18 PM

Thank you it worked.


All times are GMT -5. The time now is 09:12 PM.