- Forums
- Linux Systems
- Problem Restarting Dns Server Error With Linux Shell Command
This Page Contains information about Problem Restarting Dns Server Error With Linux Shell Command By wallpaperama in category Linux Systems with 0 Replies. [3009], Last Updated: Sat May 18, 2024
wallpaperama
Wed Jun 25, 2008
0 Comments
777 Visits
i send this command:
/etc/init.d/named start
then i get this error:
Starting named:
Error in named configuration:
/etc/named.conf:3: change directory to '/var/named/chroot/var/named' failed: file not found
/etc/named.conf:3: parsing failed
i had ispconfig installed and i could not get my bind dns named server to come up. i tried these command:
chmod 755 /var/named/
chmod 775 /var/named/chroot/
chmod 775 /var/named/chroot/var/
chmod 755 /var/named/chroot/var/named/
chmod 775 /var/named/chroot/var/run/
chmod 777 /var/named/chroot/var/run/named/
cd /var/named/chroot/var/named/
ln -s ../../ chroot
but it didnt work.. so i what i did, i removed chroot
yum remove bind-chroot
then i get this:
Setting up Remove Process
turbopanel-fc7 100% |=========================| 951 B 00:00
updates 100% |=========================| 2.3 kB 00:00
turbopanel-base 100% |=========================| 951 B 00:00
fedora 100% |=========================| 2.1 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package bind-chroot.i386 31:9.4.2-3.fc7 set to be erased
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Removing:
bind-chroot i386 31:9.4.2-3.fc7 installed 12 k
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 0 Package(s)
Remove 1 Package(s)
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : bind-chroot ######################### [1/1]
Removed: bind-chroot.i386 31:9.4.2-3.fc7
Complete!
now that i have chroot removed i will install it again
yum install bind-chroot
once i have installed it i send these commands
chmod 755 /var/named/
chmod 775 /var/named/chroot/
chmod 775 /var/named/chroot/var/
chmod 755 /var/named/chroot/var/named/
chmod 775 /var/named/chroot/var/run/
chmod 777 /var/named/chroot/var/run/named/
cd /var/named/chroot/var/named/
ln -s ../../ chroot
chkconfig --levels 235 named on
/etc/init.d/named start
wo hoooo, this time it worked
Starting named: [ OK ]