Samba server just worked fine, until I slightly modified /etc/samba/smb.conf.
But /etc/samba/smb.conf looks fine when I run testparm, i get this.
Code: Select all
(base) [root@penta01 SERVER]# testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
dos charset = CP932
printcap name = cups
security = USER
server min protocol = SMB2
workgroup = SAMBA
catia:mappings = 0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0xf7,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6
idmap config * : backend = tdb
cups options = raw
mangled names = no
vfs objects = catia
[homes]
browseable = No
comment = Home Directories
inherit acls = Yes
read only = No
valid users = %S %D%w%S
[printers]
browseable = No
comment = All Printers
create mask = 0600
path = /var/tmp
printable = Yes
[print$]
comment = Printer Drivers
create mask = 0664
directory mask = 0775
force group = @printadmin
path = /var/lib/samba/drivers
write list = @printadmin root
[SF]
comment = First Shared Folder
create mask = 0777
directory mask = 0777
guest ok = Yes
path = /pathTOshare
read only = No
write list = shareuser
Code: Select all
smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2022-06-24 10:45:02 KST; 5s ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 143239 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 143239 (code=exited, status=1/FAILURE)
Jun 24 10:45:02 penta01 systemd[1]: Starting Samba SMB Daemon...
Jun 24 10:45:02 penta01 smbd[143239]: /usr/sbin/smbd: /lib/libtdb.so.1: version `TDB_1.3.17' not found (required by /lib/libsmbconf.so.0)
Jun 24 10:45:02 penta01 systemd[1]: smb.service: main process exited, code=exited, status=1/FAILURE
Jun 24 10:45:02 penta01 systemd[1]: Failed to start Samba SMB Daemon.
Jun 24 10:45:02 penta01 systemd[1]: Unit smb.service entered failed state.
Jun 24 10:45:02 penta01 systemd[1]: smb.service failed.
/usr/lib Directory
Code: Select all
(base) [root@penta01 lib]# ll libtdb*
lrwxrwxrwx 1 root root 16 Jun 24 09:55 libtdb.so.1 -> libtdb.so.1.3.16
-rwxr-xr-x. 1 root root 95752 Aug 9 2019 libtdb.so.1.3.16
Code: Select all
(base) [root@penta01 lib64]# ll libtdb*
lrwxrwxrwx 1 root root 16 Aug 11 2021 libtdb.so.1 -> libtdb.so.1.3.18
-rwxr-xr-x 1 root root 95784 Apr 1 2020 libtdb.so.1.3.18
Code: Select all
(base) [root@penta01 SERVER]# rpm -qa | grep samba
samba-4.10.16-18.el7_9.x86_64
samba-common-4.10.16-18.el7_9.noarch
samba-common-libs-4.10.16-18.el7_9.x86_64
samba-libs-4.10.16-18.el7_9.x86_64
samba-common-tools-4.10.16-18.el7_9.x86_64
samba-client-libs-4.10.16-18.el7_9.x86_64
FYI, I did yum update as one of the recommendations.
What can I do with this problem?
Thank you in advance.