Current time: 11-16-2024, 04:18 AM Hello There, Guest! (LoginRegister)


Post Reply 
cannot create regular file `/var/named/data/': Is a directory
Author Message
JamesShijie Offline


Posts: 2
Joined: Jul 2010
Reputation: 0
Post: #1
cannot create regular file `/var/named/data/': Is a directory
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?
07-01-2010 04:29 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: cannot create regular file `/var/named/data/': Is a directory
Distro?
07-02-2010 02:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
JamesShijie Offline


Posts: 2
Joined: Jul 2010
Reputation: 0
Post: #3
RE: cannot create regular file `/var/named/data/': Is a directory
(07-02-2010 02:22 AM)gOOvER Wrote:  Distro?
CentOS 5.5, x86_64, kernel version 2.6.18-194.3.1.el5
07-02-2010 12:26 PM
Find all posts by this user Quote this message in a reply
otacon Offline
Newbie
*

Posts: 6
Joined: Jul 2010
Reputation: 0
Post: #4
RE: cannot create regular file `/var/named/data/': Is a directory
(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
07-05-2010 03:07 PM
Find all posts by this user Quote this message in a reply
noxym.com Offline


Posts: 1
Joined: Jul 2010
Reputation: 0
Post: #5
RE: cannot create regular file `/var/named/data/': Is a directory
i m also getting error
07-11-2010 09:52 AM
Find all posts by this user Quote this message in a reply
zion.trooper Offline
Junior Member
*

Posts: 11
Joined: Dec 2009
Reputation: 0
Post: #6
RE: cannot create regular file `/var/named/data/': Is a directory
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
02-22-2011 03:40 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)