ispCP - Board - Support
cannot create regular file `/var/named/data/': Is a directory - 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: cannot create regular file `/var/named/data/': Is a directory (/thread-11090.html)



cannot create regular file `/var/named/data/': Is a directory - JamesShijie - 07-01-2010 04:29 PM

Hello,

I'm running the install script perl ispcp-setup, and I'm running into an error:

Code:
Starting Installation
/bin/cp: cannot create regular file `/var/named/data/': Is a directory
Ending...

So I go in and look at the /var/named/ directory, and list it out, and it has this:
Code:
total 32K
drwxr-x---  5 root  named 4.0K Jul  1 14:18 .
drwxr-xr-x 29 root  root  4.0K Jun 30 16:49 ..
drwxr-x---  3 root  named 4.0K Jun 30 12:07 chroot
drwxrwx---  2 named named 4.0K Jan 21 00:31 data-disabled
drwxrwx---  2 named named 4.0K Jan 21 00:31 slaves

So why is it giving me this error?


RE: cannot create regular file `/var/named/data/': Is a directory - gOOvER - 07-02-2010 02:22 AM

Distro?


RE: cannot create regular file `/var/named/data/': Is a directory - JamesShijie - 07-02-2010 12:26 PM

(07-02-2010 02:22 AM)gOOvER Wrote:  Distro?
CentOS 5.5, x86_64, kernel version 2.6.18-194.3.1.el5


RE: cannot create regular file `/var/named/data/': Is a directory - otacon - 07-05-2010 03:07 PM

(07-02-2010 12:26 PM)JamesShijie Wrote:  
(07-02-2010 02:22 AM)gOOvER Wrote:  Distro?
CentOS 5.5, x86_64, kernel version 2.6.18-194.3.1.el5

the data folder shouldn't even be there since the instructions say to do this:

1.8 BIND DNS

icpCP ω keeps domain configuration in a file named named-ispcp.conf. We need to link that to named.conf for the DNS service to start. We also need to make a few links for zones to be managed correctly. Simply run the following commands:

mv /var/named/data /var/named/data-disabled
ln -s /var/named/chroot/var/named/data /var/named/data
echo 'include "/etc/named-ispcp.conf";' >> /var/named/chroot/etc/named.conf


RE: cannot create regular file `/var/named/data/': Is a directory - noxym.com - 07-11-2010 09:52 AM

i m also getting error


RE: cannot create regular file `/var/named/data/': Is a directory - zion.trooper - 02-22-2011 03:40 PM

Old topic, but same error. Smile
I remove do whole stuff how it should be (mv /var/named/data)
But soon as I run config, it is there again :S

I'm 101% sure that it wasn't there (double checked)
It is softlink to /var/named/chroot/var/named/data

So, installer created this, but for some reason it detected this as problem ?

Fedora 13 | ispCP 1.0.6