Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-22-2003, 11:49 AM   #1
LQ Newbie
Registered: Jun 2003
Distribution: RedHat 9
Posts: 5

Rep: Reputation: 0
DNS/Bind Help


Have been trying to setup bind/dns for the last couple of days. Have folled online docs and what not, still not working. I keep getting the following error in my message log:

"could'nt open pid file '/usr/var/run/ : No such file or directory"

I have had a look and there is no file. What is it asking for and how do I fix it.

Also I noticed it was asking and trying to find named.conf in /usr/etc but I have it refered to at /var/named and could not see where /usr/etc was coming from. Fixed this by creating a symlink but not sure if this is correct way of fixing it?

Any help, greater points of reference/wisdom would be greatly appreciated.
Old 06-23-2003, 12:32 PM   #2
LQ Newbie
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
try running bind like this.

named -c /path/to/named.conf

also the pid....make sure that the user you are trying to run named as has permission to write to that directory, AND make sure that the directory /var/log/run/ is there
Old 06-23-2003, 03:52 PM   #3
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
If the directory and permissions are OK, create the file (empty) and see what happend when you run bind. But I guess there's something wrong with the permissions.


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
Dns (bind) njdownes Linux - Networking 3 02-28-2005 09:15 AM
DNS Bind TKS Linux - Networking 6 05-03-2004 12:30 AM
bind and dns? Digital_Err0r Linux - Newbie 5 03-18-2004 05:23 PM
DNS and Bind pharpe Linux - Networking 3 01-15-2003 02:54 PM
DNS and BIND dilberim82 Linux - General 10 07-13-2001 10:31 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:18 PM.

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
Open Source Consulting | Domain Registration