Issue when testing the Director's configuration file(s)

6 views
Skip to first unread message

Kai Zimmer

unread,
Jan 10, 2025, 4:48:49 AMJan 10
to bareos...@googlegroups.com
Hi,

i'm trying to take over a bareos 22 setup with a split config file where
each user has his own config file (for data privacy reasons). This
results in the folders "fileset" and "job" each having about 800
individual files. When i run a test of the config files, i get the
following error message:

/usr/sbin/bareos-dir --test-config
bareos-dir: CONFIG ERROR at lib/lex.cc:872
Config error: Cannot open included config file : Too many open files

What am i doing wrong?

Best,
Kai

Andreas Rogge

unread,
Jan 10, 2025, 4:55:40 AMJan 10
to bareos...@googlegroups.com
Am 10.01.25 um 10:48 schrieb 'Kai Zimmer' via bareos-users:
You're trying to open too many files :)
Check "ulimit -n" which will probably say "1024". You can usually
configure this in /etc/security/limits.conf or by creating an additional
file in /etc/security/limits.d/

Hope that helps!

Best Regards,
Andreas

--
Andreas Rogge andrea...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221-630693-86
http://www.bareos.com

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, Jörg Steffens, Philipp Storz

Kai Zimmer

unread,
Jan 10, 2025, 8:13:45 AMJan 10
to bareos...@googlegroups.com
Thank you very much!

Am 10.01.25 um 10:55 schrieb Andreas Rogge:
Reply all
Reply to author
Forward
0 new messages