[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Problem solved: Need help with Printer lpr problem]



Looks like I found the problem, for some reason the Redhat setup had not
set the various lpd spool directories setuid. Setting the setuid bit on
/var/spool/lpd directory and the underlying lp2 directory with,

chmod +s /var/spool/lpd

fixed the problem. Though I don't understand how setup could have made
such a basic configuration error.

Thanks anyways.

------- Start of forwarded message -------
I have what must be a simple misconfiguration problem with a Linux
RedHat 5.1 box I have inherited. I cannot get a parallel connected
printer to accept lpr output. 

Redhat 5.1, kernal 2.0.34

I can send test postscript files directly to my printer (TI Microlaser
Pro600) via a direct port send,

  cat test.ps | /dev/lp1

No problems.

But I can not send data via lpr

  cat test.ps | lpr 

generates the message,

   lpr: lp: unknown printer
   Broken pipe

the command 

  cat test.ps | lpr -Plp1

generates,
  
  lpr: connect: Connection refused
  job queued, but cannot start daemon

-PPro600 generates the same message.

Attached are outputs from my printcap, a ps command on the lpr daemon,
and an lpc status command.

Any ideas? Thanks for any help.

Bob

---
Bob Gibbons				Raytheon Systems Company
Internet: Bob-Gibbons raytheon com	Sensors and Electronic Systems
Voice: 972-575-7757			Dallas, TX

.. backup attachments deleted...

------- End of forwarded message -------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]