LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
LinkBack Search this Thread
Old 09-01-2011, 06:38 PM   #1
SolSteve
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
Unhappy Issue with BIND not starting please HELP is it firewall related or?


When I try to start the named daemon I get these errors in the logs...it was running fine before and no recent changes in named.conf


Sep 1 15:21:09 nsX named[1318]: [ID 866145 daemon.info] loading configuration from '/usr/local/etc/named.conf'
Sep 1 15:21:09 nsX named[1318]: [ID 866145 daemon.error] /usr/local/etc/named.conf:61: unknown option 'key'
Sep 1 15:21:09 nsX named[1318]: [ID 866145 daemon.error] /usr/local/etc/named.conf:66: unknown option 'controls'
Sep 1 15:21:09 nsX named[1318]: [ID 866145 daemon.error] /usr/local/etc/named.conf:71: '}' expected near end of file
Sep 1 15:21:09 nsX named[1318]: [ID 866145 daemon.crit] loading configuration: unexpected token
Sep 1 15:21:09 nsX named[1318]: [ID 866145 daemon.crit] exiting (due to fatal error)


This is somewhat urgent to fix


thanks!
 
Old 09-01-2011, 06:52 PM   #2
smallpond
Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 699

Rep: Reputation: 123Reputation: 123
Quote:
Originally Posted by SolSteve View Post
When I try to start the named daemon I get these errors in the logs...it was running fine before and no recent changes in named.conf
Nope. I don't believe you. What's the mod date on /usr/local/etc/named.conf and what's the last date that named was started?

Quote:
Sep 1 15:21:09 nsX named[1318]: [ID 866145 daemon.info] loading configuration from '/usr/local/etc/named.conf'
Sep 1 15:21:09 nsX named[1318]: [ID 866145 daemon.error] /usr/local/etc/named.conf:61: unknown option 'key'
Sep 1 15:21:09 nsX named[1318]: [ID 866145 daemon.error] /usr/local/etc/named.conf:66: unknown option 'controls'
Sep 1 15:21:09 nsX named[1318]: [ID 866145 daemon.error] /usr/local/etc/named.conf:71: '}' expected near end of file
Sep 1 15:21:09 nsX named[1318]: [ID 866145 daemon.crit] loading configuration: unexpected token
Sep 1 15:21:09 nsX named[1318]: [ID 866145 daemon.crit] exiting (due to fatal error)
Either the conf file was changed or the program that is reading it is not the version of named that you expect.
Quote:
This is somewhat urgent to fix
Not to me.
 
Old 09-01-2011, 07:09 PM   #3
SolSteve
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
Nope. I don't believe you. What's the mod date on /usr/local/etc/named.conf and what's the last date that named was started?


Either the conf file was changed or the program that is reading it is not the version of named that you expect.
Well I have reverted back to an older named.conf before any changes so I am still getting same result not starting...there have been firewall changes though...so im thinking they might be to blame? I just want to troubleshoot all my options..

thanks
 
Old 09-02-2011, 12:49 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 15,021

Rep: Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685
What those msgs are telling you is that you have at least one syntax error in the named.conf file.
You need to check out the lines mentioned, although the actual error may be on a different line.

Last edited by chrism01; 09-05-2011 at 07:28 PM. Reason: typo
 
Old 09-02-2011, 10:56 AM   #5
SolSteve
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Yes indeed it was a syntax error in odd location..problem solved thanks all!
 
Old 07-08-2012, 11:17 AM   #6
mehraj
LQ Newbie
 
Registered: Jun 2012
Posts: 2

Rep: Reputation: Disabled
dns named error

Error in named configuration
/etc/named.conf:42:unknown option 'one'

Last edited by mehraj; 07-08-2012 at 11:27 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script (bind related) OTIM Programming 6 07-10-2008 04:26 PM
Starting BIND issue DanielTan Linux - General 2 08-28-2005 10:20 AM
BIND 9 question - PID Related ChardRF Red Hat 1 03-13-2005 02:15 PM
problem starting mandrake (probably related to XF86Config-4) shoka Mandriva 5 05-25-2004 02:05 AM
Some queries related to DNS(bind) coolamit78 Linux - Networking 1 12-19-2003 03:05 AM


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

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