named start [failed]

n00bRoot

Verified User
Joined
Jan 31, 2009
Messages
18
my vps data recovered but directadmin and many process permission changed.

Named Service stopped, when i wanna start it :
Starting named:[FAILED]
ls -l :
drwxr-x--- 5 root named 4096 Oct 31 06:10 chroot
drwxr-x--- 2 root named 4096 Oct 31 06:10 data
-rw-r----- 1 root named 198 Oct 31 06:10 localdomain.zone
-rw-r----- 1 root named 195 Oct 31 06:10 localhost.zone
-rw-r----- 1 root named 427 Oct 31 06:10 named.broadcast
-rw-r----- 1 root named 1892 Oct 31 06:10 named.ca
-rw-r----- 1 root named 424 Oct 31 06:10 named.ip6.local
-rw-r----- 1 root named 426 Oct 31 06:10 named.local
-rw-r----- 1 root named 427 Oct 31 06:10 named.zero
-rwxrwxrwx 1 root named 898 Oct 31 06:10 patogh.us.db
drwxr-x--- 2 root named 4096 Oct 31 06:10 slaves

permissions are correct ?
 
check /var/log/messages after starting it for errors
 
Find, and run as root, the script in the DirectAdmin scripts directory, which fixes permissions (sorry, I don't remember the name of it offhand.

Jeff
 
Code:
Nov  6 20:29:14 server named[31877]: loading configuration from '/etc/named.conf'
Nov  6 20:29:14 server named[31877]: /etc/named.conf:4: change directory to '/var/named' failed: permission denied
Nov  6 20:29:14 server named[31877]: /etc/named.conf:4: parsing failed
Nov  6 20:29:14 server named[31877]: loading configuration: permission denied
Nov  6 20:29:14 server named[31877]: exiting (due to fatal error)

please help :(
 
i have the same error, i ran the set_permissions.sh file but it is still failing

thanks for the help
 
Make sure you don't have bind-chroot installed. (Note that removing it could cause problems; see the DirectAdmin knowledgebase for more information.

Make sure that your exim.conf file is at /etc/exim.conf and has read permissions enabled for the owner, for the group, and for others. (-rw-r--r--)

Jeff
 
Back
Top