Remy Zandwijk
2009-Jan-20 15:45 UTC
[Samba] Samba 3.2.7 server loses printer - driver assignment
Hi, Our Samba/CUPS based printserver loses the info of which driver belongs to a certain printer. The server is running Samba 3.2.7 on Solaris 9. Out of the blue, users complain they cannot print. Looking at 'printers and faxes' from a Windows machine shows no info in the 'Model' field. In normal situations this field lists the driver/model name. Weird thing is: nobody is touching the printserver configuration at the time Samba loses the information, although the ntprinters.tdb file's change time is the time the problem occurs. Stopping Samba and replacing the ntprinters.tdb file by a backup file works and we can see the drivers again. What is going on here, but more important: what is the best way to debug this one? -Remy
Remy Zandwijk
2009-Jan-20 16:07 UTC
[Samba] Samba 3.2.7 server loses printer - driver assignment - aditional info
> Our Samba/CUPS based printserver loses the info of which driver belongs > to a certain printer. The server is running Samba 3.2.7 on Solaris 9.The workstation from which printerdrivers are uploaded runs from a VMware server VM (XP) which is reverted to the last snapshot every time, to have a clean machine. The smb log shows: [2009/01/20 16:30:50, 0] lib/fault.c:(40) ==============================================================[2009/01/20 16:30:50, 0] lib/fault.c:(41) INTERNAL ERROR: Signal 10 in pid 20404 (3.2.7) Please read the Trouble-Shooting section of the Samba3-HOWTO [2009/01/20 16:30:50, 0] lib/fault.c:(43) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2009/01/20 16:30:50, 0] lib/fault.c:(44) ==============================================================[2009/01/20 16:30:50, 0] lib/util.c:(1663) PANIC (pid 20404): internal error [2009/01/20 16:30:50, 0] lib/util.c:(1817) unable to produce a stack trace on this platform [2009/01/20 16:30:50, 0] lib/fault.c:(201) dumping core in /var/log/samba/cores/smbd I guess this is bad....Unfortunately, there is no core dump in that directory. Any comments? -Remy
Jeremy Allison
2009-Jan-20 18:09 UTC
[Samba] Samba 3.2.7 server loses printer - driver assignment - aditional info
On Tue, Jan 20, 2009 at 05:07:33PM +0100, Remy Zandwijk wrote:>> Our Samba/CUPS based printserver loses the info of which driver belongs >> to a certain printer. The server is running Samba 3.2.7 on Solaris 9. > > The workstation from which printerdrivers are uploaded runs from a VMware > server VM (XP) which is reverted to the last snapshot every time, to have > a clean machine. The smb log shows: > > [2009/01/20 16:30:50, 0] lib/fault.c:(40) > ==============================================================> [2009/01/20 16:30:50, 0] lib/fault.c:(41) > INTERNAL ERROR: Signal 10 in pid 20404 (3.2.7) > Please read the Trouble-Shooting section of the Samba3-HOWTO > [2009/01/20 16:30:50, 0] lib/fault.c:(43) > > From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf > [2009/01/20 16:30:50, 0] lib/fault.c:(44) > ==============================================================> [2009/01/20 16:30:50, 0] lib/util.c:(1663) > PANIC (pid 20404): internal error > [2009/01/20 16:30:50, 0] lib/util.c:(1817) > unable to produce a stack trace on this platform > [2009/01/20 16:30:50, 0] lib/fault.c:(201) > dumping core in /var/log/samba/cores/smbd > > > I guess this is bad....Unfortunately, there is no core dump in that directory. > > Any comments?Can you compile with -g and then add the following to your smb.conf [global] section please ? panic action = "/bin/sleep 99999" when you reproduce the crash smbd should be stuck waiting for the sleep process to finish. Attach to the parent of the sleep process (the crashed smbd) with gdb and get a backtrace (the "bt" command). This should tell us more about where the problem happens. Thanks ! Jeremy.
Volker Lendecke
2009-Jan-24 16:08 UTC
[Samba] Samba 3.2.7 server loses printer - driver assignment
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20090124/6f57d9f3/attachment-0001.bin
Reasonably Related Threads
- Calling Samba print server with an aliased DNS-name fails with Samba 3.2.7 but worked with 3.0.30.
- Samba printserver works for Win10 Pro but not Win10 Home edition
- Moving a printserver
- 3.5.1 64 bit windows printing is working a bit
- PDC migration: printing trouble.