print error , 3 Permission denied

zqy zqy2000zqy at 163.com
Wed Oct 3 08:12:20 PDT 2007


> zqy wrote:
> >> zqy wrote:
> >>> D [02/Oct/2007:18:51:17 +0000] start_process("/opt/cups/lib/cups/filter/texttops", 0xbefeec74, 0xbefedfe4, 9, 11, 8)
> >>> I [02/Oct/2007:18:51:17 +0000] Started filter /opt/cups/lib/cups/filter/texttops (PID 4009) for job 3.
> >>> D [02/Oct/2007:18:51:17 +0000] StartJob: filter = "/opt/cups/lib/cups/filter/pstops"
> >>> D [02/Oct/2007:18:51:17 +0000] StartJob: filterfds[1] = [ 9 12 ]
> >>> D [02/Oct/2007:18:51:17 +0000] start_process("/opt/cups/lib/cups/filter/pstops", 0xbefeec74, 0xbefedfe4, 10, 12, 8)
> >>> I [02/Oct/2007:18:51:17 +0000] Started filter /opt/cups/lib/cups/filter/pstops (PID 4010) for job 3.
> >>> D [02/Oct/2007:18:51:17 +0000] StartJob: filter = "/opt/cups/lib/cups/filter/foomatic-rip"
> >>> D [02/Oct/2007:18:51:17 +0000] StartJob: filterfds[0] = [ 10 11 ]
> >>> D [02/Oct/2007:18:51:17 +0000] start_process("/opt/cups/lib/cups/filter/foomatic-rip", 0xbefeec74, 0xbefedfe4, 9, 11, 8)
> >>> I [02/Oct/2007:18:51:17 +0000] Started filter /opt/cups/lib/cups/filter/foomatic-rip (PID 4011) for job 3.
> >>> D [02/Oct/2007:18:51:17 +0000] StartJob: backend = "/opt/cups/lib/cups/backend/usb"
> >>> D [02/Oct/2007:18:51:17 +0000] StartJob: filterfds[1] = [ -1 9 ]
> >>> D [02/Oct/2007:18:51:17 +0000] start_process("/opt/cups/lib/cups/backend/usb", 0xbefeec74, 0xbefedfe4, 10, 9, 8)
> >>> I [02/Oct/2007:18:51:17 +0000] Started backend /opt/cups/lib/cups/backend/usb (PID 4012) for job 3.
> >>> D [02/Oct/2007:18:51:17 +0000] ProcessIPPRequest: 5 status_code=0
> >>> E [02/Oct/2007:18:51:17 +0000] PID 4009 stopped with status 13!
> >>> E [02/Oct/2007:18:51:17 +0000] PID 4011 stopped with status 13!
> >>> D [02/Oct/2007:18:51:17 +0000] [Job 3] /opt/cups/lib/cups/filter/texttops: Permission denied
> >>> D [02/Oct/2007:18:51:17 +0000] [Job 3] /opt/cups/lib/cups/filter/foomatic-rip: Permission denied
> >>> D [02/Oct/2007:18:51:17 +0000] CloseClient: 5
> >>> D [02/Oct/2007:18:51:17 +0000] [Job 3] /opt/cups/lib/cups/filter/pstops: Permission denied
> >>
> >> zqy,
> >>
> >> don't you think you're stretching your own expectations a bit too much,
> >> if you imagine that anyone willing to help you can seriously try to do
> >> so by staring at your error_log snippet only? Without needing some ex-
> >> tra information?
> >>
> >> What's your problem ?
> >>
> >> What's your OS ?
> >>
> >> What's your version of CUPS ?
> >>
> >> Where did you obtain the CUPS packages you installed ?
> >>
> >> What's the output of "ls -l /opt/cups/lib/cups/filter/" ?
> >>
> >> What's the output of "ls -lad {/opt,/opt/cups,/opt/cups/var,/opt/var,/var}/spool/cups/" ?
> >>
> >> What's the output of "mount" ?
> >>
> >> What's the output of "df" ?
> >>
> >>
> >> --
> >> Kurt Pfeifle
> >> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
> >> Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
> >> A RICOH Company  ...........................  D-70327 Stuttgart/Germany
> >
> > I get the code from  sourcefore.net
> > I'm using Linux
> > CUPS   version 1.1.23
> > and compile , install it in directory /opt/cups  .
> >
> > ls -l /opt/cups/lib/cups/filter/
> >
> > -rwxr-xr-x  1 root root  211143 2007-10-03 07:17 foomatic-rip
> > -rwxr-xr-x  1 root root   17598 2007-10-03 07:16 gziptoany
> > -rwxr-xr-x  1 root root  115473 2007-10-03 07:16 hpgltops
> > -rwxr-xr-x  1 root root   57608 2007-10-03 07:16 imagetops
> > -rwxr-xr-x  1 root root   94566 2007-10-03 07:16 imagetoraster
> > -rwxr-xr-x  1 root root 2090507 2007-10-03 07:16 pdftops
> > -rwxr-xr-x  1 root root   81874 2007-10-03 07:16 pstops
> > lrwxrwxrwx  1 root root      13 2007-10-03 07:16 rastertodymo -> rastertolabel
> > -rwxr-xr-x  1 root root   44194 2007-10-03 07:16 rastertoepson
> > -rwxr-xr-x  1 root root   38399 2007-10-03 07:16 rastertohp
> > -rwxr-xr-x  1 root root   40974 2007-10-03 07:16 rastertolabel
> > -rwxr-xr-x  1 root root   76136 2007-10-03 07:16 texttops
> >
> >
> > and when I printed, it start 3 filers  and the log as below:
> >  [Job 3] /opt/cups/lib/cups/filter/texttops: Permission denied
> >  [Job 3] /opt/cups/lib/cups/filter/foomatic-rip: Permission denied
> >  [Job 3] /opt/cups/lib/cups/filter/pstops: Permission denied
> >
> >  [Job 3] LPGETSTATUS returned a port status of 10...
> >  [Job 3] Printer fault!
> >  UpdateJob: job 3, file 0 is complete.
> >  CancelJob: id = 3
> >  StopJob: id = 3, force = 0
> >  StopJob: printer state is 3
>
>
> I asked you 8 questions. You provided 3 and a half answers (CUPS 1.1.23;
> self-compiled from some obscure source; "filter" directory permissions;
> Linux-$something).... What about the rest ??
>
>
> --
> Kurt Pfeifle
> System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
> Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
> A RICOH Company  ...........................  D-70327 Stuttgart/Germany






