LPD Unable to Send Document - Unauthorized
Jose Hales-Garcia
jose at stat.ucla.edu
Tue Mar 21 07:56:10 PST 2006
This is a follow-up on a post I made in the general forum: "How do I recover from a holding state?". I should have named it "How do I get LPD out of an unauthorized state?".
This is actually two problems.
CUPS crashes when printing to an LPD queue configured with banner page. (I'm running CUPS v1.2b2 binary for Mac OS X Tiger.) I include the crash dumps below.
The second problem and most pressing for me to fix is recovering after the crash. On restarting the server, CUPS enters an indeterminable state of holding LPD jobs. The message appearing in the system.log file is:
Mar 20 15:49:38 Print cups-lpd[514]: Unable to send document - Unauthorized
This unauthorized state will last for hours, during which nothing is logged as being completed, even IPP jobs that remain working. After some hours the problem will go away and the back-log of jobs (cancelled or processed) show up.
Can you please clue me in as to how to get LPD out of this unauthorized state?
Thank you,
Jose
========== System.log Messages During CUPS Crash ===========
Mar 20 09:22:49 Print launchd: org.cups.cupsd: exited abnormally: Bus error
Mar 20 09:22:49 Print launchd: org.cups.cupsd: 9 more failures without living at least 60 seconds will cause job removal
Mar 20 09:22:49 Print crashdump[2287]: cupsd crashed
Mar 20 09:22:50 Print crashdump[2287]: crash report written to: /Library/Logs/CrashReporter/cupsd.crash.log
========== CUPS Crash Reporter Message =========
Host Name: Print
Date/Time: 2006-03-20 09:22:49.464 -0800
OS Version: 10.4.5 (Build 8H14)
Report Version: 4
Command: cupsd
Path: /usr/sbin/cupsd
Parent: launchd [1]
Version: ??? (???)
PID: 1462
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000010
Thread 0 Crashed:
0 cupsd 0x00019560 copy_banner + 344 (ipp.c 3482)
1 cupsd 0x0001ab6c add_job + 4112 (ipp.c:1625)
2 cupsd 0x00023364 cupsdProcessIPPRequest + 3612 (ipp.c:4421)
3 cupsd 0x0000b7dc cupsdReadClient + 8096 (client.c:2195)
4 cupsd 0x00016c5c main + 4884 (main.c:893)
5 cupsd 0x00002774 _start + 340 (crt.c:272)
6 cupsd 0x0000261c start + 60
Thread 1:
0 libSystem.B.dylib 0x9000b1e8 mach_msg_trap + 8
1 libSystem.B.dylib 0x9000b13c mach_msg + 60
2 com.apple.CoreFoundation 0x9075d114 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x9075ca18 CFRunLoopRunSpecific + 268
4 com.apple.CoreFoundation 0x9076be78 CFRunLoopRun + 52
5 cupsd 0x00032b44 sysEventThreadEntry + 824 (sysman.c:580)
6 libSystem.B.dylib 0x9002b1e0 _pthread_body + 96
Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000000019560 srr1: 0x100000000200d030 vrsave: 0x0000000000000000
cr: 0x44044444 xer: 0x0000000020000000 lr: 0x0000000000019554 ctr: 0x0000000090041d20
r0: 0x000000000000007b r1: 0x00000000bffef3d0 r2: 0x0000000000000000 r3: 0x00000000bffef408
r4: 0x0000000000000000 r5: 0x00000000000000ff r6: 0xffffffffffffffff r7: 0x0000000000000000
r8: 0x0000000000000044 r9: 0x00000000000455c0 r10: 0x0000000002000000 r11: 0x0000000000045ba0
r12: 0x0000000090041d20 r13: 0x0000000000045950 r14: 0x00000000003385d0 r15: 0x0000000000045950
r16: 0x0000000000045950 r17: 0x0000000000049b64 r18: 0x0000000000039b64 r19: 0x0000000000384750
r20: 0x0000000000039b64 r21: 0x0000000000039b64 r22: 0x000000000030f0c0 r23: 0x00000000000000aa
r24: 0x00000000003385d0 r25: 0x000000000182b400 r26: 0x00000000000000d9 r27: 0x000000000182ec30
r28: 0x000000000030fb90 r29: 0x000000000182ec00 r30: 0x00000000bffef507 r31: 0x0000000000019418
Binary Images Description:
0x1000 - 0x44fff cupsd /usr/sbin/cupsd
0xcb000 - 0xeffff libcups.2.dylib /usr/lib/libcups.2.dylib
0x8fe00000 - 0x8fe54fff dyld 44.2 /usr/lib/dyld
0x90000000 - 0x901b3fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x9020b000 - 0x9020ffff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x9073a000 - 0x90813fff com.apple.CoreFoundation 6.4.4 (368.25) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9085e000 - 0x90960fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x909ba000 - 0x90a3efff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90a68000 - 0x90ad6fff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90aed000 - 0x90afffff libauto.dylib /usr/lib/libauto.dylib
0x9108e000 - 0x9109cfff libz.1.dylib /usr/lib/libz.1.dylib
0x9109f000 - 0x91262fff com.apple.security 4.3 (25966) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x91375000 - 0x9139cfff com.apple.SystemConfiguration 1.8.2 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x913af000 - 0x913b7fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x913bc000 - 0x913dcfff libmx.A.dylib /usr/lib/libmx.A.dylib
0x919c4000 - 0x91a8cfff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x94a69000 - 0x94a96fff com.apple.LDAPFramework 1.4.1 (69.0.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x94a9d000 - 0x94aadfff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
0x94ab1000 - 0x94ae0fff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x94af0000 - 0x94b0dfff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x96470000 - 0x96483fff libpam.1.dylib /usr/lib/libpam.1.dylib
More information about the cups
mailing list