ppr-list-digest volume 2, number 32, message 2

Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.


From: "David S. Chappell" <David.Chappell@mail.trincoll.edu>
Date: Wed, 23 Feb 2000 15:41:01 -0500
Subject: Re: PPR: No response from PPR again - more

I have been thinking about your problem for a while.  Here are the things I
came up with:

1) The pap_write() failed messages indicate that papsrv is trying to send
something to the Mac.  I think the errno values are meaningless.   I would
try setting the LaserWriter 8 "PostScript Error Reporting" to "Summarize on
Screen" and printing a fairly long job.  It may be that papsrv is trying to
send an error message to the Mac but the Mac has already disconnected.

2) The "qentry->For is empty" message may indicated a misconfigured
Macintosh with its owner name set to an empty string.

3) When you delete PPR and install it again your are, amoung other things,
clearing out the cache in /var/spool/ppr/cache/fonts/, encodings/,
procsets.  I would try deleting files in there.

4) Even when it is compiled without debugging, papsrv has some debugging
code.  It will report on the query stage of a Macintosh job when the Mac
asks papsrv what fonts it has an stuff like that.  The debugging can be
toggled from off to on to verbose by sending papsrv SIGUSR1 (I think, check
the man page).  If the job is being lost due to some malfunction at that
stage, you might get something useful.

5) You could edit papsrv.h and turn debugging on and recompile papsrv.

At 11:28 AM 02/18/2000 -0600, jkrainak <jkrainak@c3design.com> wrote:
>The macs that don't print just sit there with the "PPR is receiving your
>job" or the job "leaves" the macintosh but does not spool.  If I do "ppop
>list" the job is never listed.
>
>Jon
>
>- Here is my "papsrv" log:
>
>DEBUG: 17 Feb 2000, 12:12:15PM: Daemon starting, pid=10256
>DEBUG: 12:12:15PM: registering name: RedHat PPR780:LaserWriter@*
>DEBUG: 12:12:21PM: registering name: RedHat PPR600:LaserWriter@*
>DEBUG: 12:12:27PM: Entering main loop
>FATAL: 01:13:13PM: child 11669: do_xmit(): pap_write() failed, pap_errno=6
>(Hangup), errno=4 (Interrupted system call)
>DEBUG: 01:13:13PM: Child papsrv (pid=11669) terminated, exit=1
>FATAL: 18 Feb 2000, 11:15:35AM: child 11371: do_xmit(): pap_write() failed,
>pap_errno=6 (Hangup), errno=4 (Interrupted system call)
>DEBUG: 18 Feb 2000, 11:15:35AM: Child papsrv (pid=11371) terminated, exit=1
>in_type = 0 (postscript)
>in_type = 0 (postscript)
>in_type = 0 (postscript)
>Your new print job for "RedHat780" has been rejected by PPR because of a
>fatal error: qentry->For is empty.
>FATAL: 11:29:27AM: child 11761: do_xmit(): pap_write() failed, pap_errno=6
>(Hangup), errno=10 (No child processes)
>DEBUG: 11:29:27AM: Child papsrv (pid=11761) terminated, exit=1


================================================================
David Chappell		David.Chappell@Mail.Trincoll.Edu
Computing Center		PostMaster@Mail.Trincoll.Edu
Trinity College			(860) 297-2114
Hartford, Connecticut  06106