>> What's your problem ?
when  I run lp xxx, the printer no response,and above message in  /opt/cups/var/log/cups/error_log

seems 3 filter run returned whit error code 13 (Permisson denied)

>> What's your OS ?
Linux

>> What's your version of CUPS ?
sourceforge
>> Where did you obtain the CUPS packages you installed ?
1.1.23
>> What's the output of "ls -l /opt/cups/lib/cups/filter/" ?
-rwxr-xr-x  1 root root  211143 2007-10-03 07:17 foomatic-rip
-rwxr-xr-x  1 root root   17598 2007-10-03 07:16 gziptoany
-rwxr-xr-x  1 root root  115473 2007-10-03 07:16 hpgltops
-rwxr-xr-x  1 root root   57608 2007-10-03 07:16 imagetops
-rwxr-xr-x  1 root root   94566 2007-10-03 07:16 imagetoraster
-rwxr-xr-x  1 root root 2090507 2007-10-03 07:16 pdftops
-rwxr-xr-x  1 root root   81874 2007-10-03 07:16 pstops
lrwxrwxrwx  1 root root      13 2007-10-03 07:16 rastertodymo -> rastertolabel
-rwxr-xr-x  1 root root   44194 2007-10-03 07:16 rastertoepson
-rwxr-xr-x  1 root root   38399 2007-10-03 07:16 rastertohp
-rwxr-xr-x  1 root root   40974 2007-10-03 07:16 rastertolabel
-rwxr-xr-x  1 root root   76136 2007-10-03 07:16 texttops

>> What's the output of "ls -lad {/opt,/opt/cups,/opt/cups/var,/opt/var,/var}/spool/cups/" ?

/bin/ls: /opt/spool/cups/: No such file or directory
/bin/ls: /opt/cups/spool/cups/: No such file or directory
/bin/ls: /opt/var/spool/cups/: No such file or directory
drwx--x---  3 root lp  72 2007-10-03 07:16 /opt/cups/var/spool/cups/
drwx--x---  2 lp   lp 120 2007-10-03 05:37 /var/spool/cups/




>> What's the output of "mount" ?

/dev/sda2 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/fd0 on /media/floppy type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid)
/dev/sdb on /mnt type ext3 (rw)



>> What's the output of "df" ?
/dev/sda2              7333404   7197568    135836  99% /
tmpfs                   353372         0    353372   0% /dev/shm
/dev/sdb               8256952   6837708    999816  88% /mnt


thanks a lot




More information about the cups mailing list