cups gs error
frank
frank at bleile-online.de
Sun Oct 29 06:07:17 PST 2006
>
> Hello,
>
> On Oct 15 05:19 frank wrote (shortened):
> > I have a problem with my HPLaserje4L which appeared (I assume after
> > a Kernel update) that it doesn't print anymore.
> ....
> > Suse Linux 9.3
> > Kernel 2.6.11.4-21.14
> > AMD64 3200+
> > 1 GB RAM
> > cups 1.1.23-7.2.x86_64
> >
> > log from error_log:
> ....
> > D [14/Oct/2006:13:04:05 +0200] [Job 2] renderer command:
> > gs -q -dBATCH -dPARANOIDSAFER -dNOPAUSE -sDEVICE=ljet4
> > -sOutputFile=- - | perl -p -0033 -e " s/^&l\d+[aA]/$&/; "
> ....
> > D [14/Oct/2006:13:04:05 +0200] [Job 2] gs:
> > error while loading shared libraries:
> > libgmodule-2.0.so.0: cannot open shared object file:
> > No such file or directory
>
> Run the "renderer command" directly via strace like
>
> strace -f -o /tmp/strace.out gs -q -dBATCH -dPARANOIDSAFER \
> -dNOPAUSE -sDEVICE=ljet4 -sOutputFile=/tmp/gs.out \
> /usr/share/doc/packages/ghostscript/examples/colorcir.ps
>
> Have a look at the /tmp/strace.out file where your gs
> searches for libgmodule-2.0.so.
>
> Additionally use
> ldd /usr/bin/gs
> to see to which libraries your gs is linked.
>
> A 32-bit gs should show something like
> libgmodule-2.0.so.0 => /opt/gnome/lib/libgmodule-2.0.so.0
> but a 64-bit gs would show something like
> libgmodule-2.0.so.0 => /opt/gnome/lib64/libgmodule-2.0.so.0
>
> If you run a 32-bit gs on a 64-bit platform, you need to have
> the glib2-32bit RPM installed which provides the 32-bit version
> of libgmodule-2.0.so (and many other "*-32bit" packages because
> of the same reason).
>
>
> Kind Regards
> Johannes Meixner
> --
> SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix at suse.de
> 90409 Nuernberg, Germany WWW: http://www.suse.de/
>
Hi Johannes,
thanks for your reply. Unfortunatelly, I couldn't solve the problem yet.
Here are the results of your advises:
ldd /usr/bin/gs
libpng.so.3 => /usr/lib64/libpng.so.3 (0x00002aaaaabc2000)
libz.so.1 => /lib64/libz.so.1 (0x00002aaaaacef000)
libcupsimage.so.2 => /usr/lib64/libcupsimage.so.2 (0x00002aaaaae02000)
libcups.so.2 => /usr/lib64/libcups.so.2 (0x00002aaaaaf14000)
libgimpprint.so.1 => /usr/lib64/libgimpprint.so.1 (0x00002aaaab034000)
libgmodule-2.0.so.0 => /opt/gnome/lib64/libgmodule-2.0.so.0 (0x00002aaaab218000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaab31b000)
libglib-2.0.so.0 => /opt/gnome/lib64/libglib-2.0.so.0 (0x00002aaaab41f000)
libstdc++.so.5 => /usr/lib64/libstdc++.so.5 (0x00002aaaab5ac000)
libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00002aaaab788000)
libm.so.6 => /lib64/tls/libm.so.6 (0x00002aaaab89e000)
libc.so.6 => /lib64/tls/libc.so.6 (0x00002aaaab9f5000)
libtiff.so.3 => /usr/lib64/libtiff.so.3 (0x00002aaaabc1b000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00002aaaabd71000)
libssl.so.0.9.7 => /usr/lib64/libssl.so.0.9.7 (0x00002aaaabe92000)
libcrypto.so.0.9.7 => /usr/lib64/libcrypto.so.0.9.7 (0x00002aaaabfc7000)
/lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002aaaac1fb000
strace -f -o /tmp/strace.out gs -q -dBATCH -dPARANOIDSAFER \
> -dNOPAUSE -sDEVICE=ljet4 -sOutputFile=/tmp/gs.out \
> /usr/share/doc/packages/ghostscript/examples/colorcir.ps
Error: /invalidfont in findfont
Operand stack:
Times-Roman Font Times-Roman 432857 Times-Roman --nostringval-- Times-Roman NimbusRomNo9L-Regu Courier NimbusMonL-Regu
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 1 3 %oparray_pop 2 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 5 4 %oparray_pop --nostringval-- --nostringval-- --nostringval-- 1 -1 1 --nostringval-- %for_neg_int_continue
Dictionary stack:
--dict:1121/1686(ro)(G)-- --dict:0/20(G)-- --dict:71/200(L)-- --dict:17/17(ro)(G)-- --dict:1121/1686(ro)(G)--
Current allocation mode is local
Last OS error: 2
Current file position is 84
GPL Ghostscript 8.54: Unrecoverable error, exit code 1
I have got installed both glib2 +glib2-32bit versions 2.8.5-23.
strace.out:
2784 open("/usr/share/doc/packages/ghostscript/examples/colorcir.ps", O_RDONLY) = 3
2784 fstat(3, {st_mode=S_IFREG|0644, st_size=1973, ...}) = 0
2784 fstat(3, {st_mode=S_IFREG|0644, st_size=1973, ...}) = 0
2784 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaab26b000
2784 lseek(3, 0, SEEK_CUR) = 0
2784 lseek(3, 0, SEEK_SET) = 0
2784 read(3, "%!\n/colorcirsave save def\t\t% pre"..., 4096) = 1973
2784 read(3, "", 4096) = 0
2784 brk(0xbe3000) = 0xbe3000
2784 brk(0xc12000) = 0xc12000
2784 brk(0xc41000) = 0xc41000
2784 brk(0xc70000) = 0xc70000
2784 brk(0xc9f000) = 0xc9f000
2784 brk(0xcce000) = 0xcce000
2784 brk(0xcfc000) = 0xcfc000
2784 brk(0xced000) = 0xced000
2784 brk(0xcdd000) = 0xcdd000
2784 brk(0xcce000) = 0xcce000
2784 brk(0xcbe000) = 0xcbe000
2784 brk(0xcae000) = 0xcae000
2784 brk(0xc9f000) = 0xc9f000
2784 brk(0xc8f000) = 0xc8f000
2784 brk(0xc7f000) = 0xc7f000
2784 brk(0xc70000) = 0xc70000
2784 brk(0xc60000) = 0xc60000
2784 brk(0xc50000) = 0xc50000
2784 brk(0xc41000) = 0xc41000
2784 brk(0xc31000) = 0xc31000
2784 brk(0xc22000) = 0xc22000
2784 brk(0xc12000) = 0xc12000
2784 brk(0xc02000) = 0xc02000
2784 brk(0xbf3000) = 0xbf3000
2784 brk(0xbe3000) = 0xbe3000
2784 brk(0xbd3000) = 0xbd3000
2784 brk(0xbc4000) = 0xbc4000
2784 open("n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("./n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/lib/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/Resource/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/fonts/n021003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/Resource/Font/NimbusRomNo9L-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("NimbusRomNo9L-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("./NimbusRomNo9L-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/lib/NimbusRomNo9L-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/Resource/NimbusRomNo9L-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/fonts/NimbusRomNo9L-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/Resource/Font/NimbusRomNo9L-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("NimbusRomNo9L-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("./NimbusRomNo9L-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/lib/NimbusRomNo9L-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/Resource/NimbusRomNo9L-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/fonts/NimbusRomNo9L-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("n022003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("./n022003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/lib/n022003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/Resource/n022003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/fonts/n022003l.pfb", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/Resource/Font/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("./NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/lib/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/Resource/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/fonts/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/Resource/Font/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("./NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/lib/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/8.54/Resource/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 open("/usr/local/share/ghostscript/fonts/NimbusMonL-Regu", O_RDONLY) = -1 ENOENT (No such file or directory)
2784 fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0
2784 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaab26c000
2784 write(1, "Error: /invalidfont", 19) = 19
2784 write(1, " in findfont", 12) = 12
2784 write(1, "\nOperand stack:\n", 16) = 16
2784 write(1, " Times-Roman Font Times-Ro"..., 112) = 112
2784 write(1, " Courier NimbusMonL-Regu\nExec"..., 45) = 45
2784 write(1, " %interp_exit .runexec2 --"..., 83) = 83
2784 write(1, " 2 %stopped_push --nostringv"..., 128) = 128
2784 write(1, " 3 %oparray_pop 1 3 %op"..., 128) = 128
2784 write(1, "-- 2 %stopped_push --nostr"..., 128) = 128
2784 write(1, "ostringval-- --nostringval-- "..., 128) = 128
2784 write(1, "ngval-- --nostringval-- 1 "..., 99) = 99
2784 write(1, " --dict:1121/1686(ro)(G)-- ", 29) = 29
2784 write(1, " --dict:0/20(G)-- --dict:71/2"..., 125) = 125
2784 write(1, "Las", 3) = 3
2784 write(1, "t OS error: 2\nCurrent file posit"..., 42) = 42
2784 write(2, "GPL Ghostscript ", 16) = 16
2784 write(2, "8.54", 4) = 4
2784 write(2, ": ", 2) = 2
2784 write(2, "Unrecoverable error, exit code 1"..., 33) = 33
2784 open("/tmp/gs.out", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
2784 munmap(0x2aaaab718000, 4280320) = 0
2784 close(4) = 0
2784 brk(0xbbf000) = 0xbbf000
2784 close(3) = 0
2784 munmap(0x2aaaab26b000, 4096) = 0
2784 brk(0xbba000) = 0xbba000
2784 brk(0xbb9000) = 0xbb9000
2784 brk(0xbb8000) = 0xbb8000
2784 brk(0xbb7000) = 0xbb7000
2784 brk(0xbb6000) = 0xbb6000
2784 brk(0xbb1000) = 0xbb1000
2784 brk(0xba4000) = 0xba4000
2784 brk(0xb83000) = 0xb83000
2784 brk(0xb82000) = 0xb82000
2784 brk(0xb53000) = 0xb53000
2784 brk(0xb52000) = 0xb52000
2784 brk(0xa9d000) = 0xa9d000
2784 brk(0xa74000) = 0xa74000
2784 brk(0xa5e000) = 0xa5e000
2784 brk(0xa59000) = 0xa59000
2784 brk(0xa4c000) = 0xa4c000
2784 brk(0xa27000) = 0xa27000
2784 brk(0xa22000) = 0xa22000
2784 brk(0xa1d000) = 0xa1d000
2784 brk(0x9fb000) = 0x9fb000
2784 brk(0x9d5000) = 0x9d5000
2784 brk(0x9d1000) = 0x9d1000
2784 brk(0x987000) = 0x987000
2784 brk(0x982000) = 0x982000
2784 brk(0x974000) = 0x974000
2784 brk(0x96f000) = 0x96f000
2784 munmap(0x2aaaab26c000, 4096) = 0
2784 exit_group(1) = ?
Thanks in advance for any further help.
Best regards
Frank
More information about the cups
mailing list