From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111240,c5cb1ad4d0d2aa0c X-Google-Attributes: gid111240,public X-Google-Thread: 1103af,c5cb1ad4d0d2aa0c X-Google-Attributes: gid1103af,public X-Google-Thread: 111c93,76d7326444609fe5 X-Google-Attributes: gid111c93,public From: NewsMan Subject: Re: lpr problem with /dev/printer Date: 1999/03/26 Message-ID: <36FB0C2E.2E6609D8@sangdu.kjist.ac.kr>#1/1 X-Deja-AN: 459215901 Content-Transfer-Encoding: 7bit References: <36F8A2FF.8CBCC83F@sangdu.kjist.ac.kr> <7ddh2j$g7e$1@news.kjist.ac.kr> X-Accept-Language: ko Content-Type: text/plain; charset=us-ascii Organization: KJIST, KwangJu, KOREA Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha,comp.os.linux.misc,linux.redhat.misc 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.