[Samba] named wont start
Peter Carlson
peter at howudodat.com
Wed May 1 13:51:00 UTC 2024
On 5/1/24 02:02, Rowland Penny via samba wrote:
> On Wed, 1 May 2024 09:18:54 +0100
> Rowland Penny via samba<samba at lists.samba.org> wrote:
>
>> On Tue, 30 Apr 2024 07:54:15 -0700
>> Peter Carlson via samba<samba at lists.samba.org> wrote:
>>
>>> Not sure if this library is provided by samba team or isc, but I can
>>> no longer start my named service if I connect it with samba. brief
>>> history: I am having problems with named hanging, isc says step1 is
>>> to upgrade to the latest bind. As soon as I upgrade to latest bind,
>>> it wont start. Now the first step is to figure out which mailing
>>> list to talk to
>>>
>>> syslog:
>>>
>>> Apr 30 07:43:02 nc1 named[27557]: Loading 'AD DNS Zone' using
>>> driver dlopen
>>> Apr 30 07:43:02 nc1 named[27557]: free(): invalid pointer
>>> Apr 30 07:43:03 nc1 systemd[1]: named.service: Main process
>>> exited, code=killed, status=6/ABRT
>>>
>>> if I comment out the include it works
>>> include "/var/lib/samba/bind-dns/named.conf";
>>>
>>> versions:
>>> root at nc1:/etc/bind# named -version
>>> BIND 9.18.26-1+ubuntu22.04.1+deb.sury.org+1-Ubuntu (Extended
>>> Support Version) <id:>
>>> root at nc1:/etc/bind# smbd --version
>>> Version 4.20.0-Ubuntu
>>>
>> OK, this works for myself, but using Samba 4.19.5 and named 9.18.24 on
>> aarch64.
>> It looks like something changed, but where.
>>
>> Does named start if you use the latest Ubuntu package (9.18.18 from
>> security) with Samba 4.20.0 ?
>>
>> As far as I am aware, there have been no recent major changes in the
>> Samba bind9_dlz code.
>>
>> Rowland
>>
I will try that combo this afternoon. BTW, I was running on MJTs repo
using the latest 4.17 version and it also has the same error. It was the
error that moved me to try 4.20 branch.
> I found your named.conf files on the bind9 mailing lists, why are you
> using 'views' ?
>
> Also to raise the log level, you need to add '-d3' to the end of the
> database line in /var/lib/samba/bind-dns/named.conf, for example:
>
> database "dlopen
> /usr/lib/aarch64-linux-gnu/samba/bind9/dlz_bind9_18.so" -d3;
>
> NOTE: You can use higher numbers than '3' which will give you more
> output.
>
> Rowland
I will also add the debug this afternoon. Views....I need diiferent
resolution for internal users vs vpn users vs external users
users.internal: all external resources, all domain resources, 3CX
resolves directly to internal PBX (override for XYZ.3cx.us)
users.vpn: all external resources, all domain resources, 3CX resolves vi
3CX's domain servers
users.external: all external resources
Internal vs external is easy with split level. However the mess came
from needing internal users to use the internal address of the PBX and
vpn users needing the public ip of the pbx.
Peter
More information about the samba
mailing list