From owner-freebsd-questions Fri Nov 3 11:34:44 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21]) by hub.freebsd.org (Postfix) with ESMTP id 40AA737B479 for ; Fri, 3 Nov 2000 11:34:39 -0800 (PST) Received: from esebh11nok.ntc.nokia.com (esebh11nok.ntc.nokia.com [131.228.10.108]) by mgw-x1.nokia.com (8.10.2/8.10.2/Nokia) with ESMTP id eA3JYbK04034 for ; Fri, 3 Nov 2000 21:34:37 +0200 (EET) Received: from coat.st-paul (ylitalo-juha-dev1.ntc.nokia.com [192.168.131.214]) by esebh11nok.ntc.nokia.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2652.78) id WF1RR890; Fri, 3 Nov 2000 21:34:37 +0200 Received: from shoes.st-paul (root@shoes.st-paul [10.10.10.6]) by coat.st-paul (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id VAA00320 for ; Fri, 3 Nov 2000 21:24:10 +0200 Received: (from jylitalo@localhost) by shoes.st-paul (8.9.3/8.9.3/Debian 8.9.3-21) id VAA00462 for freebsd-questions@freebsd.org; Fri, 3 Nov 2000 21:37:50 +0200 Date: Fri, 3 Nov 2000 21:37:50 +0200 From: Juha Ylitalo To: freebsd-questions@freebsd.org Subject: Yet another printing problem... Message-ID: <20001103213750.F321@shoes.st-paul> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E39vaYmALEf/7YXx" Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --E39vaYmALEf/7YXx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable System: FreeBSD 4.1.1 release Target: remote printer (Canon GP 555V) Summary: I get printing jobs nicely into queue, but I can seem to get daemon to push queue into printer. Here is quick example: essrv103nok149116# lpc restart essatb4b2 essatb4b2: no daemon to abort essatb4b2: daemon started essrv103nok149116# lpq -Pessatb4b2 =20 essrv103nok149116.ntc.nokia.com: Warning: no daemon present Rank Owner Job Files Total Size 1st jylitalo 0 foo.ps 71160 bytes no entries essrv103nok149116#=20 foo.ps was created with "mpage -ba4 .profile > foo.ps" I am going to post some additional information into this post so that you would get at least some kind of idea about how things are currently setup. All input/ideas are appreciated.... Here is the promised additional information: lpd is enabled and running: essrv103nok149116# ps aux | grep lpd root 705 0.0 0.5 1040 616 p1 S+ 9:17PM 0:00.00 grep lpd root 172 0.0 0.5 920 640 ?? Is 7:41PM 0:00.01 /usr/sbin/l= pd essrv103nok149116#=20 Queue should be correctly defined in printcap and spool dirs exist. Printcap entry was verified by printing=20 "rlpr -P print@essatb4b2 foo.ps" in Linux machine. Here is printcap and spooldirs: essrv103nok149116# tail /etc/printcap lp|essatb4b1:\ :rp=3Dprint:rm=3Dessatb4b1:\ :sd=3D/var/spool/output/essatb4b1:lf=3D/var/log/lpd-errs: essatb4b2:\ :rp=3Dprint:rm=3Dessatb4b2:\ :sd=3D/var/spool/output/essatb4b2:lf=3D/var/log/lpd-errs: essrv103nok149116# ls -la /var/spool/output/essatb4b2/ total 74 drwxrwxr-x 2 root daemon 512 Nov 3 19:40 . drwxr-xr-x 5 root daemon 512 Nov 3 16:28 .. -rw-r----x 1 root daemon 4 Nov 3 19:40 .seq -rw-rw---- 1 daemon daemon 180 Nov 3 19:40 cfA000essrv103nok149116.= ntc.nokia.com -rw-rw---- 1 jylitalo daemon 71160 Nov 3 19:40 dfA000essrv103nok149116.= ntc.nokia.com -rw-rw-r-- 1 root daemon 42 Nov 3 21:15 lock -rw-rw-r-- 1 root daemon 21 Nov 3 21:15 status essrv103nok149116#=20 What comes to log files, /var/log/lpd-errs and /var/log/messages don't show up anything interesting that would explain things. And as last bit of information: essrv103nok149116# ls -l /usr/sbin/lp* -r-xr-sr-x 1 root daemon 26784 Nov 3 18:09 /usr/sbin/lpc -r-xr-xr-x 1 root wheel 54136 Nov 3 18:09 /usr/sbin/lpd -r-xr-xr-x 1 root wheel 3576 Nov 3 18:09 /usr/sbin/lptcontrol -r-xr-xr-x 1 root wheel 3416 Nov 3 18:09 /usr/sbin/lptest essrv103nok149116#=20 -- Juha Ylitalo juha.o.ylitalo@nokia.com "Some tools are used, because its policy, others because they are good." --E39vaYmALEf/7YXx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.1 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6AxQOs9o7tOc1jEMRAkPdAKCvOLpv9zwlusynDhxEdAd1PgNIWgCcCmEE KM/hHkBwQ0N4EcCJ3j/rinw= =5jOT -----END PGP SIGNATURE----- --E39vaYmALEf/7YXx-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message