LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-26-2004, 04:48 AM   #1
LQ Newbie
Registered: Dec 2004
Posts: 4

Rep: Reputation: 0
Bind chroot problem


Im having a problem getting bind to run in chroot, apparently it cannot write to the file yet:

-rwxrwxrwx 1 named named 0 Dec 26 14:37

im starting named using this command..

./named -t /chroot -u named -c /named/etc/named.conf

log file error:

Dec 26 14:44:25 server1 named[22440]: couldn't open pid file '/named/': Permission denied

any ideas?
Old 12-26-2004, 04:54 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Why a chmod of 777?

What are the perms on the /named directory?

Old 12-26-2004, 05:12 AM   #3
LQ Newbie
Registered: Dec 2004
Posts: 4

Original Poster
Rep: Reputation: 0
drwx------ 10 named named 4096 Dec 26 14:37 named

should be fine..
Old 12-26-2004, 05:14 AM   #4
LQ Newbie
Registered: Dec 2004
Posts: 4

Original Poster
Rep: Reputation: 0
i chmodded it 777 to test i wasnt doing something stupid :/


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
chroot and bind rickl Linux - General 2 01-12-2011 03:21 PM
yum Error: NetworkManager conflicts with bind-chroot btb Fedora 1 10-21-2005 04:55 AM
Fedora bind-chroot permissions wrong rhoekstra Linux - Networking 1 08-07-2005 10:47 PM
Chroot bind 9.3.0 in slackware 10 - noobie houler Linux - Security 8 04-01-2005 06:53 PM
Bind 9 - Chroot problems Nauseous Linux - Networking 2 11-01-2003 05:51 AM

All times are GMT -5. The time now is 11:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration