CUPS jobs are automatically aborted

manav.gupta at ch2m.com manav.gupta at ch2m.com
Fri Dec 17 09:25:15 PST 2004


Hi,

Cups config file:

cupsd.conf
--------------
ServerName matrix.ukose.com
AccessLog /var/log/cups/access_log
LogLevel debug
<Location />
Order Deny,Allow
Deny From All
Allow From 10.251.100.*
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 10.251.100.*
</Location>
--------------

/var/log/cups/error_log
-----------------------
/Dec/2004:17:22:15 +0000] [Job 20] 0 %%+ font Courier-Bold
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%+ font Courier
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%+ font Symbol
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%EndComments
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%BeginProlog
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%BeginResource: font Courier-Bold
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%CreationDate: Wed Dec 22 1999
D [17/Dec/2004:17:22:15 +0000] [Job 20] Running /usr/local/bin/gs -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS -sDEVICE=cups -sstdout=%stderr -sOUTPUTFILE=%stdout -c -
D [17/Dec/2004:17:22:15 +0000] [Job 20] ESP Ghostscript 7.07.1: Can't find initialization file gs_init.ps.
E [17/Dec/2004:17:22:15 +0000] PID 5825 stopped with status 1!
E [17/Dec/2004:17:22:15 +0000] [Job 20] No pages found!
E [17/Dec/2004:17:22:15 +0000] PID 5826 stopped with status 1!
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%EndResource
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%BeginResource: font Courier
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%CreationDate: Wed Dec 22 1999
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%EndResource
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%BeginResource: font Symbol
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%CreationDate: Thu Oct 21 1999
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%EndResource
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%BeginResource: procset texttops 1.1 0
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%EndResource
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%EndProlog
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%Page: 1 1
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%Page: 1 1
D [17/Dec/2004:17:22:15 +0000] [Job 20] pw = 559.0, pl = 770.0
D [17/Dec/2004:17:22:15 +0000] [Job 20] PageLeft = 18.0, PageRight = 577.0
D [17/Dec/2004:17:22:15 +0000] [Job 20] PageTop = 806.0, PageBottom = 36.0
D [17/Dec/2004:17:22:15 +0000] [Job 20] PageWidth = 595.0, PageLength = 842.0
D [17/Dec/2004:17:22:15 +0000] [Job 20] 0 %%Trailer
D [17/Dec/2004:17:22:15 +0000] [Job 20] Saw Trailer!
D [17/Dec/2004:17:22:15 +0000] [Job 20] Saw EOF!
D [17/Dec/2004:17:22:15 +0000] UpdateJob: job 20, file 0 is complete.
D [17/Dec/2004:17:22:15 +0000] CancelJob: id = 20
D [17/Dec/2004:17:22:15 +0000] StopJob: id = 20, force = 0
D [17/Dec/2004:17:22:15 +0000] StopJob: printer state is 3

#which gs
/usr/local/bin/gs

#gs-?
Search path:
   . : /usr/local/share/ghostscript/7.07/lib :
   /usr/local/share/ghostscript/fonts :
   /usr/local/share/fonts/default/ghostscript :
   /usr/local/share/fonts/default/Type1 :
   /usr/local/share/fonts/default/TrueType : /usr/lib/DPS/outline/base :
   /usr/openwin/lib/X11/fonts/Type1 : /usr/openwin/lib/X11/fonts/TrueType


I even created a sym-link to gs_init.ps in the /usr/local/bin/gs folder, but to no avail.

I think the crux of the problem could be that i have two versions of gs installed (7.05 and 7.07). I dont know how to remove the older version, but if anyone can figure out why the CUPS jobs are being aborted immediately, i'd be grateful.

Please letme know if you'd like more info to help






More information about the cups mailing list