You are not logged in.

#1 2018-09-12 20:51:12

cmmps
Member
From: Portugal, Lisbon
Registered: 2012-04-26
Posts: 70

[SOLVED] Samba SMB Daemon fails to start

Hi there

I recently reinstalled Arch Linux on my main desktop and I just kept my personal files. Everything else was a "new fresh installation".
Now I just can't start the samba service. First there was a problem with a missing directory (/usr/local/samba/var) but I created the directory and it solved the problem. However another weird problem is still persisting, even after I updated the system with a "pacman -Syu":

Sep 12 21:30:07 phoenix systemd[1]: Starting Samba SMB Daemon...
Sep 12 21:30:07 phoenix smbd[810]: [2018/09/12 21:30:07.926941,  0] ../lib/param/loadparm.c:1610(set_variable_helper)
Sep 12 21:30:07 phoenix smbd[810]:   set_variable_helper(not): value is not boolean!
Sep 12 21:30:07 phoenix systemd[1]: smb.service: Main process exited, code=exited, status=1/FAILURE
Sep 12 21:30:07 phoenix systemd[1]: smb.service: Failed with result 'exit-code'.
Sep 12 21:30:07 phoenix systemd[1]: Failed to start Samba SMB Daemon.

The same problem appears with "testparm":

...
set_variable_helper(not): value is not boolean!
Error loading services.

My CPU is a AMD Ryzen 7 1700X Eight-Core Processor with 16Gb of RAM.

Any ideas?

Kind regards

Last edited by cmmps (2018-09-12 22:05:14)


Carlos Santos

Offline

#2 2018-09-12 21:40:18

loqs
Member
Registered: 2014-03-06
Posts: 17,885

Re: [SOLVED] Samba SMB Daemon fails to start

What was the full output of testparm?

Offline

#3 2018-09-12 21:44:35

cmmps
Member
From: Portugal, Lisbon
Registered: 2012-04-26
Posts: 70

Re: [SOLVED] Samba SMB Daemon fails to start

The first lines are telling the shares are ok... But I don't mind to post them. Here you go, but I don't believe they'll help:

Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[data]"
set_variable_helper(not): value is not boolean!
Error loading services.

Thanks.


Carlos Santos

Offline

#4 2018-09-12 21:49:13

loqs
Member
Registered: 2014-03-06
Posts: 17,885

Re: [SOLVED] Samba SMB Daemon fails to start

The section data,  does it contain the string 'not' ?

Offline

#5 2018-09-12 22:04:33

cmmps
Member
From: Portugal, Lisbon
Registered: 2012-04-26
Posts: 70

Re: [SOLVED] Samba SMB Daemon fails to start

Oh my GOD!!!! loqs... you're right! That was really stupid of me... I had "printable = not" instead of "printable = no"... Right in front of my eyes!!! sad
Sorry guys!!! I'll mark the post has SOLVED.

Thanks again for pointing that out for me! I never felt so stupid! Really!


Carlos Santos

Offline

Board footer

Powered by FluxBB