18.04.2024, 02:34 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
weia
Titel: (gelöst) Immer wieder CUPS  BeitragVerfasst am: 11.07.2006, 23:49 Uhr



Anmeldung: 11. Mai 2005
Beiträge: 49

Der einzige Vorteil an dieser Geschichte ist, dass man etwas über Linux lernt. Aber eigentlich will ich "nur" drucken... Böse

Mein Konica Minolta magicolor 5430DL hat unter 2005-2 funktioniert. Nun habe ich die Easter-RC4 neu aufgesetzt und denselben Druckertreiber wie vorher installiert => Kein Drucken möglich. Update auf CUPS 1.2.1-3, befolgen diverser Tipps aus diesem Forum:

- apt-get remove --purge cupsys
- apt-get install cupsys cupsysdriver-gutenprint hplip
- Auskommentieren des Listen-Eintrags in /etc/cups/cupsd.conf
- Editieren der DeviceURI nach file:/dev/usb/lp0 in /etc/cups/printers.conf
- chmod 666 /dev/usb/lp0

Der Drucker lässt sich mit localhost:631 normal installieren und einrichten und wird auch im Kontrollzentrum erkannt. Angeschlossen ist er an usb://KONICA%20MINOLTA/mc5430DL (usb #1).

/var/log/cups/error_log
Code:
D [11/Jul/2006:22:08:26 +0000] [CGI] Output second part...
D [11/Jul/2006:22:08:26 +0000] [CGI] Starting at file position 631...
D [11/Jul/2006:22:08:26 +0000] [CGI] Returning at file position 638 on character '}'...
D [11/Jul/2006:22:08:26 +0000] [CGI] Finished "{NEXTURL?", out=0xb7e595e0...
D [11/Jul/2006:22:08:26 +0000] [CGI] Returning at file position 659 on EOF...
D [11/Jul/2006:22:08:26 +0000] [CGI] cgiCopyTemplateLang(tmpl="trailer.tmpl")
D [11/Jul/2006:22:08:26 +0000] [CGI] locale="de"...
D [11/Jul/2006:22:08:26 +0000] [CGI] Template file is "/usr/share/cups/templates/trailer.tmpl"...
D [11/Jul/2006:22:08:26 +0000] [CGI] Starting at file position 0...
D [11/Jul/2006:22:08:26 +0000] [CGI] Returning at file position 614 on EOF...
D [11/Jul/2006:22:08:58 +0000] Unloading job 2...
D [11/Jul/2006:22:09:28 +0000] cupsdCloseClient: 6
D [11/Jul/2006:22:09:28 +0000] cupsdCloseClient: 11
I [11/Jul/2006:22:10:02 +0000] Scheduler shutting down normally.
I [11/Jul/2006:22:10:02 +0000] Saving remote.cache...
I [11/Jul/2006:22:10:02 +0000] Saving job cache file "/var/cache/cups/job.cache"...
E [11/Jul/2006:22:10:11 +0000] PID 9659 (/usr/lib/cups/filter/rastertokm5430dl) stopped with status 1!
E [11/Jul/2006:22:11:22 +0000] PID 9896 (/usr/lib/cups/filter/rastertokm5430dl) stopped with status 1!
E [11/Jul/2006:22:28:01 +0000] PID 13071 (/usr/lib/cups/filter/rastertokm5430dl) stopped with status 1!
E [11/Jul/2006:22:30:50 +0000] CUPS-Set-Default: Unauthorized
E [11/Jul/2006:22:30:57 +0000] PID 13629 (/usr/lib/cups/filter/rastertokm5430dl) stopped with status 1!
E [11/Jul/2006:22:31:36 +0000] [CGI] Unable to contact HPLIP I/O (hpssd).
E [11/Jul/2006:22:31:37 +0000] [CGI] Unable to contact HPLIP I/O (hpssd).
E [11/Jul/2006:22:31:41 +0000] [CGI] Unable to contact HPLIP I/O (hpssd).
E [11/Jul/2006:22:34:22 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:22 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:22 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:22 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:22 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:27 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:27 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:27 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:27 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:27 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:32 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:32 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:32 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:32 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:32 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:37 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:37 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:37 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:37 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:37 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:40 +0000] PID 14418 (/usr/lib/cups/filter/rastertokm5430dl) stopped with status 1!
E [11/Jul/2006:22:34:42 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:42 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:42 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:42 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:42 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:47 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:47 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:47 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:47 +0000] cupsdAuthorize: Local authentication certificate not found!
E [11/Jul/2006:22:34:47 +0000] cupsdAuthorize: Local authentication certificate not found!


Das scheinen 2 Probleme zu sein:
1) Als User erhalte ich "PID xy stopped with status 1!"
2) Als root erhalte ich zusätzlich "cupsdAuthorize: Local authentication certificate not found!"

Deutet also auf Rechte- bzw. Authentifzierungsprobleme hin. Wer weiß Rat?


