[Samba] Samba4 Internal DNS Problem : Suddently Dns Crash

Rowland Penny rowlandpenny at googlemail.com
Tue Aug 26 02:40:53 MDT 2014


On 26/08/14 04:04, zhia chandra wrote:
> hi all
>
> i try to use samba interactive
> [root at pdc ~]# samba -M standard -i 3
> here i attach the result
>
>
> On 8/26/2014 1:00 AM, Rowland Penny wrote:
>> On 25/08/14 18:48, zhia chandra wrote:
>>>> When you say 'pdc' do you actually mean an AD DC ?
>>> yes it is
>>>> If so, have you got more than one DC ?
>>> yes
>>>
>>>> Is 172.17.16.2 a secondary DC ?
>>> yes
>>> i just add join new DC with that IP yesterday with samba 4.1.11, but 
>>> my pdc (AD DC) server still installed with 4.1.3 version
>>> fyi : dc16 is currently shuted down,
>>
>> Is dc16 the second DC with the ipaddress of 172.17.16.2 ? If so turn 
>> it back on and the log message will go away.
>>
>> Rowland
>>
>>>
>>>
>>> On Tuesday, August 26, 2014 12:35:38 AM, Rowland Penny wrote:
>>>> On 25/08/14 18:26, zhia chandra wrote:
>>>>> hii all
>>>>>
>>>>> i still cant find the problem ..
>>>>> i try to  upgrade to samba 4.1.11 still not working
>>>>> i found out that it always happen after samba pdc trying to connect
>>>>> one of my newly joined dc in ip 172.17.16.2
>>>>
>>>> When you say 'pdc' do you actually mean an AD DC ?
>>>>
>>>> If so, have you got more than one DC ?
>>>>
>>>> Is 172.17.16.2 a secondary DC ?
>>>>
>>>> Rowland
>>>>>
>>>>> here is the samba log
>>>>>
>>>>> Aug 26 00:15:40 pdc samba[13611]: [2014/08/26 00:15:40.907952,  0]
>>>>> ../source4/librpc/rpc/dcerpc_sock.c:262(continue_socket_connect)
>>>>> Aug 26 00:15:40 pdc samba[13611]:   Failed to connect host
>>>>> 172.17.16.2 on port 135 - NT_STATUS_HOST_UNREACHABLE
>>>>> Aug 26 00:15:40 pdc samba[13611]: [2014/08/26 00:15:40.908070,  0]
>>>>> ../source4/librpc/rpc/dcerpc_sock.c:425(continue_ip_open_socket)
>>>>> Aug 26 00:15:40 pdc samba[13611]:   Failed to connect host
>>>>> 172.17.16.2
>>>>> (8b2cd758-30bf-4ed5-9ec1-ef6f0069ac35._msdcs.domain.co.id) on port
>>>>> 135 - NT_STATUS_HOST_UNREACHABLE.
>>>>> Aug 26 00:16:41 pdc samba[13616]: [2014/08/26 00:16:41.063542,  0]
>>>>> ../lib/util/fault.c:72(fault_report)
>>>>> Aug 26 00:16:41 pdc samba[13616]:
>>>>> ===============================================================
>>>>> Aug 26 00:16:41 pdc samba[13616]: [2014/08/26 00:16:41.063617,  0]
>>>>> ../lib/util/fault.c:73(fault_report)
>>>>> Aug 26 00:16:41 pdc samba[13616]:   INTERNAL ERROR: Signal 6 in pid
>>>>> 13616 (4.1.11)
>>>>> Aug 26 00:16:41 pdc samba[13616]:   Please read the Trouble-Shooting
>>>>> section of the Samba HOWTO
>>>>> Aug 26 00:16:41 pdc samba[13616]: [2014/08/26 00:16:41.063701,  0]
>>>>> ../lib/util/fault.c:75(fault_report)
>>>>> Aug 26 00:16:41 pdc samba[13616]:
>>>>> ===============================================================
>>>>> Aug 26 00:16:41 pdc samba[13616]: [2014/08/26 00:16:41.063753,  0]
>>>>> ../lib/util/fault.c:144(smb_panic_default)
>>>>> Aug 26 00:16:41 pdc samba[13616]:   PANIC: internal error
>>>>>
>>>>>
>>>>> and here is my samba conf
>>>>> [global]
>>>>>         workgroup = domain
>>>>>         realm = domain.co.id
>>>>>         netbios name = PDC
>>>>>         server role = active directory domain controller
>>>>>         dns forwarder = 172.16.99.1
>>>>>         vfs objects = acl_xattr
>>>>>         map acl inherit = Yes
>>>>>         store dos attributes = Yes
>>>>>         log level = 3
>>>>>
>>>>> [netlogon]
>>>>>         path = /usr/local/samba/var/locks/sysvol/domain.co.id/scripts
>>>>>         read only = No
>>>>>
>>>>> [sysvol]
>>>>>         path = /usr/local/samba/var/locks/sysvol
>>>>>         read only = No
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 8/25/2014 9:30 PM, zhia chandra wrote:
>>>>>> hii all
>>>>>>
>>>>>> i have some issue with my samba 4 installation,
>>>>>> i use samba 4.1.3, suddenty my dns stop working and i try to restart
>>>>>> the service but nothing good happen
>>>>>>
>>>>>> i check on samba log i found this
>>>>>> Aug 25 21:15:39 pdc samba[6605]: [2014/08/25 21:15:39.206091, 0]
>>>>>> ../lib/util/fault.c:72(fault_report)
>>>>>> Aug 25 21:15:39 pdc samba[6605]:
>>>>>> ===============================================================
>>>>>> Aug 25 21:15:39 pdc samba[6605]: [2014/08/25 21:15:39.206178, 0]
>>>>>> ../lib/util/fault.c:73(fault_report)
>>>>>> Aug 25 21:15:39 pdc samba[6605]:   INTERNAL ERROR: Signal 6 in pid
>>>>>> 6605 (4.1.3)
>>>>>> Aug 25 21:15:39 pdc samba[6605]:   Please read the Trouble-Shooting
>>>>>> section of the Samba HOWTO
>>>>>> Aug 25 21:15:39 pdc samba[6605]: [2014/08/25 21:15:39.206257, 0]
>>>>>> ../lib/util/fault.c:75(fault_report)
>>>>>> Aug 25 21:15:39 pdc samba[6605]:
>>>>>> ===============================================================
>>>>>> Aug 25 21:15:39 pdc samba[6605]: [2014/08/25 21:15:39.206306, 0]
>>>>>> ../lib/util/fault.c:144(smb_panic_default)
>>>>>> Aug 25 21:15:39 pdc samba[6605]:   PANIC: internal error
>>>>>>
>>>>>> and i found some patches from samba list archive in this link
>>>>>> https://bugzilla.samba.org/show_bug.cgi?id=10284
>>>>>> but i still dont know how to deploy the patch,
>>>>>> could some body give me some hint to patched my samba installation
>>>>>>
>>>>>> regards
>>>>>> zhia
>>>>>
>>>>
>>
>
>
>
OK, I examined your logfile and found this:

DCERPC endpoint server 'dnsserver' registered
Name registration conflict from 172.16.99.13 for domain<1b> with ip 
172.16.99.3 - rcode 6
Error registering domain<1b> with 172.16.99.3 on interface 172.16.99.255 
- NT_STATUS_CONFLICTING_ADDRESSES

seems that something is going wrong here, you have two machines trying 
to be the same thing.

How did you provision the first samba machine ?
How did you join the second DC to the domain ?
What OS are you using
Are you using the internal dns server or Bind9, if the later, what 
version and how did you set it up, flat files or dlz
Is time on the two machines in sync
Please post the following (from both machines)

smb.conf
/etc/krb5.conf
/etc/resolv.conf

Rowland




More information about the samba mailing list