LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 0
Bind chroot problem


Hi,

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

-rwxrwxrwx 1 named named 0 Dec 26 14:37 named.pid

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/named.pid': Permission denied

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

Rep: Reputation: 69
Why a chmod of 777?

What are the perms on the /named directory?

Cool
 
Old 12-26-2004, 04:12 AM   #3
dementiaa
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, 04:14 AM   #4
dementiaa
LQ Newbie
 
Registered: Dec 2004
Posts: 4

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


Reply


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 02:21 PM
yum Error: NetworkManager conflicts with bind-chroot btb Fedora 1 10-21-2005 03:55 AM
Fedora bind-chroot permissions wrong rhoekstra Linux - Networking 1 08-07-2005 09:47 PM
Chroot bind 9.3.0 in slackware 10 - noobie houler Linux - Security 8 04-01-2005 05:53 PM
Bind 9 - Chroot problems Nauseous Linux - Networking 2 11-01-2003 04:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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