Zuletzt bearbeitet von weia am 13.07.2006, 22:22 Uhr, insgesamt ein Mal bearbeitet
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Vasco
Titel:   BeitragVerfasst am: 12.07.2006, 00:12 Uhr



Anmeldung: 01. Dez 2005
Beiträge: 185
Wohnort: Berlin
Lies das hier mal, viellecht hilft es: http://www.nico-beuermann.de/blogging/

Ansonsten mal googeln.

Vasco
 
 Benutzer-Profile anzeigen Private Nachricht senden ICQ-Nummer 
Antworten mit Zitat Nach oben
weia
Titel:   BeitragVerfasst am: 12.07.2006, 05:56 Uhr



Anmeldung: 11. Mai 2005
Beiträge: 49

Hallo Vasco,

danke für den Hinweis, den ich allerdings schon gesehen habe und der nicht zum Ziel führt. Auch Google lässt mich hängen. Hat jemand noch eine Idee?

Gruß weia
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Vasco
Titel:   BeitragVerfasst am: 12.07.2006, 09:29 Uhr



Anmeldung: 01. Dez 2005
Beiträge: 185
Wohnort: Berlin
Schau mal bei linuxprinting.org vorbei. Hast du den dort empfohlenen Treiber installiert? Hast du die dortigen Anleitungen zur Installation befolgt? Hast du dort mal im Minolta Forum und Mailingliste nachgeschaut bzw. nachgefragt?

Finde mal raus, welches cupsys bei 2005-02 dabei war und installiere das mal.

Vasco
 
 Benutzer-Profile anzeigen Private Nachricht senden ICQ-Nummer 
Antworten mit Zitat Nach oben
weia
Titel:   BeitragVerfasst am: 13.07.2006, 07:02 Uhr



Anmeldung: 11. Mai 2005
Beiträge: 49

Verdacht: Der Treiber, der auf meinem alten Rechner funktionierte (eine mit alien umgewandelte rpm-Datei von der amerikanischen konica-minolta-Seite), macht auf meinem neuen System Zicken (AMD64). Hinweise auf "falsche Architektur" bei:

http://www.mail-archive.com/debian-user ... 66689.html


Versuch der Compilierung aus dem .tar.gz

Voraussetzungen: gs-esp, cups, foomatic, foomatic-db, libcups

1) Download von magicolor5430DL-1.8.0.tar.gz (http://www.linuxprinting.org/download/printing/konicaminolta/)

2) Download von jbigkit-1.6.tar.gz (http://www.cl.cam.ac.uk/~mgk25/jbigkit/)
Code:
make
make install

Kopieren von libjbig.a nach /usr/local/lib
Kopieren von jbig.h nach /usr/local/include

3) Download von lcms-1.15.tar.gz (http://www.littlecms.com)
Code:
./configure
make
make install


4)
Code:
apt-get install libc6-i686


5) Entpacken von magicolor5430DL-1.8.0.tar.gz, Wechsel nach ./magicolor5430DL-1.8.0/
Code:
dpkg-buildpackage -b -uc -us -rfakeroot


Ergebnis:
- ./configure läuft feherfrei durch
- make und make install geben folgendes aus:

Code:

root@KanotixBox:/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0# dpkg-buildpackage -b -uc -us -rfakeroot
dpkg-buildpackage: source package is magicolor5430dl
dpkg-buildpackage: source version is 1.7.1-1
dpkg-buildpackage: source changed by sean zhan <http://printer.konicaminolta.net>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 1.7.1-1
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
# Add here commands to clean up after the build process.
/usr/bin/make distclean
make[1]: Entering directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0'
Making distclean in debian
make[2]: Entering directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0/debian'
test -z "" || rm -f
rm -f Makefile
make[2]: Leaving directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0/debian'
Making distclean in src
make[2]: Entering directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0/src'
test -z "rastertokm5430dl" || rm -f rastertokm5430dl
rm -f *.o
rm -f *.tab.c
test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0/src'
Making distclean in .
make[2]: Entering directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0'
test -z "" || rm -f
rm -f config.h stamp-h1
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[2]: Leaving directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0'
rm -f config.status config.cache config.log configure.lineno configure.status.lineno
rm -f Makefile
make[1]: Leaving directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0'
dh_clean
 debian/rules build
dh_testdir
# Add here commands to configure the package.
CFLAGS="-Wall -g -O2" ./configure --host=i486-linux-gnu --build=i486-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i486-linux-gnu-gcc... i486-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-linux-gnu-gcc accepts -g... yes
checking for i486-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i486-linux-gnu-gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
configure: libdir is /usr/lib64
checking for ppdOpenFile in -lcups... yes
checking for cupsRasterReadHeader in -lcupsimage... yes
checking for jbg_enc_init in -ljbig... yes
checking for cmsCreateTransform in -llcms... yes
checking how to run the C preprocessor... i486-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking lcms.h usability... yes
checking lcms.h presence... yes
checking for lcms.h... yes
checking icc34.h usability... yes
checking icc34.h presence... yes
checking for icc34.h... yes
checking jbig.h usability... yes
checking jbig.h presence... yes
checking for jbig.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether byte ordering is bigendian... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking return type of signal handlers... void
checking for memset... yes
checking for strchr... yes
checking for strrchr... yes
checking for strstr... yes
checking for strlcpy... no
checking for snprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating debian/Makefile
config.status: creating config.h
config.status: executing depfiles commands
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0'
/usr/bin/make  all-recursive
make[2]: Entering directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0'
Making all in src
make[3]: Entering directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0/src'
if i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -g -O2 -MT rastertokmlf.o -MD -MP -MF ".deps/rastertokmlf.Tpo" -c -o rastertokmlf.o rastertokmlf.c; \
        then mv -f ".deps/rastertokmlf.Tpo" ".deps/rastertokmlf.Po"; else rm -f ".deps/rastertokmlf.Tpo"; exit 1; fi
