From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 11:08:41 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B5AFDD4 for ; Fri, 11 Apr 2014 11:08:41 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 478361870 for ; Fri, 11 Apr 2014 11:08:40 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1WYZK2-003Oxd-E9>; Fri, 11 Apr 2014 13:08:38 +0200 Received: from g225184157.adsl.alicedsl.de ([92.225.184.157] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1WYZK2-001rrZ-9s>; Fri, 11 Apr 2014 13:08:38 +0200 Date: Fri, 11 Apr 2014 13:08:33 +0200 From: "O. Hartmann" To: Boris Samorodov Subject: Re: print/cups: since update to 1.7.1: error : Send-Document client-error-document-format-not-supported Message-ID: <20140411130833.0d4cd2f2.ohartman@zedat.fu-berlin.de> In-Reply-To: <534476FE.4020109@passap.ru> References: <20140408154210.1aec26a8.ohartman@zedat.fu-berlin.de> <53444B11.8090302@passap.ru> <20140408222552.67cd5453.ohartman@zedat.fu-berlin.de> <534476FE.4020109@passap.ru> Organization: FU Berlin X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_//i2VrDqYgZS7oVDro7TzS1T"; protocol="application/pgp-signature" X-Originating-IP: 92.225.184.157 X-ZEDAT-Hint: A Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2014 11:08:41 -0000 --Sig_//i2VrDqYgZS7oVDro7TzS1T Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 09 Apr 2014 02:23:58 +0400 Boris Samorodov wrote: > 09.04.2014 00:25, O. Hartmann =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > On Tue, 08 Apr 2014 23:16:33 +0400 > > Boris Samorodov wrote: > >=20 > >> 08.04.2014 17:42, O. Hartmann =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >>> Since the update of print/cups from 1.5.X to 1.7.1 > >> > >> How did you do it? > >=20 > > As it is reported in /usr/ports/UPDATING. I delete first cups-image, th= en did the > > update which reeled in all the new stuff automatically. >=20 > OK, lets start from some obvious things. > Did you restart cupsd while experimenting? No. > Give an output for: > ----- > % type lpr lpr is /usr/local/bin/lpr pkg which /usr/local/bin/lpr /usr/local/bin/lpr was installed by package cups-base-1.7.1 > % ls -l /usr/local/etc/cups -r--r--r-- 1 root wheel 2807 11 Apr 11:58 cups-browsed.conf -rw-r----- 1 root cups 3197 8 Apr 17:15 cups-files.conf -rw-r----- 1 root cups 3197 8 Apr 17:15 cups-files.conf.bak -rw-r----- 1 root wheel 3137 11 Apr 12:02 cups-files.conf.sample -r--r--r-- 1 root wheel 9521 11 Apr 11:50 cups-pdf.conf -r--r--r-- 1 root wheel 9521 11 Apr 11:50 cups-pdf.conf.sample -rw-r----- 1 root cups 3442 8 Apr 17:22 cupsd.conf -rw-r----- 1 root cups 5098 8 Apr 17:20 cupsd.conf.O -rw-r----- 1 root cups 3442 8 Apr 17:22 cupsd.conf.bak -rw-r----- 1 root wheel 4492 11 Apr 12:02 cupsd.conf.default -r--r--r-- 1 root wheel 4492 11 Apr 12:02 cupsd.conf.sample drwxr-xr-x 2 root wheel 512 11 Apr 12:02 interfaces -r--r--r-- 1 root wheel 1875 8 Apr 19:17 mime.convs -r--r--r-- 1 root wheel 1874 11 Apr 12:02 mime.convs.sample -r--r--r-- 1 root wheel 6456 8 Apr 19:18 mime.types -r--r--r-- 1 root wheel 6455 11 Apr 12:02 mime.types.sample drwxr-xr-x 2 root cups 512 11 Apr 12:02 ppd -rw------- 1 root cups 4134 8 Apr 17:33 printers.conf -rw------- 1 root cups 4134 8 Apr 14:58 printers.conf.O -rw------- 1 root cups 4134 8 Apr 17:22 printers.conf.bak -rw-r--r-- 1 root cups 946 11 Apr 11:53 pstoraster.convs -r--r--r-- 1 root wheel 778 11 Apr 12:04 pstotiff.convs -r--r--r-- 1 root wheel 2084 11 Apr 12:04 pstotiff.types -r--r--r-- 1 root wheel 284 11 Apr 11:49 snmp.conf -r--r--r-- 1 root wheel 284 11 Apr 12:02 snmp.conf.sample drwx------ 2 root cups 512 11 Apr 12:02 ssl > % make -C /usr/ports/print/cups-client pretty-print-config -GNUTLS (whoops ... this is not the default, isn't it?) =3D=3D> corrected that with a new recompilation with rmconfig preceded. > % grep CUPS /etc/make.conf NULL (menas: no output) > % pkg info -x cups hp foo gut cups-base-1.7.1 cups-client-1.7.1 cups-filters-1.0.52 cups-image-1.7.1 cups-pdf-2.6.1_1 cups-pstoraster-8.15.4_7 cups-samba-6.0_7 gutenprint-cups-5.2.8_1 libgnomecups-0.2.3_5,1 linux-f10-cups-libs-1.3.11_1 foomatic-db-hpijs-1.4 hplip-3.14.1 kdevelop-php-1.6.0_1 kdevelop-php-docs-1.6.0_1 php5-5.4.27 swhplugins-0.4.15_4 foomatic-db-20140331 foomatic-db-engine-4.0.11,2 foomatic-db-hpijs-1.4 foomatic-filters-4.0.17 gimp-gutenprint-5.2.8 gutenprint-base-5.2.8 gutenprint-cups-5.2.8_1 gutenprint-ijs-5.2.8 > ----- >=20 > Stop cupsd, move temporary /var/log/cups/*_log to another location. > Start cupsd and look for suspicious messages at /var/log/cups/* files. >=20 Nothing suspicious so far. With print/cups-filters installed, the whole cup= s printing system is corrupted and doesn't print a single sheet of paper (PDF/PS) norm= al es expected. Prior to this task, I recompiled, as you suggested, first all cups ports an= d afterwards hplip/foomatic. I also installed print/cups-filters before recompiling hpli= p/foomatic. --Sig_//i2VrDqYgZS7oVDro7TzS1T Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJTR801AAoJEOgBcD7A/5N8A3YH/3HEZrUdT1SS48caP9pj+zYy dfNmc/wsnaBxS3eB9KNBjv7yjTkDWIbjwK5SHqxe0hjpuJULQ4Znp2IN/HlPuBJZ lE5Ux1U8nmvwz2pygXHbTCgwJ2WP5QDcrj/DuLWfTUI4O6mABzZrGfcM377LcqsP QYbSWnj8oOckVAROHNlKWyiGMJkmhTGEfjDYlz2+pDTmnhSz6DQ3Buf+GQ2SI2QJ Dp+lWLAp1JvG01DHJ83GqrsI8tHEQyyvEyfaSsyUkaaDBW5bFdhsuVhrSf7pqf5U 4p/Ezg/0L1Wx3o/oFsiSTz2BEAlwC8Plksu4V+9zlejjqIci+po/H0S2ClAsDUg= =pNCI -----END PGP SIGNATURE----- --Sig_//i2VrDqYgZS7oVDro7TzS1T--