[Samba] Samba 3.2.6 upgrade -> smbd panic in printing.

Pedro Rodrigues pedro at creativetools.se
Thu Dec 18 22:01:51 GMT 2008


I updated the server to that same Centos 5.2 level just before upgrading
Samba to 3.2.6, as part of a maintenance window. So I am unsure of any
relation. But ... in desperation when having the issue I downgraded Samba
to 3.2.4, the version I had at hand. The problem persisted.

Yesterday I did a full regression on Samba, glibc, cups and kernel
version. Now the problem is gone.

Not enough evidence to prove causation, true. That server being a
production machine means I can't use it for testing any longer,
unfortunately.

/Pedro


> Hi,
>
>
> (root at centos-vms04:~)# uname -a
> Linux centos-vms04 2.6.18-92.1.22.el5xen #1 SMP Tue Dec 16 13:08:49 EST
> 2008
> i686 i686 i386 GNU/Linux
> (root at centos-vms04:~)# rpm -qva | grep glibc
> glibc-common-2.5-24.el5_2.2
> glibc-2.5-24.el5_2.2
> (root at centos-vms04:~)# rpm -qva | grep cups
> gimp-print-cups-4.2.7-22
> cups-libs-1.2.4-11.18.el5_2.3
> gutenprint-cups-5.0.1-2.fc6
> cups-1.2.4-11.18.el5_2.3
>
>
> Openldap backend for full samba 3.2.6 domain. All clients are XP.
>
>
> Until a few hours ago I had done a yum upgrade but not rebooted, I have
> now
> rebooted and will monitor the system tomorrow and provide any info I can
>
> I'm not sure what caused it - so I dont know if I can reproduce to be
> honest,
>
>
> Getting a lot of
>
> ============
>
> [2008/12/18 16:02:42,  2]
> rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(273)
>   find_printer_index_by_hnd: Printer handle not found:
> find_printer_index_by_hnd: Printer handle not found: close_printer_handle:
> Invalid handle (OTHER:24426:29645)
> [2008/12/18 16:04:35,  2] smbd/sesssetup.c:setup_new_vc_session(1363)
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
> all
> old resources.
> [2008/12/18 16:04:35,  2] smbd/sesssetup.c:setup_new_vc_session(1363)
>   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
> all
> old resources.
> [2008/12/18 16:04:35,  2] lib/smbldap.c:smbldap_open_connection(796)
>   smbldap_open_connection: connection opened
> [2008/12/18 16:04:50,  0] lib/util_tdb.c:tdb_log(682)
>   tdb(/var/lib/samba/printing/IT2_HPCLJ4700N.tdb): tdb_reopen: open failed
> (No such file or directory)
> [2008/12/18 16:04:50,  0] lib/util.c:reinit_after_fork(1050)
>   tdb_reopen_all failed.
> [2008/12/18 16:04:50,  0] printing/print_cups.c:cups_pcap_load_async(392)
>   cups_pcap_load_async: reinit_after_fork() failed
> [2008/12/18 16:04:50,  0] lib/util.c:smb_panic(1663)
>   PANIC (pid 30719): cups_pcap_load_async: reinit_after_fork() failed
> [2008/12/18 16:04:50,  0] lib/util.c:log_stack_trace(1767)
>   BACKTRACE: 11 stack frames:
>    #0 smbd(log_stack_trace+0x2d) [0xcf0c2f]
>    #1 smbd(smb_panic+0x84) [0xcf0d71]
>    #2 smbd(cups_cache_reload+0x299) [0xcb7d2c]
>    #3 smbd(pcap_cache_reload+0x107) [0xcb4189]
>    #4 smbd(reload_printers+0x31) [0xf3b77a]
>    #5 smbd(check_reload+0x130) [0xb3d510]
>    #6 smbd [0xb3d55f]
>    #7 smbd(smbd_process+0xc92) [0xb3fa76]
>    #8 smbd(main+0x212c) [0xf3e0ec]
>    #9 /lib/i686/nosegneg/libc.so.6(__libc_start_main+0xdc) [0x4b5dec]
>    #10 smbd [0xac3061]
> [2008/12/18 16:04:50,  0] lib/fault.c:dump_core(201)
>   dumping core in /var/log/samba/cores/smbd
> [2008/12/18 16:04:50,  2] printing/print_cups.c:cups_async_callback(504)
>   cups_async_callback: failed to read a new printer list
> [2008/12/18 16:05:11,  0] lib/util_tdb.c:tdb_log(682)
>   tdb(/var/lib/samba/printing/Lib_HPLJ2300.tdb): tdb_reopen: file
> dev/inode
> has changed!
> [2008/12/18 16:05:11,  0] lib/util.c:reinit_after_fork(1050)
>   tdb_reopen_all failed.
> [2008/12/18 16:05:11,  0] printing/print_cups.c:cups_pcap_load_async(392)
>   cups_pcap_load_async: reinit_after_fork() failed
> [2008/12/18 16:05:11,  0] lib/util.c:smb_panic(1663)
>   PANIC (pid 30720): cups_pcap_load_async: reinit_after_fork() failed
> [2008/12/18 16:05:11,  0] lib/util.c:log_stack_trace(1767)
>   BACKTRACE: 11 stack frames:
>    #0 smbd(log_stack_trace+0x2d) [0xcf0c2f]
>    #1 smbd(smb_panic+0x84) [0xcf0d71]
>    #2 smbd(cups_cache_reload+0x299) [0xcb7d2c]
>    #3 smbd(pcap_cache_reload+0x107) [0xcb4189]
>    #4 smbd(reload_printers+0x31) [0xf3b77a]
>    #5 smbd(check_reload+0x130) [0xb3d510]
>    #6 smbd [0xb3d55f]
>    #7 smbd(smbd_process+0xc92) [0xb3fa76]
>    #8 smbd(main+0x212c) [0xf3e0ec]
>    #9 /lib/i686/nosegneg/libc.so.6(__libc_start_main+0xdc) [0x4b5dec]
>    #10 smbd [0xac3061]
> [2008/12/18 16:05:11,  0] lib/fault.c:dump_core(201)
>   dumping core in /var/log/samba/cores/smbd
> ============
>
> --- cut ---
>
> =============
> [2008/12/18 17:03:30,  2]
> rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(273)
>   find_printer_index_by_hnd: Printer handle not found:
> find_printer_index_by_hnd: Printer handle not found: close_printer_handle:
> Invalid handle (OTHER:30757:30842)
> [2008/12/18 17:03:30,  2]
> rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(273)
>   find_printer_index_by_hnd: Printer handle not found: _spoolss_fcpn:
> Invalid handle (OTHER:29557:30842)
> [2008/12/18 17:03:30,  2]
> rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(273)
>   find_printer_index_by_hnd: Printer handle not found:
> find_printer_index_by_hnd: Printer handle not found: close_printer_handle:
> Invalid handle (OTHER:29557:30842)
> [2008/12/18 17:03:30,  2]
> rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(273)
>   find_printer_index_by_hnd: Printer handle not found: _spoolss_fcpn:
> Invalid handle (OTHER:26290:30842)
> [2008/12/18 17:03:30,  2]
> rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(273)
>   find_printer_index_by_hnd: Printer handle not found:
> find_printer_index_by_hnd: Printer handle not found: close_printer_handle:
> Invalid handle (OTHER:26290:30842)
> [2008/12/18 17:03:30,  2]
> rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd(273)
>   find_printer_index_by_hnd: Printer handle not found:
> find_printer_index_by_hnd: Printer handle not found: close_printer_handle:
> Invalid handle (OTHER:26290:30842)
> =============
>
> --cut--
>
> ===========
>
> [2008/12/18 19:51:20,  2] printing/print_cups.c:cups_async_callback(504)
>   cups_async_callback: failed to read a new printer list
>
> ==========
>
>
> My sincere apologies if this is just more irritating/spam than useful
> information, I am desperately short of time and these seemed to be the
> relevant bits I could see immediately.
>
>
> Regards,
>
> Jon Wilson
>
> 2008/12/18 Pedro Rodrigues <pedro at creativetools.se>
>
>> Which kernel, glibc and cups are you running? Is your system updated?
>>
>> /Pedro
>>
>> > I have also been encountering similar issues since upgrading to the
>> 3..6
>> > sernet packages - Centos 5.2 server.
>> >
>> > I noticed a core dump and then most of the printers reset their
>> a4/letter
>> > settings.
>> > I am not convinced the printing is 'stable' at the minute either - but
>> > testing further.
>> >
>> > Print server only role for 20 printers and around 200 users.
>> >
>> >
>> > Regards,
>> >
>> > Jon Wilson
>> >
>> >
>> > 2008/12/16 Jeremy Allison <jra at samba.org>
>> >
>> >> On Tue, Dec 16, 2008 at 07:08:55PM +0100, Pedro at creativetools.se
>> wrote:
>> >>
>> >> > There are five printers, four of which with p&p drivers. And no, no
>> >> batch
>> >> > running, nothing that even touches the tdb files.
>> >> >
>> >> > A ten minuet session of lsof shows only smbd accesses those tdb
>> files.
>> >> I
>> >> > would be surprised if it was otherwise, since only Windows clients
>> >> ever
>> >> > hit this server.
>> >>
>> >> I'm following up in the bug report, as I want to track this.
>> >>
>> >> Thanks,
>> >>
>> >> Jeremy.
>> >> --
>> >> To unsubscribe from this list go to the following URL and read the
>> >> instructions:  https://lists.samba.org/mailman/listinfo/samba
>> >>
>> > --
>> > To unsubscribe from this list go to the following URL and read the
>> > instructions:  https://lists.samba.org/mailman/listinfo/samba
>> >
>>
>>
>>
>




More information about the samba mailing list