ispCP - Board - Support
1.8 BIND DNS problem - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: 1.8 BIND DNS problem (/thread-10698.html)



1.8 BIND DNS problem - qubed - 05-15-2010 11:49 PM

sys. centos
iscpc 1.0.5

when i get to the stage where i have to
PHP Code:
mv /var/named/data /var/named/data-disabled
ln 
-/var/named/chroot/var/named/data /var/named/data
echo 'include "/etc/named-ispcp.conf";' >> /var/named/chroot/etc/named.conf 

i get errors

Code:
[root@ibiznes named]# mv /var/named/data /var/named/data-disabled
mv: cannot overwrite directory `/var/named/data-disabled/data' with non-directory
[root@ibiznes named]# ln -s /var/named/chroot/var/named/data /var/named/data
ln: creating symbolic link `/var/named/data' to `/var/named/chroot/var/named/data': File exists
[root@ibiznes named]# echo 'include "/etc/named-ispcp.conf";' >> /var/named/chroot/etc/named.conf

any ideas how to solve, i have to add that i'm newbie to iscpc.


RE: 1.8 BIND DNS problem - BeNe - 05-18-2010 10:11 PM

Code:
mv: cannot overwrite directory `/var/named/data-disabled/data' with non-directory
The directory already exist, so you moved it already.
Code:
ln: creating symbolic link `/var/named/data' to `/var/named/chroot/var/named/data': File exists
File exists...

Greez BeNe