Article 4YHE4 Troubles installing Samba Centos 8

Troubles installing Samba Centos 8

by
wboshinski
from LinuxQuestions.org on (#4YHE4)
Having Troubles install samba
Installed samba via
"Package Dependencies Required to Build Samba" from Samba wiki
everything was going well until restart.

sudo systemctl restart {smb,nmb}

Job for smb.service failed because the control process exited with error code.
See "systemctl status smb.service" and "journalctl -xe" for details.
[root@localhost samba]# journalctl -xe
Jan 27 22:05:22 localhost.localdomain systemd[1]: Started Samba NMB Daemon.
-- Subject: Unit nmb.service has finished start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit nmb.service has finished starting up.
--
-- The start-up result is RESULT.
Jan 27 22:05:22 localhost.localdomain nmbd[25579]: [2020/01/27 22:05:22.996499, 0] ../../lib/u>
Jan 27 22:05:22 localhost.localdomain nmbd[25579]: daemon_ready: daemon 'nmbd' finished start>
Jan 27 22:05:23 localhost.localdomain smbd[25577]: [2020/01/27 22:05:23.016907, 0] ../../lib/p>
Jan 27 22:05:23 localhost.localdomain smbd[25577]: set_variable_helper(yes #ok = no): value i>
Jan 27 22:05:23 localhost.localdomain systemd[1]: smb.service: Main process exited, code=exited>
Jan 27 22:05:23 localhost.localdomain systemd[1]: smb.service: Failed with result 'exit-code'.
Jan 27 22:05:23 localhost.localdomain systemd[1]: Failed to start Samba SMB Daemon.
-- Subject: Unit smb.service has failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit smb.service has failed.
--
-- The result is RESULT.

Then smb.conf file is:
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.

[global]
workgroup = SAMBA #363OSR
security = user
#map to guest = Bad User
passdb backend = tdbsam

printing = cups
printcap name = cups
load printers = yes
cups options = raw
map to guest = bad user

[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
create mask = 0664
directory mask = 0775

[myshare]
path = /var/shares/myshare
comment = Sample Share
writable = yes

[NetApps]
path = /data/network-applications
writeable = yes
browseable = yes
valid users = administrator

[linuxconfig]
path = /mnt/shared
guest only = yes #ok = no
# writeable = no

[users]
path = /samba/users
browseable = yes
read only = no
force create mode = 0660
force directory mode = 2770
valid users = @sambashare @sadmin

[bill]
path = /samba/bill
browseable = yes
read only = no
force create mode = 0660
force directory mode = 2770
valid users = bill @sadmin

Not sure what's going on as I'm new and still figuring it out
thank youlatest?d=yIl2AUoC8zA latest?i=h2ju9IBgU4A:X59k484lB_A:F7zBnMy latest?i=h2ju9IBgU4A:X59k484lB_A:V_sGLiP latest?d=qj6IDK7rITs latest?i=h2ju9IBgU4A:X59k484lB_A:gIN9vFwh2ju9IBgU4A
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments