From owner-freebsd-questions Tue Jun 11 13:35:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.melim.com.br (salseiros.melim.com.br [200.215.110.23]) by hub.freebsd.org (Postfix) with ESMTP id 9DDFD37B40E for ; Tue, 11 Jun 2002 13:35:37 -0700 (PDT) Received: from praiadosamores.melim.com.br (praiadosamores.melim.com.br [200.215.110.20]) by mail.melim.com.br (Postfix) with SMTP id 968C5BAB4 for ; Tue, 11 Jun 2002 17:35:26 -0300 (BRT) Date: Tue, 11 Jun 2002 17:35:26 -0300 From: Ronan Lucio To: freebsd-questions@freebsd.org Subject: LPD Message-Id: <20020611173526.3b0387e5.ronanl@melim.com.br> Organization: Melim Internet X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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'm having a problem with lpd. I reinstalled a FreeBSD-4.5 box that must have a printer queue on another AIX Server sends the jobs from it's (AIX) queue to be printed. Ok, hown I have never figured out a print queue, I have just copied the configurations from the old (FreeBSD-3.2) server. The problem is: When a computer sends a job to the queue, it prints perfectly, but the file /var/spool/lpd//lock isn't been removed... :-/ When I remove lock file manualy, it prints normaly once again and don't remove lock file. I've copied the follow files: /etc/princap /etc/hosts.allow /etc/hosts.lpd /usr/lib/lp/filters (and it's contents) I have also needed to create the directories: /var/spool/lpd/lp /var/spool/lpd/ra1-14 /var/spool/lpd/ra1-15 /var/spool/lpd/ra1-16 /var/spool/lpd/spo Printcap file has the follow contents: #--- Begin printcap file --- # lp|local line printer:\ :lp=/dev/lpt0:sd=/var/spool/lpd/lp: \ :mx#0:so:sh:sb:of=/usr/lib/lp/filters/filter:sf ra1-14|ra1 printer:\ :lp=/dev/null:sd=/var/spool/lpd/ra1-14: \ :mx#0:so:sh:sb:of=/usr/lib/lp/filters/ra1-14:sf ra1-15|ra1 printer:\ :lp=/dev/null:sd=/var/spool/lpd/ra1-15: \ :mx#0:so:sh:sb:of=/usr/lib/lp/filters/ra1-15:sf ra1-16|ra1 printer:\ :lp=/dev/null:sd=/var/spool/lpd/ra1-16: \ :mx#0:so:sh:sb:of=/usr/lib/lp/filters/ra1-16:sf spo:\ :mx#0:rm=spo:rp=lp:sd=/var/spool/lpd/spo: # #--- End printcap file --- What can causing it? Thank's Ronan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message