From owner-freebsd-questions@FreeBSD.ORG Sun May 30 06:42:19 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 49D3D16A4CE for ; Sun, 30 May 2004 06:42:19 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1004943D48 for ; Sun, 30 May 2004 06:42:18 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i4UDgBSL000411 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 May 2004 14:42:11 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i4UDgB7w000410; Sun, 30 May 2004 14:42:11 +0100 (BST) (envelope-from matthew) Date: Sun, 30 May 2004 14:42:11 +0100 From: Matthew Seaman To: Gerard Seibert Message-ID: <20040530134211.GB99915@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Gerard Seibert , FreeBSD Questions References: <200405300912.53434.gerard-seibert@rcn.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uZ3hkaAS1mZxFaxD" Content-Disposition: inline In-Reply-To: <200405300912.53434.gerard-seibert@rcn.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040525, clamav-milter version 0.71 X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: FreeBSD Questions Subject: Re: Problem after installing 'lprng' 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: Sun, 30 May 2004 13:42:19 -0000 --uZ3hkaAS1mZxFaxD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 30, 2004 at 09:12:53AM -0400, Gerard Seibert wrote: > Obligatory OS system info: >=20 > uname -a > FreeBSD rcn.com 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:= 55=20 > GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >=20 > I was having problems printing from KDE, so I used the ports to download = and=20 > install 'lprng' as well as the 'lprngtool'. The printing problem was solv= ed.=20 > However, a new problem has arisen. >=20 > Upon boot up I receive the following error message: >=20 > Local package initialization: > Starting Dr. Web daemon... > dnetc > printer > Fatal error - Cannot bind to lpd port '515' > . You have probably managed to configure your machine to try and run both the lpd(8) from the base system and the lpd from the lprNG port. Which means the lprNG version can't start up because the base system version has already bound the the lpd port. Make sure that your /etc/rc.conf has only the lprng entries. > I have no idea why this is happening. In addition, when I attempt to run = the=20 > 'lprngtool' script from within KDE, I receive the following error message: >=20 > Error executing command 'lpq -a -s' > lpq: illegal option -- s > usage: lpq [-a] [-l] [-Pprinter] [user ...] [job ...] >=20 > I am not sure if that has anything to do with this or not. >=20 > I would certainly appreciate any assistance that someone can afford me. lpq(8) from the base system is being run, and that doesn't understand the '-s' option used by lpq(8) from lprNG. Either you need to specify the full path to the correct version of lpq (which will be /usr/local/bin/lpq if you've installed lprNG from packages), or you have to futz with the $PATH and put /usr/local/bin before /usr/bin. Note that fiddling with the order of directories on the $PATH can cause all sorts of weird effects in completely unrelated software so test early and test often if you do that. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --uZ3hkaAS1mZxFaxD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAueSziD657aJF7eIRAsnzAJ9EmgH6NGEYd4WSsqm8pTb38yC46QCghU/v 51L2maunDxLF5zz0RgDO2CU= =wW7X -----END PGP SIGNATURE----- --uZ3hkaAS1mZxFaxD--