Bug 12265 - Upgrade 4.3 to 4.4
Summary: Upgrade 4.3 to 4.4
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: 4.4.3
Hardware: x64 Linux
: P5 critical (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
Depends on:
Reported: 2016-09-15 07:47 UTC by Michal Dejmek
Modified: 2016-09-17 18:33 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Michal Dejmek 2016-09-15 07:47:55 UTC
After you upgrade to the new version will not start service. I got the error log:
My system is CentOS 7.

==> /var/log/samba/log.samba <==
[2016/09/14 13:08:47.129239,  0] ../source4/smbd/server.c:373(binary_smbd_main)
 	samba version 4.4.5-SerNet-RedHat-31.el7 started.
 	Copyright Andrew Tridgell and the Samba Team 1992-2016
[2016/09/14 13:08:47.380873,  0] ../lib/util/become_daemon.c:111(exit_daemon)
 	STATUS=daemon failed to start: Samba failed to setup parent messaging, error code -1073741801

==> /var/spool/mail/root <==
ERROR(runtime): uncaught exception - (-1073741823, 'Undetermined error')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/ntacl.py", line 239, in run
    lp, use_ntvfs=use_ntvfs)
  File "/usr/lib64/python2.7/site-packages/samba/provision/__init__.py", line 1618, in setsysvolacl
    set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp, use_ntvfs, passdb=s4_passdb)
  File "/usr/lib64/python2.7/site-packages/samba/provision/__init__.py", line 1523, in set_gpos_acl
  File "/usr/lib64/python2.7/site-packages/samba/provision/__init__.py", line 1486, in set_dir_acl
    setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb, service=service)
  File "/usr/lib64/python2.7/site-packages/samba/ntacls.py", line 162, in setntacl
    smbd.set_nt_acl(file, security.SECINFO_OWNER | security.SECINFO_GROUP | security.SECINFO_DACL | security.SECINFO_SACL, sd, service=service)
open: error=2 (No such file or directory)
Comment 1 Michal Dejmek 2016-09-17 18:33:46 UTC
Deleting files “/var/lib/samba/private/msg.sock” then restart service.