From owner-freebsd-questions Wed Jul 4 23:57:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp013.mail.yahoo.com (smtp013.mail.yahoo.com [216.136.173.57]) by hub.freebsd.org (Postfix) with SMTP id 2FB5D37B405 for ; Wed, 4 Jul 2001 23:57:32 -0700 (PDT) (envelope-from kevinlui_hk@yahoo.com) Received: from unknown (HELO Freebie.polyu.edu.hk) (158.132.179.104) by smtp.mail.vip.sc5.yahoo.com with SMTP; 5 Jul 2001 06:57:31 -0000 X-Apparently-From: From: Kevin Lui To: freebsd-questions@freebsd.org Subject: Fwd: Re: Printing problem- can't start lpd Date: Thu, 5 Jul 2001 14:49:56 +0800 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain; charset="US-ASCII" Cc: lflui@yahoo.com MIME-Version: 1.0 Message-Id: <01070514552202.07682@Freebie.polyu.edu.hk> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I got a printing problem about the lpd, I just cannot start the lpd with the following lines in the printcap file. lp|local line printer:\ :sh:\ :lp=/dev/lpt0:sd=/var/spool/output/lpd:mx#0:lf=/var/log/lpd-errs: ef404 | HP LJ:\ :sh:\ :lp=:rm=158.132.148.254:sd=/var/spool/output/ef404:mx#0:lf=/var/log/lpd-errs: when I start lpd, I got the following error message. chkprintcap: ef404 and lp share the same spool, /var/spool/output/lpd lpd: 1 errors in printcap file, exiting However when I comment out one of them say the "lp| local line printer " part. I start lpd, no error message this time. But when I use lpq -q to check the printing status, if says, ef404: warning: no daemon present. However, I have check the directory /var/spool/output/ef404 do exist. Actucally, I tried to use different spool directory before, say, I create a directory /var/spool/ef404 and set sd=/var/spool/ef404: and change the owner of the directory to daemon.daemon and 770(chmod). and test it. But still cannot fix it! Can anyone tell me how to fix it? Thanks a lot! Regards, Kevin _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message