[Bug 760914] New: Samba printing not working after update to 3.6.X (Failed to fetch record!)
https://bugzilla.novell.com/show_bug.cgi?id=760914 https://bugzilla.novell.com/show_bug.cgi?id=760914#c0 Summary: Samba printing not working after update to 3.6.X (Failed to fetch record!) Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: a.winzer@koenig-dey.de QAContact: samba-maintainers@SuSE.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0 I'm using samba for virtual printing. I send via samba PostScript commands to 2 scripts. One makes pdf-files using "ps2pdf" the other one png-files using "convert". This system is used exclusively with Windows XP Prof. (SP3) clients. I started with version 3.5.7 which is content of the openSUSE 11.4 x64 DVD. I'm using the scripts since openSUSE 10.3. With the last updates via repository "update" I made the update to 3.6.3. Since than I can print with samba as well. As long the Windows XP system has the printers already installed. But if I want to setup a new System the printer is found, I can install the Windows drivers but I can't connect at the end of the install routine. The error Messages in German are always: 01 'Druckerverbindung kann nicht hergestellt werden. Entweder der eingegebene' 02 'Druckername ist ungültig, oder der angegebene Drucker ist nicht mehr mit dem Server' 03 'verbunden. Klicken Sie auf "Hilfe", um weitere Informationen zu erhalten.' This should mean something like 01 'Printer connection failed. Either the entered' 02 'printer name is invalid, or the entered printer is not connected to the server.' 03 'Click on "help" to get further information.' The further information are useless. There are no files at /var/log/cups. The specific file at /var/log/samba/log.lh-02 has the following content: [2012/05/07 12:01:29.721655, 1] printing/printer_list.c:94(printer_list_get_printer) Failed to fetch record! [2012/05/07 12:01:31.177798, 1] printing/printer_list.c:94(printer_list_get_printer) Failed to fetch record! [2012/05/07 12:01:31.218476, 1] printing/printer_list.c:94(printer_list_get_printer) Failed to fetch record! [2012/05/07 12:01:31.224536, 1] printing/printer_list.c:94(printer_list_get_printer) Failed to fetch record! Deactivation of AppArmor didn't help. I add 'http://download.opensuse.org/repositories/network:/samba:/STABLE/openSUSE_11...' to my repositories and updated to 3.6.4 and yesterday (May 6th 2012) to 3.6.5. It didn't help with that problem. Reproducible: Always Steps to Reproduce: Installed clean Windows XP clients in real and virtual Machines. The same error every time. Actual Results: Could be similar with https://bugzilla.novell.com/show_bug.cgi?id=760425: Problems since 3.6.3. But the error messages are quite different. Can someone please give me exact advice howto downgrade to samba 3.5.7? Thank's in advance. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c
Alexander Winzer
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c1
Alexander Winzer
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c2
--- Comment #2 from Alexander Winzer
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c3
David Disseldorp
I'm also wondering, that I still got error messages as followed:
[2012/05/20 15:57:41.705742, 1] printing/printer_list.c:94(printer_list_get_printer) Failed to fetch record!
The printcap cache retrieved from the printing backend (CUPS) is stored temporarily in a printer list tdb. This error message indicates that Samba is attempting to retrieve printer information from the printcap cache for a printer that does not exist in the printer list tdb at that time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c4
--- Comment #4 from Alexander Winzer
Alexander, are you still having XP printer connection issues in 12.1?
I'm not using 12.1. I still use 11.4. I add the repository http://download.opensuse.org/repositories/network:/samba:/STABLE/openSUSE_11... and made some updates over the last weeks. Until I'm not setting up a Windows XP machine every day I can't tell, if it worked meanwhile. But I believe it worked fine at least once. That's the reason, why I forgot this Thread.
... The printcap cache retrieved from the printing backend (CUPS) is stored temporarily in a printer list tdb. This error message indicates that Samba is attempting to retrieve printer information from the printcap cache for a
(In reply to comment #2) ... printer that does not exist in the printer list tdb at that time.
I got that. However it's kind of a miracle that just today I have to do a Window XP and install of samba printers failed again. Meanwhile I version 3.6.6-114.1-2823-SUSE-SL11.4-x86_64 is installed. Because of your message, I already cleared all files in /var/lib/samba which has to do with printing and /var/lib/samba/printing itself. Without success :-( Now understanding the error message is there anything else I could do/try? Until you set the need info flag, what further information do you request? Thanks, Alex -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c5
--- Comment #5 from David Disseldorp
Now understanding the error message is there anything else I could do/try? Until you set the need info flag, what further information do you request?
Please attach your smb.conf file and level 10 logs, captured while attempting to connect to the printer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c6
--- Comment #6 from Alexander Winzer
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c7
--- Comment #7 from Alexander Winzer
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c8
--- Comment #8 from Alexander Winzer
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c9
--- Comment #9 from Alexander Winzer
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c10
Alexander Winzer
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c11
--- Comment #11 from David Disseldorp
Here are the logs. Sorry for these 4 comments. Is there any way to upload several files at once, besides packing as zip?
A tar.bz2 or tar.gz is fine in most cases. This (In reply to comment #2) ...
I'm also wondering, that I still got error messages as followed:
[2012/05/20 15:57:41.705742, 1] printing/printer_list.c:94(printer_list_get_printer) Failed to fetch record!
These error messages are caused by delete_and_reload_printers(), which checks the pcap cache for printers which have been defined statically (in smb.conf). It has been fixed upstream with master commit ba862f47d78e0077d3e01dd84635b76850314436. The errors are likely unrelated to the printing failures you are seeing. Therefore this bug should remain open. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c12
--- Comment #12 from Alexander Winzer
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c13
--- Comment #13 from Greg Searle
https://bugzilla.novell.com/show_bug.cgi?id=760914
https://bugzilla.novell.com/show_bug.cgi?id=760914#c
Greg Searle
participants (1)
-
bugzilla_noreply@novell.com