From owner-freebsd-questions@FreeBSD.ORG Wed Aug 9 21:36:04 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 290B416A4DF for ; Wed, 9 Aug 2006 21:36:04 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D3A243D46 for ; Wed, 9 Aug 2006 21:36:03 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id i27so269726wxd for ; Wed, 09 Aug 2006 14:36:02 -0700 (PDT) Received: by 10.70.77.2 with SMTP id z2mr2042186wxa; Wed, 09 Aug 2006 14:29:32 -0700 (PDT) Received: from scorpio.seibercom.net ( [67.189.184.224]) by mx.gmail.com with ESMTP id h36sm248189wxd.2006.08.09.14.29.31; Wed, 09 Aug 2006 14:29:31 -0700 (PDT) Received: from [192.168.0.4] (boss.seibercom.net [192.168.0.4]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: gerard@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTP id 7BBDCB875 for ; Wed, 9 Aug 2006 17:29:30 -0400 (EDT) Date: Wed, 09 Aug 2006 17:29:31 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Organization: Seibercom In-Reply-To: <44D9FF84.5060708@infracaninophile.co.uk> References: <20060809082757.B59F.GERARD@seibercom.net> <44D9FF84.5060708@infracaninophile.co.uk> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20060809171622.A471.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.25 [en] Subject: Port Not Available X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Aug 2006 21:36:04 -0000 Matthew Seaman wrote: > Ummm... given that there's no 'rm' capability in this printcap I guess you > must be using Samba to communicate with the remote windows printer. If so, > then that printcap looks fine. Well, setting lp=/dev/null seems to cause > some complaints, but that should just be cosmetic. > > I'd start looking for problems in the Samba setup. Can you use smbclient to > connect to the printserver machine via Samba using the credentials you gave > in the apsfilter setup? Does it show that you have access to the shared > printer there? > > Double check the contents of /usr/local/etc/apsfilter/SETUP.cfg and the > apsfilterrc files in that directory and it's sub-directories. > > Also, is there anything interesting in the log file /var/spool/lpd/lp/log ? Nothing other than this from the lpd-errs file produced when 'checkpc -fV' is run. lpd-errs: Aug 9 13:06:09 scorpio checkpc[6018]: lp: Checkwrite: fcntl F_SETFL of '/dev/null' failed - Inappropriate ioctl for device Aug 9 17:18:57 scorpio checkpc[14219]: lp: Checkwrite: fcntl F_SETFL of '/dev/null' failed - Inappropriate ioctl for device I can connect using smbclient without any problems. The problem is not there. The is just not connection with the print server, and that is what I cannot understand. I had the same problem with an install of 5.4. One day that message started being printed in the log and I could no longer print. I was forced to do a total reinstall of the OS. I really believe that the '/dev/null' thing is the key to this, but I do not have a clue how to go about fixing it. I have a bad feeling that I am going to have to do a total reinstall of the OS. With KDE, OpenOffice etc., that will take awhile. Unless you have a better idea Matthew, I will probably go that route this weekend. I do not need another over sized paper weight. -- Gerard Seibert gerard@seibercom.net