Klaus Renner schrieb:
Hi,
I am using Version 3.0.2a of samba on Linux 2.4.18 (suse with self-compiled samba from
tarball)
smb.conf:
[IEPRINT]
path = /home/htmprint/tmp
printable = Yes
print command = /home/htmprint/Programme/virtual_printer.sh %s
After some weeks with some thousand printjobs generated by a program running as
W2k-service the printer was no more available.
I checked printing from windows: it hangs notepad.
Samba-logfile says:
[2004/07/05 17:48:39, 3] smbd/ipc.c:api_fd_reply(296)
Got API command 0x26 on pipe "spoolss" (pnum 739f)free_pipe_context: destroy
ing talloc pool of size 0
[2004/07/05 17:48:39, 3] rpc_server/srv_pipe.c:api_rpcTNP(1509)
api_rpcTNP: rpc command: SPOOLSS_WRITEPRINTER
[2004/07/05 17:48:39, 2] rpc_server/srv_spoolss_nt.c:find_printer_index_by_hnd
(268)
find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter:
Invalid handle (OTHER:25527:25530)
[2004/07/05 17:48:39, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
free_pipe_context: destroying talloc pool of size 24576
I tried to check with
tdbbackup -v /usr/local/samba/var/locks/printing/IEPRINT.tdb
I got returncode 0 , but that ~.tdb was spoilt .
Moving the file IEPRINT.tdb away makes the printer IEPRINT running.
Some weeks ago I had the same error, but could not find any reason. So I removed samba
and installed it again. So I deleted the problem without knowing, what file is affeted.
It seems, that the error depends on the number of printjobs or on the time, the
printer is used(about 5 weeks)
I can provide this spoilt file IEPRINT.tdb . It is perhaps helpful in finding the bug.
I think its to big to attach it . (139K)
greetings
________________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193
Dear Klaus,
I had a similar problem when a network printer suddenly was not
accessible anymore. Only deleting of some .tdb files could solve
the problem, but unfortunately not for long :(
Jerry, from the samba team recommended to upgrade to 3.04, because
there is a known bug which has been fixed in this release.
Now everything works fine :)
best regards
Andreas
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba