From owner-freebsd-questions@FreeBSD.ORG Fri Mar 12 14:57:51 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4917A16A4CE for ; Fri, 12 Mar 2004 14:57:51 -0800 (PST) Received: from wonkity.com (wonkity.com [65.173.111.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5AAA43D39 for ; Fri, 12 Mar 2004 14:57:50 -0800 (PST) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.12.11/8.12.11) with ESMTP id i2CMveWf025219; Fri, 12 Mar 2004 15:57:40 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.11/8.12.11/Submit) with ESMTP id i2CMveiO025216; Fri, 12 Mar 2004 15:57:40 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Fri, 12 Mar 2004 15:57:40 -0700 (MST) From: Warren Block To: rogermiller In-Reply-To: <200403121720.AA422838616@alumni.union.edu> Message-ID: <20040312155154.A25102@wonkity.com> References: <200403121720.AA422838616@alumni.union.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: problems running lpd (both via rc.conf and directly) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 22:57:51 -0000 [Please wrap your text at 72 columns, thanks.] On Fri, 12 Mar 2004, rogermiller wrote: > I'm having a problem running lpd. I just installed FreeBSD 4.9 on a > new Pentium I, and set up printing. Following the instructions in > Section 11.3 of the Handbook, I added the following line to > /etc/rc.conf: > lpd_enable="YES" > > However, this does not turn on lpd, even when I reboot. Well, that's not the only thing you need for printing. You also need to have /etc/printcap configured. And the spool directory needs to be created. > Furthermore, when I su to root, and issue the "lpd" command, it prints > whatever I have in print queue, but when everything is printed, and I > try issuing another lpr command, I get the following error message: > > lpr: Unable to connect /var/run/printer: Socket operation on non-socket A Google of the mailing list shows that this message is what happens when you have mistakenly created a directory called /var/run/printer. That may not be the only way to get the error, though. -Warren Block * Rapid City, South Dakota USA