public inbox for linux-cifs@vger.kernel.org
 help / color / mirror / Atom feed
From: Xiaoli Feng <xifeng@redhat.com>
To: samba-technical <samba-technical@lists.samba.org>,
	CIFS <linux-cifs@vger.kernel.org>
Cc: jra@samba.org, Ronnie Sahlberg <lsahlber@redhat.com>
Subject: can't start smbd after install samba posix branch
Date: Thu, 29 Oct 2020 11:43:23 -0400 (EDT)	[thread overview]
Message-ID: <1397349053.55438877.1603986203418.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20262379.55437477.1603985286601.JavaMail.zimbra@redhat.com>

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@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.




           reply	other threads:[~2020-10-29 15:43 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20262379.55437477.1603985286601.JavaMail.zimbra@redhat.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1397349053.55438877.1603986203418.JavaMail.zimbra@redhat.com \
    --to=xifeng@redhat.com \
    --cc=jra@samba.org \
    --cc=linux-cifs@vger.kernel.org \
    --cc=lsahlber@redhat.com \
    --cc=samba-technical@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox