making Samba work [new detail]

Paul Howarth paul at city-fan.org
Tue Aug 9 15:39:25 UTC 2005


Claude Jones wrote:
> On Tue August 9 2005 11:19 am, Paul Howarth wrote:
> 
>>Claude Jones wrote:
>>
>>>[root at viewridgeproductions2 etc]# service named restart
>>>Stopping named:                                            [FAILED]
>>>Starting named:
>>>Error in named configuration:
>>>/etc/named.conf:33: missing ';' before 'zone'
>>>                                                           [FAILED]
>>>
>>>That line starts the following:
>>>
>>>zone "." IN {
>>>	type hint;
>>>	file "named.ca";
>>>};
>>
>>There's nothing wrong with the `zone "." ...' part; the error message
>>means that you left a semicolon off the end of whatever configuration
>>element is immediately before that in the named.conf file.
>>
> 
> Right you are. 
> 
> };
> zone "." IN {
> 
> The semicolon after the first bracket was missing. I'm back to this:
> 
> [root at viewridgeproductions2 etc]# service named restart
> Stopping named:                                            [FAILED]
> Starting named:                                            [  OK  ]
> 
> Can't stop, but start is ok... any ideas?

Test rndc again:

# rndc status

If it doesn't work, check the output of:

# netstat -lp

There should be an entry like:

tcp 0 0 localhost:rndc *:* LISTEN 1835/named

If there isn't, the named isn't listening for control connections and 
the error is in your named.conf

Paul.




More information about the users mailing list