get_printer_list_db: Failed to open printer_list.tdb
Michael Tokarev via samba <[email protected]> Sun, 8 Mar 2026 08:26:40 +0300
| Newsgroups | gmane.network.samba.general |
|---|---|
| Message-ID | <[email protected]> |
Hi!
Sometimes, I'm seeing a lot of messages like this:
Mar 07 22:40:32 rpcd_spoolss[199894]: [2026/03/07 22:40:32.239192, 0]
source3/printing/printer_list.c:58(get_printer_list_db)
Mar 07 22:40:32 rpcd_spoolss[199894]: get_printer_list_db: Failed to
open printer_list.tdb
Mar 07 23:40:46 rpcd_spoolss[200124]: [2026/03/07 23:40:46.123153, 0]
source3/printing/printer_list.c:58(get_printer_list_db)
Mar 07 23:40:46 rpcd_spoolss[200124]: get_printer_list_db: Failed to
open printer_list.tdb
According to this archlinux arcticle --
https://wiki.archlinux.org/title/Samba -
this is a bug in samba, and until it is fixed, it's recommended to
start samba-bgqd manually. However, this doesn't help either, and
apparently, samba-bgqd is already started by samba, as recorded in
its logfile.
What's interesting is this logfile, which reads:
[2026/03/07 22:40:31, 0] lib/util/become_daemon.c:150(daemon_status)
daemon 'samba-bgqd' : Starting process ...
sh: 1: hp1020: not found
[2026/03/07 23:40:45, 0] lib/util/become_daemon.c:150(daemon_status)
daemon 'samba-bgqd' : Starting process ...
[2026/03/07 23:40:45, 0] lib/util/become_daemon.c:150(daemon_status)
daemon 'samba-bgqd' : Starting process ...
sh: 1: hp1020: not found
note the 'sh: 1: hp1020' lines: "hp1020" is the name of the only printer
in use on this site.
Here's the relevant settings:
[global]
load printers = no
printing = BSD
printcap name = /dev/null
print command = lpr -P%p -l -h -r %s
[hp1020]
printer = hp1020
comment = HP LaserJet 1020
printable = yes
path = /var/tmp
Samba version 4.23.5.
What should be done to remedy this?
And why bqgd wants to run a command with the same name as the printer
name?
Thanks,
/mjt
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba