After checking systemd I noticed the following errors when the samba service attempts to start:
Code: Select all
Jan 26 22:13:11 localhost systemd[1]: smb.service: Supervising process 1891 which is not our child. We'll most likely not no... exits.
Jan 26 22:13:11 localhost smbd[1891]: [2018/01/26 22:13:11.343429, 0] ../lib/util/util.c:216(directory_create_or_exist)
Jan 26 22:13:11 localhost smbd[1891]: mkdir failed on directory /run/samba/ncalrpc: No such file or directory
Jan 26 22:13:11 localhost smbd[1891]: [2018/01/26 22:13:11.343602, 0] ../source3/smbd/server.c:1912(main)
Jan 26 22:13:11 localhost smbd[1891]: Failed to create pipe directory /run/samba/ncalrpc - No such file or directory
Jan 26 22:13:11 localhost systemd[1]: smb.service: main process exited, code=exited, status=255/n/a
Jan 26 22:13:11 localhost systemd[1]: Failed to start Samba SMB Daemon.
Jan 26 22:13:11 localhost systemd[1]: Unit smb.service entered failed state.
Jan 26 22:13:11 localhost systemd[1]: smb.service failed.
Code: Select all
Jan 26 22:15:32 localhost systemd[1]: smb.service: Supervising process 19798 which is not our child. We'll most likely not n... exits.
Jan 26 22:15:32 localhost smbd[19790]: [2018/01/26 22:15:32.676816, 0] ../lib/param/loadparm.c:782(lpcfg_map_parameter)
Jan 26 22:15:32 localhost smbd[19790]: Unknown parameter encountered: "user"
Jan 26 22:15:32 localhost smbd[19798]: [2018/01/26 22:15:32.694903, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Jan 26 22:15:32 localhost smbd[19798]: STATUS=daemon 'smbd' finished starting up and ready to serve connections
Jan 26 22:15:32 localhost systemd[1]: Started Samba SMB Daemon.
My current samba version is samba-4.6.2-12.el7_4.x86_64. Unfortunately I don't know exactly when it broke, but I'm pretty sure this is the first broken version (that is, the package immediately before this one was ok). I have not tinkered with my samba config since I initially set it up and everything was just fine; it was only after a recent yum package update that it seemed to break. Any ideas?