View previous topic :: View next topic |
Author |
Message |
branon n00b
Joined: 13 Mar 2005 Posts: 2
|
Posted: Sun Mar 13, 2005 10:09 pm Post subject: /dev/fd/3 does not exist |
|
|
foomatic-gswrapper is trying to use /dev/fd/3 as an output file. It does not exist.
I have already stripped out foomatic and cups and re-merged, but still the same error.
I am assuming that a recent kernel upgrade from 2.6.7 to 2.6.10 is the cause of the problem and that there is just some kernel option that I need to
change to fix the issue. Anyone got any ideas?
Below is the relevant portion of the cups error_log:
D [13/Mar/2005:15:21:55 -0500] [Job 1] renderer PID kid4=27431
D [13/Mar/2005:15:21:55 -0500] [Job 1] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=
gdi -sOutputFile=- - | perl -p -e 's/PJL PAGE LETTER/PJL PAGE LETTER/; s/PJL PAGE (\S*) AUTO/PJL PAGE $1 AUTO/; s/
PJL SET TONERSAVE = OFF/PJL SET TONERSAVE = OFF\r\n\@PJL SET ECONOMODE = OFF/; s/PJL SET PAPERTYPE = NORMAL/PJL SE
T PAPERTYPE = NORMAL/; s/PJL SET DENSITY = 1/PJL SET DENSITY = 3/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET RET = OFF\r\
n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET JAMRECOVERY = ON\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET REPRINT = ON\
r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL SET ALTITUDE = OFF\r\n$1/; s/PJL COPIES = 1/PJL COPIES = 1/; s/(\@PJL ENTER
LANGUAGE)/\@PJL DEFAULT TIMEOUT = 15\r\n$1/; s/(\@PJL ENTER LANGUAGE)/\@PJL DEFAULT POWERSAVE = ON\r\n$1/; s/(\@P
JL ENTER LANGUAGE)/\@PJL DEFAULT POWERSAVETIME = 5\r\n$1/; '
D [13/Mar/2005:15:21:55 -0500] [Job 1] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-
sDEVICE=gdi' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2
D [13/Mar/2005:15:21:55 -0500] [Job 1] Can't open perl script "-e": Permission denied
D [13/Mar/2005:15:21:55 -0500] AcceptClient: 5 from localhost:631.
D [13/Mar/2005:15:21:55 -0500] ReadClient: 5 GET /printers/Samsung HTTP/1.1
D [13/Mar/2005:15:21:55 -0500] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 27436
I [13/Mar/2005:15:21:55 -0500] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=27436)
D [13/Mar/2005:15:21:55 -0500] SendCommand: 5 file=8
D [13/Mar/2005:15:21:56 -0500] AcceptClient: 7 from localhost:631.
D [13/Mar/2005:15:21:57 -0500] ReadClient: 7 POST / HTTP/1.1
D [13/Mar/2005:15:21:57 -0500] ProcessIPPRequest: 7 status_code=1
D [13/Mar/2005:15:21:57 -0500] ReadClient: 7 POST / HTTP/1.1 |
|
Back to top |
|
|
Cintra Advocate
Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Mon Mar 14, 2005 7:44 am Post subject: |
|
|
I'm afraid I can do no more than confirm
Code: | # cd /dev/fd
# dir
0 1 2 255
|
Code: | # ls -la
total 4
dr-x------ 2 root root 0 Mar 14 08:36 .
dr-xr-xr-x 3 root root 0 Mar 14 07:23 ..
lrwx------ 1 root root 64 Mar 14 08:53 0 -> /dev/pts/4
lrwx------ 1 root root 64 Mar 14 08:53 1 -> /dev/pts/4
lrwx------ 1 root root 64 Mar 14 08:53 2 -> /dev/pts/4
lrwx------ 1 root root 64 Mar 14 08:53 255 -> /dev/pts/4
|
mvh
edit: having a look at /dev/fd/ with konqueror (if you have kde) shows more _________________ "I am not bound to please thee with my answers" W.S. |
|
Back to top |
|
|
branon n00b
Joined: 13 Mar 2005 Posts: 2
|
Posted: Mon Mar 14, 2005 5:39 pm Post subject: |
|
|
I should have said I tried creating the link manually. That did not work.
Also, I believe that /dev/pts maps to someplace in /proc. I found it last night, but have not been able to find it again
Do you think it might be a udev issue? |
|
Back to top |
|
|
Cintra Advocate
Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Mon Mar 14, 2005 7:17 pm Post subject: |
|
|
branon wrote: | I should have said I tried creating the link manually. That did not work.
Also, I believe that /dev/pts maps to someplace in /proc. I found it last night, but have not been able to find it again
Do you think it might be a udev issue? |
its /proc/self/fd.. fraid I can't be of much help to you, but one question, do you have to use the wrapper script?
Quote: | The wrapper is required if you print jobs from the Windows PostScript driver (which writes jobs that generate advisory output that causes trouble under plain Ghostscript). Some other software may produce such jobs; the wrapper is probably a good idea in general. |
what sort of printer setup have you?
mvh
Edit If you haven't tried them already I would at least try the latest ~x86 versions of ghostscript and foomatic.. _________________ "I am not bound to please thee with my answers" W.S. |
|
Back to top |
|
|
|