Samba 4 beta8 PANIC: internal error

Ricky Nance ricky.nance at weaubleau.k12.mo.us
Tue Aug 28 13:51:36 MDT 2012


Hey Steve, can you confirm that nothing is running on the following ports
while samba is not running, 88, 135, 389, 464, 636, 1024, 3268, 3269. I am
not sure about your specific distro but on Ubuntu I can issue the following
command:

netstat -anp | grep '88\|135\|389\|464\|636\|1024\|3268\|3269' | grep -i
listen

If there is something else running that conflicts, that may be the culprit.

If that doesn't work, there is some stuff you can do with tdb backup that
might help, but the instructions are risky and I'd rather not post them on
list, as someone browsing across them later on may miss a step
(specifically backing up the samba directory).

On Tue, Aug 28, 2012 at 2:05 PM, steve <steve at steve-ss.com> wrote:

> On 08/28/2012 08:29 PM, Michael Wood wrote:
>
>> On 28 August 2012 13:55, steve <steve at steve-ss.com> wrote:
>>
>>> On 28/08/12 13:20, Andrew Bartlett wrote:
>>>
>>>> On Tue, 2012-08-28 at 13:05 +0200, steve wrote:
>>>>
>>>>> Any ideas where to look next?
>>>>>
>>>> Follow the directions I have recently given others on how to get us a
>>>> useful backtrace from a panic/segfault.
>>>>
>>>> Once I get that, fixing a panic like this is normally pretty easy.
>>>>
>>> Hi
>>> Thanks
>>>
>>> I'll try for the backtrace. Normally, before it gave the backtrace in
>>> e.g.
>>> samba -i -M single -d3
>>> But this time it crashes before the backtrace appears and throws me back
>>> at
>>> the prompt.
>>>
>>> Can anyone help me with how to do a backtrace. Or a searchable list
>>> archive
>>> link so I can try and find the reference?
>>>
>> """
>> If it still faults, please run under gdb (gdb --args samba -i -M single)
>> and get me a backtrace (bt full).
>> """
>>
>> On 08/28/2012 08:29 PM, Michael Wood wrote:
>>
>>  On 28 August 2012 13:55, steve <steve at steve-ss.com> wrote:
>>>
>>>> On 28/08/12 13:20, Andrew Bartlett wrote:
>>>>
>>>>> On Tue, 2012-08-28 at 13:05 +0200, steve wrote:
>>>>>
>>>>>> Any ideas where to look next?
>>>>>>
>>>>> Follow the directions I have recently given others on how to get us a
>>>>> useful backtrace from a panic/segfault.
>>>>>
>>>>> Once I get that, fixing a panic like this is normally pretty easy.
>>>>>
>>>> Hi
>>>> Thanks
>>>>
>>>> I'll try for the backtrace. Normally, before it gave the backtrace in
>>>> e.g.
>>>> samba -i -M single -d3
>>>> But this time it crashes before the backtrace appears and throws me
>>>> back at
>>>> the prompt.
>>>>
>>>> Can anyone help me with how to do a backtrace. Or a searchable list
>>>> archive
>>>> link so I can try and find the reference?
>>>>
>>> """
>>> If it still faults, please run under gdb (gdb --args samba -i -M single)
>>> and get me a backtrace (bt full).
>>> """
>>>
>>>  Hi Michael
>> Thanks
>>
>> OK, I tried that:
>>  gdb --args samba -i -M single
>> GNU gdb (GDB) SUSE (7.4.50.20120603-2.1.2)
>> Copyright (C) 2012 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.*
>> *html <http://gnu.org/licenses/gpl.html>>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>> and "show warranty" for details.
>> This GDB was configured as "i586-suse-linux".
>> For bug reporting instructions, please see:
>> <http://www.gnu.org/software/**gdb/bugs/<http://www.gnu.org/software/gdb/bugs/>
>> >...
>> Reading symbols from /usr/local/samba/sbin/samba...**done.
>> (gdb) bt full
>> No stack.
>> (gdb)
>>
>> Running without gdb:
>>  samba -i -M single
>> samba version 4.0.0beta8-GIT-9e441c4 started.
>> Copyright Andrew Tridgell and the Samba Team 1992-2012
>> samba: using 'single' process model
>>
>> Bad talloc magic value - unknown value
>> PANIC: Bad talloc magic value - unknown value
>> Aborted
>>
>> And I'm back at the command prompt.
>> Conclusion: running -M single crashes before any useful output is given.
>>
>
>   This looks more promising:
>> samba -i -d2
>> lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf
>> samba version 4.0.0beta8-GIT-9e441c4 started.
>> Copyright Andrew Tridgell and the Samba Team 1992-2012
>> samba: using 'standard' process model
>> Started file server smbd with config /usr/local/samba/private/smbd.**
>> tmp/fileserver.conf
>> dreplsrv_partition[CN=**Configuration,DC=hh3,DC=site] loaded
>> dreplsrv_partition[CN=Schema,**CN=Configuration,DC=hh3,DC=**site] loaded
>> dreplsrv_partition[DC=hh3,DC=**site] loaded
>> dreplsrv_partition[DC=**DomainDnsZones,DC=hh3,DC=site] loaded
>> dreplsrv_partition[DC=**ForestDnsZones,DC=hh3,DC=site] loaded
>> kccsrv_partition[DC=hh3,DC=**site] loaded
>> kccsrv_partition[CN=**Configuration,DC=hh3,DC=site] loaded
>> kccsrv_partition[CN=Schema,CN=**Configuration,DC=hh3,DC=site] loaded
>> kccsrv_partition[DC=**DomainDnsZones,DC=hh3,DC=site] loaded
>> kccsrv_partition[DC=**ForestDnsZones,DC=hh3,DC=site] loaded
>> /usr/local/samba/sbin/smbd: smbd version 4.0.0beta8-GIT-9e441c4 started.
>> /usr/local/samba/sbin/smbd: Copyright Andrew Tridgell and the Samba Team
>> 1992-2012
>> /usr/local/samba/sbin/smbd: standard input is not a socket, assuming -D
>> option
>>
>> Bad talloc magic value - unknown value
>> PANIC: Bad talloc magic value - unknown value
>>
>>
>>
>> I did a samba -i - d10 log?
>> http://dl.dropbox.com/u/**45150875/d10log<http://dl.dropbox.com/u/45150875/d10log>
>>
>
>  This machine is just a simple DC. No replication, upgraded from a working
>> DC this morning.
>>
> Is there anything else I can try to get this install back?
>
>>
>> Thanks.
>> Steve
>>
>
>


--


More information about the samba-technical mailing list