You are not logged in.
I want to know why services fail to start, but specifically this one:
sudo systemctl start samba
Job for samba.service failed because the control process exited with error code.
See "systemctl status samba.service" and "journalctl -xeu samba.service" for details.samba just stopped working
it would wouldn't fail because of the conf file, would it?
cat /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
server string = Samba Server
netbios name = samba
security = share
[public]
path = /home/amine/Downloads/ABDM/Compressed
browseable= yes
read only = yes
writable = no
guest ok = yesthe journal : https://paste.c-net.org/EconomicGorilla
Last edited by aminepro (2026-08-09 00:24:19)
Offline
sudo systemctl start samba
...
Aug 09 01:39:55 koko samba[4649]: At this time the 'samba' binary should only be used for either:
Aug 09 01:39:55 koko samba[4649]: 'server role = active directory domain controller' or the rpc proxy with 'dcerpc endpoint servers = remote'
For file sharing you should run smb.service, not samba.service.
Online
Ok, still
systemctl start smb
Job for smb.service failed because the control process exited with error code.
See "systemctl status smb.service" and "journalctl -xeu smb.service" for details.journal: https://paste.c-net.org/HippiePatient
Last edited by aminepro (2026-08-09 01:31:26)
Offline
Show /var/log/samba/log.smbd
Online
cat /var/log/samba/log.smbd
[2026/08/09 02:25:35, 0] ../../lib/param/loadparm.c:1061(lp_set_enum_parm)
WARNING: Ignoring invalid value 'share' for parameter 'security'
Can't load /etc/samba/smb.conf - run testparm to debug it
smbd - Failed to load config file!
[2026/08/09 02:31:49, 0] ../../lib/param/loadparm.c:1061(lp_set_enum_parm)
WARNING: Ignoring invalid value 'share' for parameter 'security'
Can't load /etc/samba/smb.conf - run testparm to debug it
smbd - Failed to load config file!
Can't load /etc/samba/smb.conf - run testparm to debug it
smbd - Failed to load config file!
[2026/08/09 03:27:35, 0] ../../lib/param/loadparm.c:1061(lp_set_enum_parm)
WARNING: Ignoring invalid value 'share' for parameter 'security'
Can't load /etc/samba/smb.conf - run testparm to debug it
smbd - Failed to load config file!
[2026/08/09 03:30:31, 0] ../../lib/param/loadparm.c:1061(lp_set_enum_parm)
WARNING: Ignoring invalid value 'share' for parameter 'security'
Can't load /etc/samba/smb.conf - run testparm to debug it
smbd - Failed to load config file!
[2026/08/09 12:50:35, 0] ../../lib/param/loadparm.c:1061(lp_set_enum_parm)
WARNING: Ignoring invalid value 'share' for parameter 'security'
Can't load /etc/samba/smb.conf - run testparm to debug it
smbd - Failed to load config file!Thanks I fixed it, though I read it in this doc https://web.mit.edu/darwin/src/modules/ … ESTACCOUNT
using the official one then https://www.samba.org/samba/docs/curren … l/smb.conf
I'll add more later so I'm not marking this thread as solved yet (
Last edited by aminepro (2026-08-09 12:08:09)
Offline
though I read it in this doc https://web.mit.edu/darwin/src/modules/ … ESTACCOUNT
Note at the bottom of that page:
VERSION
This man page is correct for version 2.2 of the Samba suite.
My advice is to always refer to the documentation that corresponds to the software version. https://man.archlinux.org/man/smb.conf.5
Online