Re: lpr: connect: No such file or directory

1997-03-22 Thread Lynn F. Coker
-- [ From: Lynn F Coker * EMC.Ver #3.2 ] --

Please delete me from your email distribution list.  I am not the Lynn Coker who
cares about stuff like this.

Thanks.

Lynn
 REPLY, Original message follows 

Date: Saturday, 22-Mar-97 02:10 PM

From: Rick \ Internet:([EMAIL PROTECTED])
To:   Gerd Bavendiek   \ Internet:([EMAIL PROTECTED])
cc:   debian user  \ Internet:(debian-user@lists.debian.org)

Attachment: mimemsg.doc Code: 18DKBK8  \ Created: Unknown [2 Kb]

Subject: Re: lpr: connect: No such file or directory

On 18 Mar 1997, Gerd Bavendiek wrote:

> Hi,
> 
> I just tried to install another network printer. After fiddling with
> /etc/printcap I got problems. To make a longer story short: I decided
> to dpkg -r lpr. This went fine. So I reinstalled lpr, using
> lpr_5.9-12.deb.
> 
> After setting up rm and rp in /etc/printcap I tried lpr ...
> 
> This is what I got (doing this as root):
> 
> zaza:/mnt>>> lpr /etc/passwd
> lpr: connect: No such file or directory
> jobs queued, but cannot start daemon.
> 
> Someone any hints ?
> 
> Gerd  
> 
> 

I've not experienced that one yet.  Try dpkg --configure --pending
It looks like lpr is there but not setup properly.  If that doesn't work
try using dselect to wipe out lpr (using "_" underscore) then re-install
it.  It will set it up for you properly and tell you the dependencies
etc...

--Rick 
[EMAIL PROTECTED]



 REPLY, End of original message 



Re: lpr: connect: No such file or directory

1997-03-22 Thread Rick
On 18 Mar 1997, Gerd Bavendiek wrote:

> Hi,
> 
> I just tried to install another network printer. After fiddling with
> /etc/printcap I got problems. To make a longer story short: I decided
> to dpkg -r lpr. This went fine. So I reinstalled lpr, using
> lpr_5.9-12.deb.
> 
> After setting up rm and rp in /etc/printcap I tried lpr ...
> 
> This is what I got (doing this as root):
> 
> zaza:/mnt>>> lpr /etc/passwd
> lpr: connect: No such file or directory
> jobs queued, but cannot start daemon.
> 
> Someone any hints ?
> 
> Gerd  
> 
> 

I've not experienced that one yet.  Try dpkg --configure --pending
It looks like lpr is there but not setup properly.  If that doesn't work
try using dselect to wipe out lpr (using "_" underscore) then re-install
it.  It will set it up for you properly and tell you the dependencies
etc...

--Rick 
[EMAIL PROTECTED]


lpr: connect: No such file or directory

1997-03-18 Thread Gerd Bavendiek
Hi,

I just tried to install another network printer. After fiddling with
/etc/printcap I got problems. To make a longer story short: I decided
to dpkg -r lpr. This went fine. So I reinstalled lpr, using
lpr_5.9-12.deb.

After setting up rm and rp in /etc/printcap I tried lpr ...

This is what I got (doing this as root):

zaza:/mnt>>> lpr /etc/passwd
lpr: connect: No such file or directory
jobs queued, but cannot start daemon.

Stracing this command gave me:

888   link("/var/spool/lpd/lp/tfA001Aa00888", "/var/spool/lpd/lp/cfA001Aa00888"$
888   unlink("/var/spool/lpd/lp/tfA001Aa00888") = 0
888   socket(PF_UNIX, SOCK_STREAM, 0)   = 4
888   connect(4, {sun_family=AF_UNIX, sun_path="/dev/printer"}, 14) = -1 ENOENT$
888   fstat(1, {st_mode=S_IFCHR|0622, st_rdev=makedev(4, 198), ...}) = 0
888   mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0$
888   ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
888   write(1, "lpr: connect: No such file or di"..., 40) = 40
888   close(4)  = 0
888   write(1, "jobs queued, but cannot start da"..., 38) = 38
888   _exit(0)  = ?

Of course strace was right: There was no /dev/printer.

After rebooting without ANY CHANGES to /etc/printcap etc. :

zaza:/var/spool/lpd/remote>>> ll /dev/pr*
  19075 srwxrwxrwx   1 root root0 Mar 18 11:44 /dev/printer

Printing worked fine again.

What happened ? Any hints ?

I saw the very same question searching http://www.dejanews.com but
unfortunately without any answer.

Someone any hints ?

Gerd