View Issue Details

IDProjectCategoryView StatusLast Update
0003229SOGoPackaging (RedHat)public2015-10-23 18:59
Reporteretagenklo Assigned Toludovic  
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionsuspended 
Platform[Server] LinuxOSRHEL/CentOSOS Version6
Summary0003229: Samba 4 DC won't start after update to 4.1.18
Description

Samba 4 from Sogo-RHEL 6 fails to start after update to 4.1.18. Errors from samba-log:


[2015/06/03 08:56:19, 0] ../source4/smbd/server.c:370(binary_smbd_main)
samba version 4.1.18 started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
ldb: module version mismatch in ../source4/dsdb/samdb/ldb_modules/acl.c : ldb_version=1.1.17 module_version=1.1.20
ldb: failed to initialise module /usr/lib64/samba/ldb/acl.so : Unavailable
[2015/06/03 08:56:19, 0] ../source4/smbd/server.c:488(binary_smbd_main)
samba: using 'standard' process model
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
[2015/06/03 08:56:19, 0] ../lib/util/become_daemon.c:136(daemon_ready)
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
[2015/06/03 08:56:19, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: WARNING: Module [samba_secrets] not found - do you need to set LDB_MODULES_PATH?
[2015/06/03 08:56:19, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: Unable to load modules for /var/lib/samba/private/secrets.ldb: (null)
[2015/06/03 08:56:19, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [Cannot start Winbind (domain controller): (null): Have you provisioned the REALITY-BYTES domain?]
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.samba:
setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
STATUS=daemon 'samba' finished starting up and ready to serve connectionssamba_terminate: Cannot start Winbind (domain controller): (null): Have you provisioned the REALITY-BYTES domain?
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
[2015/06/03 08:56:20, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [kccsrv: Failed to connect to local samdb: WERR_DS_UNAVAILABLE
]
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
[2015/06/03 08:56:20, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [cldapd failed to open samdb]
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
[2015/06/03 08:56:20, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [kdc: krb5_init_context samdb connect failed]
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
[2015/06/03 08:56:20, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [dnsupdate: Failed to connect to local samdb
]
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
[2015/06/03 08:56:20, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [nbtd failed to open samdb]
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
[2015/06/03 08:56:20, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [dreplsrv: Failed to connect to local samdb: WERR_DS_UNAVAILABLE
]
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
[2015/06/03 08:56:20, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [ntp_signd failed to open samdb]
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
[2015/06/03 08:56:20, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
task_server_terminate: [Failed to startup ldap server task]
ldb: WARNING: Module [samba_dsdb] not found - do you need to set LDB_MODULES_PATH?
[2015/06/03 08:56:20, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
ldb: Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
[2015/06/03 08:56:20, 0] ../source4/smbd/service_task.c:35(task_server_terminate)
task_server_terminate: [dns: samdb_connect failed]

Steps To Reproduce

Update Samba4 DC via yum from 4.1.11 to 4.1.18

TagsNo tags attached.

Activities

etagenklo

etagenklo

2015-06-03 08:08

reporter   ~0008561

Installed Samba packages:

samba-python-4.1.18-1.centos6.x86_64
samba-dc-4.1.18-1.centos6.x86_64
samba-common-4.1.18-1.centos6.x86_64
samba-libs-4.1.18-1.centos6.x86_64
samba-dc-libs-4.1.18-1.centos6.x86_64
samba-4.1.18-1.centos6.x86_64

st41ker

st41ker

2015-06-04 11:00

reporter   ~0008575

That is a mistake in spec file.

For CentOS 6.* run the following commands:

yum remove samba*
yum install samba-4.1.11 samba-winbind-clients-4.1.11

Developers tried to make one spec file for CentOS 7 and 6 and missed the libldb versions checks, so samba was built with libldb 1.1.20 but in CentOS 6 there is only 1.1.17 version of it. Or, may be, their build environment have some third party repos, so they've latest libldb on CentOs 6.

They should rebuild samba rpms for CentOS 6 with libldb 1.1.17 anyway, but you've quick workaround.

ludovic

ludovic

2015-06-04 11:40

reporter   ~0008577

It's not an error in the spec file. It's an error on the build host. It had ldb 1.1.20 packages installed.

We'll remove it and repost Samba packages for 1.1.17.

st41ker

st41ker

2015-06-04 11:42

reporter   ~0008578

I see, that was my second assumption mentioned in my previous post, no problem.

ludovic

ludovic

2015-06-04 12:12

reporter   ~0008579

This is now fixed with our Samba 4.1.18-2 packages.

st41ker

st41ker

2015-06-04 12:17

reporter   ~0008580

Actually, this is not the end.
Original reporter forgot to mention that new samba creates new file:

/etc/samba/rhs-samba.conf

and adds it to /etc/samba/smb.conf:

------------------------------- RHS Options -------------------------------

#

The following line includes RHS-specific configuration options. Be

careful with this line.

   include = /etc/samba/rhs-samba.conf

Whoever, it never installs RH cluster with corresponding DB engine, so configuration becomes unusable.

It seems like devs should add cluster, or remove this from install scripts.

ludovic

ludovic

2015-10-23 18:59

reporter   ~0009037

Suspending for now as we currently no longer support RHEL 6 for Samba/OpenChange packages.

Issue History

Date Modified Username Field Change
2015-06-03 07:22 etagenklo New Issue
2015-06-03 08:08 etagenklo Note Added: 0008561
2015-06-04 11:00 st41ker Note Added: 0008575
2015-06-04 11:40 ludovic Note Added: 0008577
2015-06-04 11:42 st41ker Note Added: 0008578
2015-06-04 12:12 ludovic Note Added: 0008579
2015-06-04 12:17 st41ker Note Added: 0008580
2015-10-23 18:59 ludovic Note Added: 0009037
2015-10-23 18:59 ludovic Status new => closed
2015-10-23 18:59 ludovic Assigned To => ludovic
2015-10-23 18:59 ludovic Resolution open => suspended