Web lists-archives.com

[Samba] Samba won't start on Centos 7 built from tarball




Hi, not having much luck getting samba 4.8.3 to start on a CentOS 7.6 VM....

used samba-4.8.3.tar.gz
./configure
make
make install
samba-tool domain provision --use-rfc2307 --interactive

In /etc/samba there is one file, smb.conf with content of:
# Global parameters
[global]
        dns forwarder = 192.168.25.1
        netbios name = DC1
        realm = DC1.INTERNAL
        server role = active directory domain controller
        workgroup = REDACTED
        idmap_ldb:use rfc2307 = yes

[netlogon]
        path = /var/lib/samba/sysvol/dc1.internal/scripts
        read only = No

[sysvol]
        path = /var/lib/samba/sysvol
        read only = No

service samba start fails

# journalctl -xe
Feb 20 09:47:57 dc1.internal samba[23330]:   ldb: module schema_load
initialization failed : Operations error
Feb 20 09:47:57 dc1.internal samba[23330]: [2019/02/20 09:47:57.069992, 
0] ../lib/ldb-samba/ldb_wrap.c:77(ldb_wrap_debug)
Feb 20 09:47:57 dc1.internal samba[23330]:   ldb: module
dsdb_notification initialization failed : Operations error
Feb 20 09:47:57 dc1.internal samba[23330]: [2019/02/20 09:47:57.070024, 
0] ../lib/ldb-samba/ldb_wrap.c:77(ldb_wrap_debug)
Feb 20 09:47:57 dc1.internal samba[23330]:   ldb: module rootdse
initialization failed : Operations error
Feb 20 09:47:57 dc1.internal samba[23330]: [2019/02/20 09:47:57.070053, 
0] ../lib/ldb-samba/ldb_wrap.c:77(ldb_wrap_debug)
Feb 20 09:47:57 dc1.internal samba[23330]:   ldb: module samba_dsdb
initialization failed : Operations error
Feb 20 09:47:57 dc1.internal samba[23330]: [2019/02/20 09:47:57.070081, 
0] ../lib/ldb-samba/ldb_wrap.c:77(ldb_wrap_debug)
Feb 20 09:47:57 dc1.internal samba[23330]:   ldb: Unable to load modules
for /var/lib/samba/private/sam.ldb: schema_load_init: dsdb_get_schema failed
Feb 20 09:47:57 dc1.internal samba[23330]: [2019/02/20 09:47:57.084584, 
0] ../source4/smbd/server.c:638(binary_smbd_main)
Feb 20 09:47:57 dc1.internal samba[23330]:   binary_smbd_main: samba:
using 'standard' process model
Feb 20 09:47:57 dc1.internal samba[23330]: [2019/02/20 09:47:57.085333, 
0] ../source4/smbd/service.c:112(server_service_startup)
Feb 20 09:47:57 dc1.internal samba[23330]:   server_service_startup:
Failed to start service 'rpc' - NT_STATUS_INVALID_SYSTEM_SERVICE
Feb 20 09:47:57 dc1.internal samba[23330]: [2019/02/20 09:47:57.085585, 
0] ../lib/util/become_daemon.c:124(exit_daemon)
Feb 20 09:47:57 dc1.internal samba[23330]:   exit_daemon: STATUS=daemon
failed to start: Samba failed to start services, error code -1073741796
Feb 20 09:47:57 dc1.internal systemd[1]: samba.service never wrote its
PID file. Failing.
Feb 20 09:47:57 dc1.internal systemd[1]: Failed to start Samba AD Daemon.
-- Subject: Unit samba.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit samba.service has failed.
--
-- The result is failed.
Feb 20 09:47:57 dc1.internal systemd[1]: Unit samba.service entered
failed state.
Feb 20 09:47:57 dc1.internal systemd[1]: samba.service failed.
Feb 20 09:47:57 dc1.internal polkitd[2565]: Unregistered Authentication
Agent for unix-process:23313:110714198 (system bus name :1.998, object
path /org/fr
Feb 20 09:48:02 dc1.internal polkitd[2565]: Registered Authentication
Agent for unix-process:23335:110714706 (system bus name :1.999
[/usr/bin/pkttyagent -
Feb 20 09:48:02 dc1.internal polkitd[2565]: Unregistered Authentication
Agent for unix-process:23335:110714706 (system bus name :1.999, object
path /org/fr

Thanks!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba