Centos8 - samba service can't start

Issues related to configuring your network
Post Reply
meteor511
Posts: 2
Joined: 2021/05/27 15:18:32

Centos8 - samba service can't start

Post by meteor511 » 2021/05/28 07:57:50

Hi,

I use centos8 and couldn't start samba service. here is the result of service smb status:

Code: Select all

● smb.service - Samba SMB Daemon
   Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2021-05-28 14:57:57 CST; 2s ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
  Process: 10167 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 10167 (code=exited, status=1/FAILURE)

5月 28 14:57:57 localhost.localdomain systemd[1]: Starting Samba SMB Daemon...
5月 28 14:57:57 localhost.localdomain smbd[10167]: /usr/sbin/smbd: /usr/lib64/samba/libreplace-samba4.so: version `SAMBA_4.9.1' not found (required by /lib64/libwbclient.so.0)
5月 28 14:57:57 localhost.localdomain smbd[10167]: /usr/sbin/smbd: /usr/lib64/samba/libwinbind-client-samba4.so: version `SAMBA_4.9.1' not found (required by /lib64/libwbclient.so.0)
5月 28 14:57:57 localhost.localdomain systemd[1]: smb.service: Main process exited, code=exited, status=1/FAILURE
5月 28 14:57:57 localhost.localdomain systemd[1]: smb.service: Failed with result 'exit-code'.
5月 28 14:57:57 localhost.localdomain systemd[1]: Failed to start Samba SMB Daemon.
I try to use yum -y update to fix that, but there also have some problem:

Code: Select all

Error: Transaction check error:
file /usr/bin/rxe_cfg from install of libibverbs-utils-29.0-3.el8.x86_64 conflicts with file from package libibverbs-22.3-1.el8.x86_64
file /usr/share/man/man8/rxe_cfg.8.gz from install of libibverbs-utils-29.0-3.el8.x86_64 conflicts with file from package libibverbs-22.3-1.el8.x86_64
install them indently conldn't work too.

Help, please.

BShT
Posts: 583
Joined: 2019/10/09 12:31:40

Re: Centos8 - samba service can't start

Post by BShT » 2021/05/28 17:52:26

look at your repos

Repo : BaseOS
libibverbs = 29.0-3.el8

meteor511
Posts: 2
Joined: 2021/05/27 15:18:32

Re: Centos8 - samba service can't start

Post by meteor511 » 2021/05/29 11:06:25

Thank you for your help,BShT.

Actually, after a difficult search, I finally solved the problem. For the secend issue, I found some commands to uninstalled the old package and reinstalled the new one. So, for your question, they are now the new version:

Code: Select all

libibverbs.i686                                          29.0-3.el8                                           BaseOS
libibverbs.i686                                          29.0-3.el8                                           baseos
But,that doesn't work for the first problem. Samba service still can't start.

Then I found another article that said there might be some mistakes in this file /lib64/libwbclient.so.0
Need to use dnf reinstall libwbclient
after this command, Samba service start successfully.

Anyway, I really appreciate your reply.

Post Reply