[cups] unable to open file | permission denied
Evan Cooch
evan.cooch at gmail.com
Thu May 15 10:09:50 PDT 2014
And, I have more or less the same issue if print from command line, or
from a PDF viewer (I tried many).
But, it isn't just a PDF issue. I just tried a simple ASCII text file,
and get the following error:
stopped
"/usr/lib/cups/filter/texttops failed"/
/
On 5/15/2014 12:59 PM, Helge Blischke wrote:
> Please do the following:
>
> cupsctl --debug-logging
> lp test.pdf
> after the error message
> cupsctl --no-debug-logging
> and then post the part of the /var/log/cups/error_log that contains
> the messages
> related to this job.
>
> I suspect something is going wrong with the filter chain for
> processing PDFs
>
> Helge
>
>
> Am 15.05.2014 um 18:35 schrieb Evan Cooch:
>
>> A quick search tells me I'm running into a fairly common problem, but
>> said search also shows there is a real paucity of general
>> solutions/fixes.
>>
>> I'm running CUPS 1.4.2 under RHEL 6.x. Added a printer (Ricoh Aficio)
>> using vendor-supplied PPD. However, whenever I try to print a
>> (almost exclusively PDF) file (either as root, or allowed user), the
>> print job gets dumped into /var/spool/cups, and I get an error
>> message of the following type:
>>
>> /"Unable to open file "/var/spool/cups/d00034-001" - Permission denied"
>>
>>
>> /Permissions on /var/spool/cups are
>>
>> drwx--x---. 3 root lp 4096 May 15 11:54 cups
>>
>>
>> If I look in /var/spool/cups, the file (d00034-001) is there, with
>> the same owner (root) and grp (lp)
>>
>>
>> ps -aux | grep cups
>>
>> shows its running as root.
>>
>> More tellingly, perhaps (although I don't know what this has to do
>> with 'permissions') is that in /usr/var/cups/error_log, I see the
>> following
>>
>> Cannot process "<STDIN>": Unknown filetype
>>
>>
>> Taking that as a clue, I tried printing from the command line:
>>
>>
>> lp test.pdf
>>
>> Error now is
>>
>> stopped: "Empty print file".
>>
>>
>> At this point, I'm out of options for 'self-help' based on my limited
>> knowledge of CUPS.
>>
>> Any advice/suggestions/pointers to the obvious appreciated.
>>
>>
>>
>> _______________________________________________
>> cups mailing list
>> cups at cups.org
>> https://www.cups.org/mailman/listinfo/cups
>
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups
>
More information about the cups
mailing list