* lpr problem with /dev/lp0
@ 1999-03-24 5:00 NewsMan
1999-03-25 5:00 ` newsman
0 siblings, 1 reply; 4+ messages in thread
From: NewsMan @ 1999-03-24 5:00 UTC (permalink / raw)
I do not understand why I have this problem:
$ lpr -h -Plp faxcover.ps
lpr: connect: No such file or directory
jobs queued, but cannot start daemon.
However, I have installed properly
lpr-0.33-1
BTW, I am running RedHat-5.1 with the custom-
compiled 2.0.35. Some of the suspects could be
compatibility with glibc-2.0.7-29. All the above
packages are parts of RedHat-5.2.
printtool-3.29-3
rhs-printfilters-1.46-3
Within printtool, I am able to send directly to port
/dev/lp0. So, unlike PC Linux, I though that
Alpha/Linux has been using /dev/lp0 even with
Kernel-2.0.35.
Is anyone having a similar problem?
Thanks alot.
G. Hugh Song
--
Newsman
PS: Reply to ghsong "at" kjist "dot" ac "dot" kr, if you really have to.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: lpr problem with /dev/lp0
1999-03-24 5:00 lpr problem with /dev/lp0 NewsMan
@ 1999-03-25 5:00 ` newsman
1999-03-26 5:00 ` lpr problem with /dev/printer NewsMan
0 siblings, 1 reply; 4+ messages in thread
From: newsman @ 1999-03-25 5:00 UTC (permalink / raw)
NewsMan (newsman@sangdu.kjist.ac.kr) wrote:
: I do not understand why I have this problem:
: $ lpr -h -Plp faxcover.ps
: lpr: connect: No such file or directory
: jobs queued, but cannot start daemon.
: However, I have installed properly
: lpr-0.33-1
: BTW, I am running RedHat-5.1 with the custom-
: compiled 2.0.35. Some of the suspects could be
: compatibility with glibc-2.0.7-29. All the above
: packages are parts of RedHat-5.2.
: printtool-3.29-3
: rhs-printfilters-1.46-3
: Within printtool, I am able to send directly to port
: /dev/lp0. So, unlike PC Linux, I though that
: Alpha/Linux has been using /dev/lp0 even with
: Kernel-2.0.35.
: Is anyone having a similar problem?
: G. Hugh Song
Wow! I solved the problem by myself at last. /dev/printer has
somehow been removed from the dev directory. I have no idea
how it was removed. How could I ever think that /dev/printer
must be there in addition to /dev/lp[0-3]? BTW, when I first
reinstall dev-*.rpm, I got
prw-------
from 'ls -l /dev/pritner'. Then, after I print something, it changed to
srw------
What are those "p" and "s" bits?
Thanks
G. Hugh Song
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: lpr problem with /dev/printer
1999-03-26 5:00 ` lpr problem with /dev/printer NewsMan
@ 1999-03-25 5:00 ` Norm Jacobs
0 siblings, 0 replies; 4+ messages in thread
From: Norm Jacobs @ 1999-03-25 5:00 UTC (permalink / raw)
/dev/printer is a unix domain socket used by lpr, lpq, lprm, and lpc to talk to
a local lpd. The socket is created by lpd when it starts. lpd must be running
for
it to exist.
-Norm
[root@mumble jacobs]# ls -l /dev/printer
srw------- 1 root root 0 Mar 20 04:00 /dev/printer
[root@mumble jacobs]# /etc/rc.d/init.d/lpd stop
Shutting down lpd: lpd
[root@mumble jacobs]# ls -l /dev/printer
ls: /dev/printer: No such file or directory
[root@mumble jacobs]# /etc/rc.d/init.d/lpd start
Starting lpd: lpd
[root@mumble jacobs]# ls -l /dev/printer
srw------- 1 root root 0 Mar 25 21:39 /dev/printer
[root@mumble jacobs]#
NewsMan wrote:
>
> newsman@sangdu.kjist.ac.kr wrote:
>
> > NewsMan (newsman@sangdu.kjist.ac.kr) wrote:
> > : I do not understand why I have this problem:
> >
> > : $ lpr -h -Plp faxcover.ps
> > : lpr: connect: No such file or directory
> > : jobs queued, but cannot start daemon.
> >
> > Wow! I solved the problem by myself at last. /dev/printer has
> > somehow been removed from the dev directory. I have no idea
> > how it was removed. How could I ever think that /dev/printer
> > must be there in addition to /dev/lp[0-3]? BTW, when I first
> > reinstall dev-*.rpm, I got
> >
> > prw-------
> >
> > from 'ls -l /dev/pritner'. Then, after I print something, it changed to
> >
> > srw------
> >
> > What are those "p" and "s" bits?
> >
> > Thanks
> >
> > G. Hugh Song
>
> Further findings: It is a general problem of at least RedHat's Linux
> on both Alpha and Intel platforms.
> Playing with printtool somehow deletes /dev/printer, which is
> known to be one of the so-called sockets (socket for what?).
>
> At what point does this device disappear? Searching through the
> dejanews archive of comp.os.linux.alpha showed that people
> had similar problems in the past. It must be a bug which nobody
> has really figured out yet.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: lpr problem with /dev/printer
1999-03-25 5:00 ` newsman
@ 1999-03-26 5:00 ` NewsMan
1999-03-25 5:00 ` Norm Jacobs
0 siblings, 1 reply; 4+ messages in thread
From: NewsMan @ 1999-03-26 5:00 UTC (permalink / raw)
newsman@sangdu.kjist.ac.kr wrote:
> NewsMan (newsman@sangdu.kjist.ac.kr) wrote:
> : I do not understand why I have this problem:
>
> : $ lpr -h -Plp faxcover.ps
> : lpr: connect: No such file or directory
> : jobs queued, but cannot start daemon.
>
> : However, I have installed properly
> : lpr-0.33-1
>
> : BTW, I am running RedHat-5.1 with the custom-
> : compiled 2.0.35. Some of the suspects could be
> : compatibility with glibc-2.0.7-29. All the above
> : packages are parts of RedHat-5.2.
>
> : printtool-3.29-3
> : rhs-printfilters-1.46-3
>
> : Within printtool, I am able to send directly to port
> : /dev/lp0. So, unlike PC Linux, I though that
> : Alpha/Linux has been using /dev/lp0 even with
> : Kernel-2.0.35.
>
> : Is anyone having a similar problem?
>
> : G. Hugh Song
>
> Wow! I solved the problem by myself at last. /dev/printer has
> somehow been removed from the dev directory. I have no idea
> how it was removed. How could I ever think that /dev/printer
> must be there in addition to /dev/lp[0-3]? BTW, when I first
> reinstall dev-*.rpm, I got
>
> prw-------
>
> from 'ls -l /dev/pritner'. Then, after I print something, it changed to
>
> srw------
>
> What are those "p" and "s" bits?
>
> Thanks
>
> G. Hugh Song
Further findings: It is a general problem of at least RedHat's Linux
on both Alpha and Intel platforms.
Playing with printtool somehow deletes /dev/printer, which is
known to be one of the so-called sockets (socket for what?).
At what point does this device disappear? Searching through the
dejanews archive of comp.os.linux.alpha showed that people
had similar problems in the past. It must be a bug which nobody
has really figured out yet.
G. Hugh Song
--
Newsman
PS: Reply to ghsong "at" kjist "dot" ac "dot" kr, if you really have to.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-03-26 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-24 5:00 lpr problem with /dev/lp0 NewsMan
1999-03-25 5:00 ` newsman
1999-03-26 5:00 ` lpr problem with /dev/printer NewsMan
1999-03-25 5:00 ` Norm Jacobs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox