View previous topic :: View next topic |
Author |
Message |
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Fri Sep 21, 2018 10:15 pm Post subject: Problems getting samba started. -- RESOLVED |
|
|
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 |
|
|
grgdvo n00b
Joined: 21 May 2017 Posts: 15
|
Posted: Sat Sep 22, 2018 9:02 pm Post subject: |
|
|
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
and dont forget to reload limits (may be it would better reboot your system) |
|
Back to top |
|
|
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Sat Sep 22, 2018 9:16 pm Post subject: |
|
|
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 |
|
|
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Sat Sep 22, 2018 11:21 pm Post subject: |
|
|
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 |
|
|
hdcg Tux's lil' helper
Joined: 07 Apr 2013 Posts: 120
|
Posted: Sun Sep 23, 2018 5:35 am Post subject: |
|
|
Hi Fred,
can you please share the content of your smb.conf file. Especially the [global] section.
Best Regards,
Holger |
|
Back to top |
|
|
grgdvo n00b
Joined: 21 May 2017 Posts: 15
|
Posted: Sun Sep 23, 2018 8:51 am Post subject: |
|
|
Fred Krogh wrote: | There is nothing called variable or helper in samba.conf |
What does testparm think about yuor config??? |
|
Back to top |
|
|
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Sun Sep 23, 2018 2:59 pm Post subject: |
|
|
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 |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sun Sep 23, 2018 3:05 pm Post subject: |
|
|
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 |
|
|
Fred Krogh Veteran
Joined: 07 Feb 2005 Posts: 1036 Location: Tujunga, CA
|
Posted: Sun Sep 23, 2018 3:08 pm Post subject: |
|
|
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 |
|
|
|