rastertokmlf.c: In function 'find_printer_make':
rastertokmlf.c:292: warning: 'httpSeparate' is deprecated (declared at /usr/include/cups/http.h:416)
rastertokmlf.c: In function 'WritePJL_OSINFO_TIMESTAMP':
rastertokmlf.c:1315: warning: suggest parentheses around assignment used as truth value
rastertokmlf.c:1320: warning: suggest parentheses around assignment used as truth value
rastertokmlf.c:1325: warning: suggest parentheses around assignment used as truth value
rastertokmlf.c:1330: warning: suggest parentheses around assignment used as truth value
rastertokmlf.c:1335: warning: suggest parentheses around assignment used as truth value
rastertokmlf.c:1340: warning: suggest parentheses around assignment used as truth value
rastertokmlf.c:1345: warning: suggest parentheses around assignment used as truth value
if i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -g -O2 -MT bmp.o -MD -MP -MF ".deps/bmp.Tpo" -c -o bmp.o bmp.c; \
        then mv -f ".deps/bmp.Tpo" ".deps/bmp.Po"; else rm -f ".deps/bmp.Tpo"; exit 1; fi
bmp.c: In function 'getHalftoneByResolution':
bmp.c:160: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness
bmp.c:162: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness
i486-linux-gnu-gcc  -Wall -g -O2   -o rastertokm5430dl  rastertokmlf.o bmp.o /usr/local/lib/liblcms.a /usr/local/lib/libjbig.a -lcupsimage -lcups
rastertokmlf.o: In function `find_printer_make':
/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0/src/rastertokmlf.c:172: undefined reference to `cups_strlcpy'
/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0/src/rastertokmlf.c:377: undefined reference to `cups_strlcpy'
/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0/src/rastertokmlf.c:431: undefined reference to `cups_strlcpy'
/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0/src/rastertokmlf.c:455: undefined reference to `cups_strlcpy'
/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0/src/rastertokmlf.c:362: undefined reference to `cups_strlcpy'
rastertokmlf.o:/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0/src/rastertokmlf.c:450: more undefined references to `cups_strlcpy' follow
collect2: ld returned 1 exit status
make[3]: *** [rastertokm5430dl] Fehler 1
make[3]: Leaving directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/weia/Computer/Downloads/Linux/Programme/QMS/magicolor5430DL-1.8.0'
make: *** [build-stamp] Fehler 2


Da muss ich passen, das verstehe ich nicht mehr. Wie kriege ich das vermaledeite Ding kompiliert?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
weia
Titel: Alles wird gut...  BeitragVerfasst am: 13.07.2006, 22:21 Uhr



Anmeldung: 11. Mai 2005
Beiträge: 49

Jetzt geht der Drucker! Lachen

1) Alles CUPS-relevante, Gutenprint, Foomatic, Druckertreibereste etc. mit apt-get remove --purge entfernt. Immer schön der Reihe nach, damit nicht das halbe System mitverschwindet.

2) mit apt-get install cupsys, libcupsys2, cupsys-client und libcupsimage2 installiert.
Pfeil Jetzt hat man ein entschlacktes CUPS 1.2.1-3

3) Kurzer Test: Kann ich mit http://localhost:631 mt dem Server verbinden: Ja? Gut!

4) Download des Druckertreibers http://printer.konicaminolta.net/drivers/linux/magicolor5430DL-1.7.0-1.i386.rpm.gz

5) Entpacken
Code:
alien magicolor5430DL-1.7.0-1.i386.rpm --scripts
dpkg --install magicolor5430DL-1.7.0-1.i386.deb


6) Einrichten über localhost:631, Testseite: geht!

7) Druck aus anderen Anwendungen: geht!

Ich hatte vorher ein neues RC4 aufgesetzt und ansonsten keine Änderungen vorgenommen (Auskommentieren etc.).

Mit dem Treiber, mit dem es auf dem alten Rechner lief (magicolor5430DL-1.7.1-2.i386.rpm.gz), funktionierte es einfach nicht, trotz höherer Versionsnummer. Einen Treiber mit noch neuerer Versionsnummer (1.8.0; von www.linuxprinting.org) konnte ich nicht kompilieren, siehe Beitrag weiter oben.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.