[Samba] Re: myprinter.tdb spoilt, tdbbackup -v does not see corrupt data

2004-07-06 Thread andreas oster
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


[Samba] Re: myprinter.tdb spoilt, tdbbackup -v does not see corrupt data

2004-07-06 Thread andreas oster
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
Uups,
just reread your posting, maybe this is a completely different problem 
you have, but I think it's worth to give 3.04 a try :)

My Problem was, that after some time a print spool that is hosted on the 
samba server stopped working.

best regards
Andreas
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: myprinter.tdb spoilt, tdbbackup -v does not see corrupt data

2004-07-06 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
andreas oster wrote:
| I am using Version 3.0.2a of samba on Linux 2.4.18 (suse with
| self-compiled samba from tarball)
...
| Invalid handle (OTHER:25527:25530)
|
|
| just reread your posting, maybe this is a completely
| different problem you have, but I think it's worth to
| give 3.04 a try :)
I think its probablyh the same as bug 1147 so you recommendation
was correct.

cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
...a hundred billion castaways looking for a home. --- Sting
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFA6sBNIR7qMdg1EfYRAi7aAJ90y3GG97Vebf/uKyVCPa3KWbdWwwCfRTuP
EMYmRmlREpQPgfDgJEoB54U=
=JKDA
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba