Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Problems getting samba started. -- RESOLVED

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Fred Krogh
Veteran
Veteran
Posts: 1036
Joined: Mon Feb 07, 2005 11:50 pm
Location: Tujunga, CA
Contact:
Contact Fred Krogh
Website

Problems getting samba started. -- RESOLVED

  • Quote

Post by Fred Krogh » Fri Sep 21, 2018 10:15 pm

I want to use samba for sharing a printer. When I run /usr/bin/testparm, I get
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.
Top
grgdvo
n00b
n00b
Posts: 15
Joined: Sun May 21, 2017 11:55 am

  • Quote

Post by grgdvo » Sat Sep 22, 2018 9:02 pm

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: Select all

*      -      nofile      16384
and dont forget to reload limits (may be it would better reboot your system)
Top
Fred Krogh
Veteran
Veteran
Posts: 1036
Joined: Mon Feb 07, 2005 11:50 pm
Location: Tujunga, CA
Contact:
Contact Fred Krogh
Website

  • Quote

Post by Fred Krogh » Sat Sep 22, 2018 9:16 pm

Your suggestion helped a bit. There is no longer a complaint on rlimit, but the rest of the song remains the same. Thanks.
Top
Fred Krogh
Veteran
Veteran
Posts: 1036
Joined: Mon Feb 07, 2005 11:50 pm
Location: Tujunga, CA
Contact:
Contact Fred Krogh
Website

  • Quote

Post by Fred Krogh » Sat Sep 22, 2018 11:21 pm

Posting this has it might help.
# 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
Top
hdcg
Tux's lil' helper
Tux's lil' helper
Posts: 122
Joined: Sun Apr 07, 2013 8:30 am

  • Quote

Post by hdcg » Sun Sep 23, 2018 5:35 am

Hi Fred,

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

Best Regards,
Holger
Top
grgdvo
n00b
n00b
Posts: 15
Joined: Sun May 21, 2017 11:55 am

  • Quote

Post by grgdvo » Sun Sep 23, 2018 8:51 am

Fred Krogh wrote:There is nothing called variable or helper in samba.conf
What does testparm think about yuor config???
Top
Fred Krogh
Veteran
Veteran
Posts: 1036
Joined: Mon Feb 07, 2005 11:50 pm
Location: Tujunga, CA
Contact:
Contact Fred Krogh
Website

  • Quote

Post by Fred Krogh » Sun Sep 23, 2018 2:59 pm

In the original posting I gave minimal results from testparam. Below is the most info from it that I know how to get.
# 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:
Top
khayyam
Watchman
Watchman
User avatar
Posts: 6227
Joined: Thu Jun 07, 2012 2:45 am
Location: Room 101

  • Quote

Post by khayyam » Sun Sep 23, 2018 3:05 pm

Fred Krogh wrote:

Code: Select all

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
Top
Fred Krogh
Veteran
Veteran
Posts: 1036
Joined: Mon Feb 07, 2005 11:50 pm
Location: Tujunga, CA
Contact:
Contact Fred Krogh
Website

  • Quote

Post by Fred Krogh » Sun Sep 23, 2018 3:08 pm

Thank you, thank you, thank you,. You have a good eye. Samba at least starts, now I just need to see if it works!
Top
Post Reply

9 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy