Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 1998 01:02:49 -0500
From:      Norman C Rice <nrice@emu.sourcee.com>
To:        "Wayne M. Barnes" <wayne@barnes1.wustl.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: lpd in 2.2.5
Message-ID:  <19980117010249.10065@emu.sourcee.com>
In-Reply-To: <199801170020.SAA05076@barnes1.wustl.edu>; from Wayne M. Barnes on Fri, Jan 16, 1998 at 06:20:11PM -0600
References:  <199801170020.SAA05076@barnes1.wustl.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980117010249.10065>