Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems getting samba started. -- RESOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1001
Location: Tujunga, CA

PostPosted: Fri Sep 21, 2018 10:15 pm    Post subject: Problems getting samba started. -- RESOLVED Reply with quote

I want to use samba for sharing a printer. When I run /usr/bin/testparm, I get
Quote:
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
set_variable_helper(l0): value is not a valid size specifier!
Error loading services.
I'm hoping someone knows where to look in order to fix this error. Thanks,
Fred


Last edited by Fred Krogh on Sun Sep 23, 2018 3:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
grgdvo
n00b
n00b


Joined: 21 May 2017
Posts: 10

PostPosted: Sat Sep 22, 2018 9:02 pm    Post subject: Reply with quote

i suppose you should add something to /etc/security/limits.conf file.
may be a record about the number of max opened files is help to solve the problem

Code:
*      -      nofile      16384


and dont forget to reload limits (may be it would better reboot your system)
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1001
Location: Tujunga, CA

PostPosted: Sat Sep 22, 2018 9:16 pm    Post subject: Reply with quote

Your suggestion helped a bit. There is no longer a complaint on rlimit, but the rest of the song remains the same. Thanks.
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1001
Location: Tujunga, CA

PostPosted: Sat Sep 22, 2018 11:21 pm    Post subject: Reply with quote

Posting this has it might help.
Quote:
# samba -d 9
INFO: Current debug levels:
all: 9
tdb: 9
printdrivers: 9
lanman: 9
smb: 9
rpc_parse: 9
rpc_srv: 9
rpc_cli: 9
passdb: 9
sam: 9
auth: 9
winbind: 9
vfs: 9
idmap: 9
quota: 9
acls: 9
locking: 9
msdfs: 9
dmapi: 9
registry: 9
scavenger: 9
dns: 9
ldb: 9
tevent: 9
auth_audit: 9
auth_json_audit: 9
kerberos: 9
drs_repl: 9
smb2: 9
smb2_credits: 9
dsdb_audit: 9
dsdb_json_audit: 9
dsdb_password_audit: 9
dsdb_password_json_audit: 9
dsdb_transaction_audit: 9
dsdb_transaction_json_audit: 9
dsdb_group_audit: 9
dsdb_group_json_audit: 9
lpcfg_load: refreshing parameters from /etc/samba/smb.conf
Processing section "[global]"
set_variable_helper(l0): value is not a valid size specifier!
pm_process() returned No
There is nothing called variable or helper in samba.conf
Back to top
View user's profile Send private message
hdcg
n00b
n00b


Joined: 07 Apr 2013
Posts: 55

PostPosted: Sun Sep 23, 2018 5:35 am    Post subject: Reply with quote

Hi Fred,

can you please share the content of your smb.conf file. Especially the [global] section.

Best Regards,
Holger
Back to top
View user's profile Send private message
grgdvo
n00b
n00b


Joined: 21 May 2017
Posts: 10

PostPosted: Sun Sep 23, 2018 8:51 am    Post subject: Reply with quote

Fred Krogh wrote:
There is nothing called variable or helper in samba.conf

What does testparm think about yuor config???
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1001
Location: Tujunga, CA

PostPosted: Sun Sep 23, 2018 2:59 pm    Post subject: Reply with quote

In the original posting I gave minimal results from testparam. Below is the most info from it that I know how to get.
Quote:
# testparm -v -d9
INFO: Current debug levels:
all: 9
tdb: 9
printdrivers: 9
lanman: 9
smb: 9
rpc_parse: 9
rpc_srv: 9
rpc_cli: 9
passdb: 9
sam: 9
auth: 9
winbind: 9
vfs: 9
idmap: 9
quota: 9
acls: 9
locking: 9
msdfs: 9
dmapi: 9
registry: 9
scavenger: 9
dns: 9
ldb: 9
tevent: 9
auth_audit: 9
auth_json_audit: 9
kerberos: 9
drs_repl: 9
smb2: 9
smb2_credits: 9
dsdb_audit: 9
dsdb_json_audit: 9
dsdb_password_audit: 9
dsdb_password_json_audit: 9
dsdb_transaction_audit: 9
dsdb_transaction_json_audit: 9
dsdb_group_audit: 9
dsdb_group_json_audit: 9
Load smb config files from /etc/samba/smb.conf
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
INFO: Current debug levels:
all: 9
tdb: 9
printdrivers: 9
lanman: 9
smb: 9
rpc_parse: 9
rpc_srv: 9
rpc_cli: 9
passdb: 9
sam: 9
auth: 9
winbind: 9
vfs: 9
idmap: 9
quota: 9
acls: 9
locking: 9
msdfs: 9
dmapi: 9
registry: 9
scavenger: 9
dns: 9
ldb: 9
tevent: 9
auth_audit: 9
auth_json_audit: 9
kerberos: 9
drs_repl: 9
smb2: 9
smb2_credits: 9
dsdb_audit: 9
dsdb_json_audit: 9
dsdb_password_audit: 9
dsdb_password_json_audit: 9
dsdb_transaction_audit: 9
dsdb_transaction_json_audit: 9
dsdb_group_audit: 9
dsdb_group_json_audit: 9
INFO: Current debug levels:
all: 9
tdb: 9
printdrivers: 9
lanman: 9
smb: 9
rpc_parse: 9
rpc_srv: 9
rpc_cli: 9
passdb: 9
sam: 9
auth: 9
winbind: 9
vfs: 9
idmap: 9
quota: 9
acls: 9
locking: 9
msdfs: 9
dmapi: 9
registry: 9
scavenger: 9
dns: 9
ldb: 9
tevent: 9
auth_audit: 9
auth_json_audit: 9
kerberos: 9
drs_repl: 9
smb2: 9
smb2_credits: 9
dsdb_audit: 9
dsdb_json_audit: 9
dsdb_password_audit: 9
dsdb_password_json_audit: 9
dsdb_transaction_audit: 9
dsdb_transaction_json_audit: 9
dsdb_group_audit: 9
dsdb_group_json_audit: 9
Processing section "[global]"
doing parameter security = user
doing parameter os level = 20
doing parameter printer = Sam
doing parameter workgroup = crowsnest
doing parameter path = /var/spool/samba
doing parameter dns proxy = no
doing parameter socket options = TCP_NODELAY
doing parameter remote announce = 192.168.1.11 192.168.1.2
doing parameter max log size = l0
set_variable_helper(l0): value is not a valid size specifier!
pm_process() returned No
lp_servicenumber: couldn't find homes
Error loading services.
Freeing parametrics:
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6206
Location: Room 101

PostPosted: Sun Sep 23, 2018 3:05 pm    Post subject: Reply with quote

Fred Krogh wrote:
Code:
doing parameter max log size = l0
set_variable_helper(l0): value is not a valid size specifier!

Fred Krogh ... that looks to me as though you have 'l0' (lowercase "L", and numeral "zero") when this parameter expects an integer. I expect you wanted "10" (numeral "one" and numeral "zero").

best ... khay
Back to top
View user's profile Send private message
Fred Krogh
Veteran
Veteran


Joined: 07 Feb 2005
Posts: 1001
Location: Tujunga, CA

PostPosted: Sun Sep 23, 2018 3:08 pm    Post subject: Reply with quote

Thank you, thank you, thank you,. You have a good eye. Samba at least starts, now I just need to see if it works!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum