From owner-freebsd-questions Fri Jan 16 22:16:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA06268 for questions-outgoing; Fri, 16 Jan 1998 22:16:38 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from emu.sourcee.com (emu.sourcee.com [199.201.159.173]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA05767 for ; Fri, 16 Jan 1998 22:03:35 -0800 (PST) (envelope-from nrice@emu.sourcee.com) Received: (from nrice@localhost) by emu.sourcee.com (8.8.8/8.8.3) id BAA11588; Sat, 17 Jan 1998 01:02:49 -0500 (EST) Message-ID: <19980117010249.10065@emu.sourcee.com> Date: Sat, 17 Jan 1998 01:02:49 -0500 From: Norman C Rice To: "Wayne M. Barnes" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: lpd in 2.2.5 References: <199801170020.SAA05076@barnes1.wustl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <199801170020.SAA05076@barnes1.wustl.edu>; from Wayne M. Barnes on Fri, Jan 16, 1998 at 06:20:11PM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Fri, Jan 16, 1998 at 06:20:11PM -0600, Wayne M. Barnes wrote: > Dear FreeBSDers, > > Ever since I upgraded to 2.2.5, I can't print, and I used to be > able to print just fine. It seems that lpd refuses to stay on. > It does print what's in the queue as it starts up, but after that, > it messages > barnes1 lpd[4494]: startup: duplicate spool directories: /var/sp > ool/output/lpd > > Notice that it says "duplicate", but it only lists one directory. > > Then, lpq says "Warning -- no daemon", because lpd does not stay > running. > > I have removed all spool directories, and then put only one back, > namely /var/spool/output Same result: > > Jan 16 10:47:04 barnes1 lpd[4574]: startup: duplicate spool directories: > /var/spool/output > > Here is my /etc/printcap: > [my previous printcap used to specify a unique spool directory > name for each printer; this simpler one is no better.] When you had unique spool directories, did you get the `duplicate spool' error message? > > lp|Local Printer:\ > :sh:sd=/var/spool/output:\ ^^^^^^^^^^^^^^^^^ > :lp=/dev/lpt0:\ > :if=/usr/local/libexec/if-simple:\ > :lf=/var/log/lpd > Dideoxy|Color Printer:\ > :lp=:rm=biochem:rp=Dideoxy:sd=/var/spool/output: ^^^^^^^^^^^^^^^^^ > bcprinter|Office Printer:\ > :lp=:rm=biochem:rp=bcprinter:sd:/var/spool/output: ^^^^^^^^^^^^^^^^^ > kodak_ds|Kodak Digital Science Printer:\ > :lp=:rm=biochem:rp=kodak_ds:sd:/usr/spool/output: ^^^^^^^^^^^^^^^^^ Does this directory exist on the local system? > > Did anyone else notice a change in lpd from FreeBSD 2.2.2 to 2.2.5? I believe there is a lpd timeout bug mentioned in the errata for FreeBSD 2.2.5-RELEASE; it's fixed in 2.2.5-STABLE. Which version is your system running? > > Wayne M. Barnes, Ph.D. wayne@barnes1.wustl.edu > Biochemistry Dept. 8231 or barnes@biodec.wustl.edu > Washington Univ. Medical School 314.362.3351 fax 7183 > 660 South Euclid Ave., St. Louis, MO 63110 > http://barnes1.wustl.edu Just plain Taq is old tech anymore. Try creating a unique spool directory (again) for each printer. Be careful about the directory permissions and ownership. -- Regards, Norman C. Rice, Jr.