can't start smbd after install samba posix branch

Xiaoli Feng xifeng at redhat.com
Thu Oct 29 15:43:23 UTC 2020


Hello folks,

I try to install samba posix branch in RHEL8. But failed to start smbd daemon.
Does anyone know the reason? or what else do I miss?

#git clone git://git.samba.org/jra/samba
#git check -b posix remotes/origin/master-smb2
#./configure --prefix=/usr --enable-fhs
#make -j6
#make install
#smbd -D
# echo $?
1
# smbd -D -d 10
INFO: Current debug levels:
  all: 10
  tdb: 10
  printdrivers: 10
  lanman: 10
  smb: 10
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
  passdb: 10
  sam: 10
  auth: 10
  winbind: 10
  vfs: 10
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
  dns: 10
  ldb: 10
  tevent: 10
  auth_audit: 10
  auth_json_audit: 10
  kerberos: 10
  drs_repl: 10
  smb2: 10
  smb2_credits: 10
  dsdb_audit: 10
  dsdb_json_audit: 10
  dsdb_password_audit: 10
  dsdb_password_json_audit: 10
  dsdb_transaction_audit: 10
  dsdb_transaction_json_audit: 10
  dsdb_group_audit: 10
  dsdb_group_json_audit: 10
[root at hp-dl360g9-12 ~]# echo $?
1

I don't find any usefull log. Then I use systemd to start smbd services. Show this error:
-- Unit smb.service has begun starting up.
Oct 29 11:36:47 hp-dl360g9-12.rhts.eng.pek2.redhat.com systemd[1]: smb.service: Main process exited, code=exited, status=1/FAILURE
Oct 29 11:36:47 hp-dl360g9-12.rhts.eng.pek2.redhat.com systemd[1]: smb.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- 
-- The unit smb.service has entered the 'failed' state with result 'exit-code'.
Oct 29 11:36:47 hp-dl360g9-12.rhts.eng.pek2.redhat.com systemd[1]: Failed to start Samba SMB Daemon.
-- Subject: Unit smb.service has failed



Thanks.






More information about the samba-technical mailing list