PDA

View Full Version : named won't start


cryptic
12th April 2007, 18:20
ISPConfig 2.2.11 CentOS 4.4

When I try to start named, I get the following error:
# service named start
Starting named:
Error in named configuration:
/etc/named.conf:3: change directory to '/home/admispconfig/ispconfig/web/multidoc/edit' failed: file not found
/etc/named.conf:3: parsing failed [FAILED]

ls -l /home/admispconfig/ispconfig/web/multidoc/edit
total 104
-rwxr-xr-x 1 admispconfig admispconfig 2769 Mar 15 16:38 delete.php
-rwxr-xr-x 1 admispconfig admispconfig 31646 Mar 15 16:38 edit.php
-rwxr-xr-x 1 admispconfig admispconfig 2021 Mar 15 16:38 empty_trash.php
-rw-r--r-- 1 root root 2769 Apr 10 13:08 named.ca
-rw-r--r-- 1 root root 256 Apr 10 13:08 named.local
-rwxr-xr-x 1 admispconfig admispconfig 3649 Mar 15 16:38 new_switch.php
-rwxr-xr-x 1 admispconfig admispconfig 2190 Mar 15 16:38 node_insert.php
-rwxr-xr-x 1 admispconfig admispconfig 7167 Mar 15 16:38 node.php
-rwxr-xr-x 1 admispconfig admispconfig 6048 Mar 15 16:38 papierkorb.php



My /etc/named.conf

options {
pid-file "/var/named/chroot/var/run/named/named.pid";
directory "/home/admispconfig/ispconfig/web/multidoc/edit";
auth-nxdomain no;
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

cryptic
13th April 2007, 08:36
I figured it out thanks to http://howtoforge.com/forums/showthread.php?t=11207