1 |
On Wed, Mar 21, 2012 at 3:09 PM, Datty <datty.wtb@×××××.com> wrote: |
2 |
|
3 |
> Hi all, |
4 |
> |
5 |
> I'm in the process of setting up samba4 to trial the domain setup but I'm |
6 |
> having problems getting bind to start with dlz turned on. |
7 |
> I've pasted the output from syslog as bind is started. It seems to be |
8 |
> looking for libsamdb-common.so which is located in /usr/lib/samba but it |
9 |
> doesnt seem to be able to find it. |
10 |
> |
11 |
> Hopefully someones fought with this already! |
12 |
> |
13 |
> Thanks for your help |
14 |
> |
15 |
> Oliver |
16 |
> |
17 |
> Mar 21 15:07:23 LDC1 named[1646]: starting BIND 9.8.1-P1 -u named -d 3 |
18 |
> Mar 21 15:07:23 LDC1 named[1646]: built with '--prefix=/usr' |
19 |
> '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' |
20 |
> '--mandir=/usr/share/man' '--infodir=/usr/share/info' |
21 |
> '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' |
22 |
> '--libdir=/usr/lib64' '--sysconfdir=/etc/bind' '--localstatedir=/var' |
23 |
> '--with-libtool' '--disable-threads' '--with-dlopen' |
24 |
> '--with-dlz-filesystem' '--with-dlz-stub' '--without-dlz-postgres' |
25 |
> '--without-dlz-mysql' '--with-dlz-bdb' '--with-dlz-ldap' |
26 |
> '--without-dlz-odbc' '--with-openssl' '--without-idn' '--disable-ipv6' |
27 |
> '--without-libxml2' '--with-gssapi' '--disable-rpz-nsip' |
28 |
> '--disable-rpz-nsdname' '--without-pkcs11' '--disable-linux-caps' |
29 |
> '--without-gost' '--with-randomdev=/dev/urandom' |
30 |
> 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' |
31 |
> 'CFLAGS=-O2 -pipe -march=native -fomit-frame-pointer -I/usr/include/db4.8' |
32 |
> 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' |
33 |
> Mar 21 15:07:23 LDC1 named[1646]: using up to 4096 sockets |
34 |
> Mar 21 15:07:23 LDC1 named[1646]: loading configuration from |
35 |
> '/etc/bind/named.conf' |
36 |
> Mar 21 15:07:23 LDC1 named[1646]: reading built-in trusted keys from file |
37 |
> '/etc/bind/bind.keys' |
38 |
> Mar 21 15:07:23 LDC1 named[1646]: using default UDP/IPv4 port range: |
39 |
> [1024, 65535] |
40 |
> Mar 21 15:07:23 LDC1 named[1646]: using default UDP/IPv6 port range: |
41 |
> [1024, 65535] |
42 |
> Mar 21 15:07:23 LDC1 named[1646]: listening on IPv4 interface eth0, |
43 |
> 10.251.64.8#53 |
44 |
> Mar 21 15:07:23 LDC1 named[1646]: generating session key for dynamic DNS |
45 |
> Mar 21 15:07:23 LDC1 named[1646]: sizing zone task pool based on 3 zones |
46 |
> Mar 21 15:07:23 LDC1 named[1646]: zone 'localhost' allows updates by IP |
47 |
> address, which is insecure |
48 |
> Mar 21 15:07:23 LDC1 named[1646]: zone '127.in-addr.arpa' allows updates |
49 |
> by IP address, which is insecure |
50 |
> Mar 21 15:07:23 LDC1 named[1646]: Loading 'AD DNS Zone' using driver dlopen |
51 |
> Mar 21 15:07:23 LDC1 named[1646]: dlz_dlopen failed to open library |
52 |
> '/usr/lib64/bind9/dlz_bind9.so' - libsamdb-common.so: cannot open shared |
53 |
> object file: No such file or directory |
54 |
> Mar 21 15:07:23 LDC1 named[1646]: dlz_dlopen of 'AD DNS Zone' failed |
55 |
> Mar 21 15:07:23 LDC1 named[1646]: SDLZ driver failed to load. |
56 |
> Mar 21 15:07:23 LDC1 named[1646]: DLZ driver failed to load. |
57 |
> Mar 21 15:07:23 LDC1 named[1646]: loading configuration: failure |
58 |
> Mar 21 15:07:23 LDC1 named[1646]: exiting (due to fatal error) |
59 |
> Mar 21 15:07:23 LDC1 /etc/init.d/named[1644]: start-stop-daemon: failed to |
60 |
> start `/usr/sbin/named' |
61 |
> Mar 21 15:07:23 LDC1 /etc/init.d/named[1513]: ERROR: named failed to start |
62 |
> |
63 |
> Just a little addition, I've just run ldd against the library thats trying |
64 |
to load and ive pasted the output below. It seems to require |
65 |
libsamdb-common.so twice but is only able to find it once? |
66 |
|
67 |
Thanks again |
68 |
|
69 |
LDC1 / # ldd /usr/lib/bind9/dlz_bind9.so |
70 |
linux-vdso.so.1 => (0x000002f7c141f000) |
71 |
libsamdb.so.0 => /usr/lib64/libsamdb.so.0 (0x000002f7c0fff000) |
72 |
libsamba-hostconfig.so.0 => /usr/lib64/libsamba-hostconfig.so.0 |
73 |
(0x000002f7c0ddc000) |
74 |
libgensec.so.0 => /usr/lib64/libgensec.so.0 (0x000002f7c0bb6000) |
75 |
libsamba-util.so.0 => /usr/lib64/libsamba-util.so.0 |
76 |
(0x000002f7c097c000) |
77 |
libsamdb-common.so => not found |
78 |
libauthkrb5.so => not found |
79 |
libndr-samba.so => not found |
80 |
libsamba-credentials.so.0 => /usr/lib64/libsamba-credentials.so.0 |
81 |
(0x000002f7c075a000) |
82 |
libndr.so.0 => /usr/lib64/libndr.so.0 (0x000002f7c0540000) |
83 |
libevents.so => not found |
84 |
libtalloc.so.2 => /usr/lib64/libtalloc.so.2 (0x000002f7c0331000) |
85 |
libldb.so.1 => /usr/lib64/libldb.so.1 (0x000002f7c0100000) |
86 |
libpopt.so.0 => /usr/lib64/libpopt.so.0 (0x000002f7bfef3000) |
87 |
libc.so.6 => /lib64/libc.so.6 (0x000002f7bfb64000) |
88 |
libsamdb-common.so => /usr/lib64/samba/libsamdb-common.so |
89 |
(0x000002f7bf944000) |
90 |
libcli-ldap-common.so => /usr/lib64/samba/libcli-ldap-common.so |
91 |
(0x000002f7bf73d000) |
92 |
libauthkrb5.so => /usr/lib64/samba/libauthkrb5.so |
93 |
(0x000002f7bf52c000) |
94 |
libldbsamba.so => /usr/lib64/samba/libldbsamba.so |
95 |
(0x000002f7bf301000) |
96 |
libcliauth.so => /usr/lib64/samba/libcliauth.so (0x000002f7bf0e9000) |
97 |
liberrors.so => /usr/lib64/samba/liberrors.so (0x000002f7bee63000) |
98 |
libsecurity.so => /usr/lib64/samba/libsecurity.so |
99 |
(0x000002f7bec42000) |
100 |
libgssapi.so.3 => /usr/lib64/libgssapi.so.3 (0x000002f7be9ff000) |
101 |
libkrb5.so.26 => /usr/lib64/libkrb5.so.26 (0x000002f7be770000) |
102 |
libpthread.so.0 => /lib64/libpthread.so.0 (0x000002f7be553000) |
103 |
libserver-role.so => /usr/lib64/samba/libserver-role.so |
104 |
(0x000002f7be350000) |
105 |
libsamba-modules.so => /usr/lib64/samba/libsamba-modules.so |
106 |
(0x000002f7be14c000) |
107 |
libtevent-util.so.0 => /usr/lib64/libtevent-util.so.0 |
108 |
(0x000002f7bdf48000) |
109 |
libndr-samba.so => /usr/lib64/samba/libndr-samba.so |
110 |
(0x000002f7bdc64000) |
111 |
libsamba-sockets.so => /usr/lib64/samba/libsamba-sockets.so |
112 |
(0x000002f7bda48000) |
113 |
libasn1util.so => /usr/lib64/samba/libasn1util.so |
114 |
(0x000002f7bd841000) |
115 |
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x000002f7bd63d000) |
116 |
libtevent.so.0 => /usr/lib64/libtevent.so.0 (0x000002f7bd42e000) |
117 |
librt.so.1 => /lib64/librt.so.1 (0x000002f7bd225000) |
118 |
libUTIL_TDB.so => /usr/lib64/samba/libUTIL_TDB.so |
119 |
(0x000002f7bd020000) |
120 |
libtdb-wrap.so => /usr/lib64/samba/libtdb-wrap.so |
121 |
(0x000002f7bce1d000) |
122 |
libdl.so.2 => /lib64/libdl.so.2 (0x000002f7bcc18000) |
123 |
/lib64/ld-linux-x86-64.so.2 (0x000002f7c1421000) |
124 |
libflag_mapping.so => /usr/lib64/samba/libflag_mapping.so |
125 |
(0x000002f7bca15000) |
126 |
libauth_sam_reply.so => /usr/lib64/samba/libauth_sam_reply.so |
127 |
(0x000002f7bc810000) |
128 |
libndr-krb5pac.so.0 => /usr/lib64/libndr-krb5pac.so.0 |
129 |
(0x000002f7bc604000) |
130 |
libasn1.so.8 => /usr/lib64/libasn1.so.8 (0x000002f7bc358000) |
131 |
libtdb.so.1 => /usr/lib64/libtdb.so.1 (0x000002f7bc143000) |
132 |
libheimntlm.so.0 => /usr/lib64/libheimntlm.so.0 (0x000002f7bbf3b000) |
133 |
libheimbase.so.1 => /usr/lib64/libheimbase.so.1 (0x000002f7bbd35000) |
134 |
libhx509.so.5 => /usr/lib64/libhx509.so.5 (0x000002f7bbae3000) |
135 |
libwind.so.0 => /usr/lib64/libwind.so.0 (0x000002f7bb8ba000) |
136 |
libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x000002f7bb607000) |
137 |
libhcrypto.so.4 => /usr/lib64/libhcrypto.so.4 (0x000002f7bb3cc000) |
138 |
libroken.so.18 => /usr/lib64/libroken.so.18 (0x000002f7bb1b4000) |
139 |
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x000002f7baf7c000) |
140 |
libresolv.so.2 => /lib64/libresolv.so.2 (0x000002f7bad65000) |
141 |
libndr-standard.so.0 => /usr/lib64/libndr-standard.so.0 |
142 |
(0x000002f7ba813000) |
143 |
libndr-nbt.so.0 => /usr/lib64/libndr-nbt.so.0 (0x000002f7ba5fb000) |
144 |
libz.so.1 => /lib64/libz.so.1 (0x000002f7ba3e4000) |