LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-11-2004, 01:25 AM   #1
LinuxRam
Member
 
Registered: Jul 2004
Distribution: Red Hat 9, Mandrake 9.2
Posts: 211

Rep: Reputation: 30
DNS service error


#/etc/init.d/named restart
Stopping named: [Failed]
Starting named: [ ok ]


#less /var/log/messages
Sep 11 11:57:35 mandrake named[3437]: starting BIND 9.2.3rc2 -u named
Sep 11 11:57:35 mandrake named[3437]: using 1 CPU
Sep 11 11:57:35 mandrake named[3439]: loading configuration from '/etc/named.conf'
Sep 11 11:57:35 mandrake named: named startup succeeded
Sep 11 11:57:35 mandrake named[3439]: no IPv6 interfaces found
Sep 11 11:57:35 mandrake named[3439]: listening on IPv4 interface lo, 127.0.0.1#53
Sep 11 11:57:35 mandrake named[3439]: listening on IPv4 interface eth0, 192.168.1.2#5
3
Sep 11 11:57:35 mandrake named[3439]: command channel listening on 127.0.0.1#953

Sep 11 11:57:35 mandrake named[3439]: couldn't open pid file '/var/run/named.pid':
Permission denied

Sep 11 11:57:35 mandrake named[3439]: exiting (due to early fatal error)


and no such pid file is present over there (/var/run) and if create a manual pid file over there and restart the named then also same error and pid file automatically removed from /var/run/


any idea??

Last edited by LinuxRam; 09-11-2004 at 01:28 AM.
 
Old 09-11-2004, 02:05 AM   #2
bijay
LQ Newbie
 
Registered: Jan 2003
Location: Nepal
Distribution: Redhat
Posts: 11

Rep: Reputation: 0
Hello,

use the following commands

chown -R named.named /var/run
chmod -R 640 /var/run
 
Old 09-11-2004, 02:05 AM   #3
bijay
LQ Newbie
 
Registered: Jan 2003
Location: Nepal
Distribution: Redhat
Posts: 11

Rep: Reputation: 0
Hello,

use the following commands

chown -R named.named /var/run
chmod -R 640 /var/run
service named restart
 
Old 09-11-2004, 02:11 AM   #4
LinuxRam
Member
 
Registered: Jul 2004
Distribution: Red Hat 9, Mandrake 9.2
Posts: 211

Original Poster
Rep: Reputation: 30
should i do

this
chown -R named.named /var/run
chmod -R 640 /var/run

this will change owner ship of all the files under /var/run/ directory to named

or should i do this

chown -R named.named /var/run/named.pid

but their no such file
 
Old 09-12-2004, 05:26 AM   #5
bijay
LQ Newbie
 
Registered: Jan 2003
Location: Nepal
Distribution: Redhat
Posts: 11

Rep: Reputation: 0
Sorry,

I did mistake.

Please use the following commands

chown named.named -R /var/run/named
chmod -R 770 /var/run/named
/etc/rc.d/init.d/named start


Please note /var/run/named is a directory.
 
  


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
DNS service error questions emailssent Linux - Networking 72 10-12-2004 06:08 AM
Dns Service praveenv Linux - Newbie 2 09-08-2004 12:24 PM
Dynamic Ip Dns Service murphyyoung Linux - Networking 2 06-19-2004 02:34 PM
DNS ERROR: Name or service not known. rioguia Linux - Networking 25 10-21-2003 09:46 AM
DNS Service ddepuemd Linux - Networking 1 05-16-2002 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:25 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