LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 10-22-2007, 09:39 AM   #1
Fedora 6
Member
 
Registered: Oct 2007
Posts: 35

Rep: Reputation: 15
Urgent .... BIND 9.3.4 Problems


Hey everyone
Please help me
When I write this command /usr/sbin/named -g
I always get this message

22-Oct-2007 12:03:49.626 starting BIND 9.3.4-P1 -g
22-Oct-2007 12:03:49.628 found 1 CPU, using 1 worker thread
22-Oct-2007 12:03:49.635 loading configuration from '/etc/named.conf'
22-Oct-2007 12:03:49.639 listening on IPv4 interface lo, 127.0.0.1#53
22-Oct-2007 12:03:49.642 binding TCP socket: address in use
22-Oct-2007 12:03:49.643 listening on IPv4 interface eth0, 192.168.1.29#53
22-Oct-2007 12:03:49.645 binding TCP socket: address in use
22-Oct-2007 12:03:49.652 couldn't add command channel 127.0.0.1#953: address in use
22-Oct-2007 12:03:49.653 couldn't add command channel ::1#953: address in use
22-Oct-2007 12:03:49.655 ignoring config file logging statement due to -g option
22-Oct-2007 12:03:49.656 couldn't open pid file '/var/run/named/named.pid': Permission denied
22-Oct-2007 12:03:49.657 exiting (due to early fatal error)

so please any on can tell me what to do ????
Thank you
 
Old 10-22-2007, 09:44 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
please do not mark threads as urgent. it is not urgent to any of the lq.org members who kindly donate their time to help others. Thread also moved to Linux - Server as this is not a networking question.
 
Old 10-22-2007, 09:54 AM   #3
Fedora 6
Member
 
Registered: Oct 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Ok ... Thank you Chris
And sorry for disturbing you
 
Old 10-22-2007, 04:21 PM   #4
schenke
LQ Newbie
 
Registered: Oct 2007
Location: Iowa
Distribution: Redhat EL 3
Posts: 27

Rep: Reputation: 15
Change the mode of /var/run/named/ to 755, make sure the configuration is right, and try again.
 
Old 10-22-2007, 08:40 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,159

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
It looks like something might already be listening on port 53 ... have you used netstat to check that the port is clear?
 
Old 10-23-2007, 02:53 AM   #6
Fedora 6
Member
 
Registered: Oct 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Dear friends ... Thank you for your replies .. but nothing solved the problem
I did the following commands :
chmod 755 /var/named/
chmod 775 /var/named/chroot/
chmod 775 /var/named/chroot/var/
chmod 775 /var/named/chroot/var/named/
chmod 775 /var/named/chroot/var/run/
chmod 777 /var/named/chroot/var/run/named/
cd /var/named/chroot/var/named/
ln -s ../../ chroot
chkconfig --levels 235 named on
/etc/init.d/named start

but I always get the same error messages
so what to do ??? any Idea ??
Thanks
 
Old 10-23-2007, 05:04 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
is named not already running?? everything suggests that it is... run "pidof named" to see if it's already active.
 
Old 10-23-2007, 08:29 AM   #8
Fedora 6
Member
 
Registered: Oct 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Dear Chris
I ran pidof named and I got this :
11343 11286

What this means ?
Thanks
 
Old 10-23-2007, 09:15 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
it means that there are already named processes in existence. you can't start somethign that's already running.
 
  


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
BIND 8 problems unkn0wn Linux - Networking 4 07-08-2006 07:03 PM
BIND problems joel112 Linux - Software 1 02-20-2006 09:55 AM
URGENT-BIND can't find... xailer Linux - Newbie 4 11-30-2003 06:40 PM
Bind problems. KnightAbel Linux - Networking 1 04-07-2003 10:05 AM
Bind Probs (URGENT) mikeyt_333 Linux - Networking 1 01-18-2002 05:32 PM


All times are GMT -5. The time now is 03:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration