[Samba] 4.5.1 Upgrade Breaks Samba [Was: Schema Change Breaks Replication]

Adam Tauno Williams awilliam at whitemice.org
Mon Nov 21 00:49:15 UTC 2016


On Sun, 2016-11-20 at 22:48 +0000, Rowland Penny via samba wrote:
> On Sun, 20 Nov 2016 16:50:34 -0500
> Adam Tauno Williams <awilliam at whitemice.org> wrote:
> 
> > On Sun, 2016-11-20 at 21:11 +0000, Rowland Penny via samba wrote:
> > > On Sun, 20 Nov 2016 15:55:08 -0500
> > > Adam Tauno Williams via samba <samba at lists.samba.org> wrote:
> > > > And it looks like nobody is listening on port 135 -
> > > > [root at larkin26 ~]# netstat --listen --inet --program --numeric
> > > > Active Internet connections (only servers)
> > > > Proto Recv-Q Send-Q Local Address               Foreign
> > > > Address State       PID/Program name   
> > > If that is the entire output, not only is nothing listening on
> > > port
> > > 135, Samba doesn't seem to be listening at all, is it running ?
> > 
> > That is the entire output;  samba is not listening.
> > 
> > It is started.
> > 
> > ....
> >  2049 ?        Ss     0:00 sshd: root at pts/0 
> >  2051 pts/0    Ss     0:00 -bash
> >  2486 ?        S      0:00 /usr/sbin/samba -D
> >  2487 ?        Ss     0:00 /usr/sbin/winbindd -D --option=server
> > role
> > check:inhibit=yes --foreground
> >  2493 ?        S      0:00 /usr/sbin/winbindd -D --option=server
> > role
> > check:inhibit=yes --foreground
> >  2502 pts/0    R+     0:00 ps ax
> > [root at larkin26 sernet]# 
> > 
> > [2016/11/20 16:50:40.326604,  0]
> > ../source4/smbd/server.c:372(binary_smbd_main)
> >   samba version 4.5.1-SerNet-RedHat-6.el6 started.
> >   Copyright Andrew Tridgell and the Samba Team 1992-2016
> > [2016/11/20 16:50:40.970014,  0]
> > ../source4/smbd/server.c:479(binary_smbd_main)
> >   samba: using 'standard' process model
> > [2016/11/20 16:50:40.983383,  0]
> > ../source4/rpc_server/dcerpc_server.c:1668(dcesrv_init_context)
> >   dcesrv_init_context: failed to find endpoint server = 'winreg'
> > [2016/11/20 16:50:40.983724,  0]
> > ../source4/smbd/service_task.c:35(task_server_terminate)
> >   task_server_terminate: [Failed to startup dcerpc server task]
> > [2016/11/20 16:50:40.994293,  0]
> > ../source4/smbd/server.c:211(samba_terminate)
> >   samba_terminate of 2479: Failed to startup dcerpc server task
> > [2016/11/20 16:50:41.033979,  0]
> > ../source4/smbd/service.c:98(server_service_startup)
> >   Failed to start service 'smb' - NT_STATUS_INVALID_SYSTEM_SERVICE
> > [2016/11/20 16:50:41.038319,  0]
> > ../lib/util/become_daemon.c:111(exit_daemon)
> >   STATUS=daemon failed to start: Samba failed to start services,
> > error
> > code -1073741796
> > 
> > Any idea why "smb" is not an invalid service?
> Can you post your smb.conf, perhaps that will explain why smbd isn't
> being starting.

[global]
        workgroup = BACKBONE
        realm = MICORE.US
        netbios name = LARKIN26
        server role = active directory domain controller
        idmap_ldb:use rfc2307 = yes
        dns forwarder = 192.168.1.9
        #winbind enum users = Yes
        #winbind enum groups = Yes
        winbind use default domain = Yes
        winbind nss info = rfc2307
        # wins hook = /usr/local/sbin/wins_hook.py
        wins support = yes
        # ntlm auth = yes
        server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
winbind, ntp_signd, kcc, dnsupdate, smb, dns
        dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr,
netlogon, lsarpc, drsuapi, dssetup, unixinfo, browser, eventlog6,
backupkey, dnsserver, winreg, srvsvc
        ntp signd socket directory = /var/spool/ntp/signd
        tls verify peer = no_check
        # ldap server require strong auth = no

[netlogon]
        path = /var/lib/samba/sysvol/micore.us/scripts
        read only = No
        acl allow execute always = yes

[sysvol]
        path = /var/lib/samba/sysvol
        read only = No
        acl allow execute always = yes


-- 
Adam Tauno Williams <mailto:awilliam at whitemice.org> GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA





More information about the samba mailing list