[lug] RE: Printing Problems
Brian Armstrong
bsra at alpha1.csd.uwm.edu
Wed Aug 23 21:26:19 MDT 2000
Dear All,
This is a comment on the JetDirect / No Daemon Present problem
described by Ed Young below.
On 2 stations running RH 6.1 with HP JetDirect 170X boxes connected
to HP 1100 laserjet printers
I had the problem described by Ed below.
It appears that the lpd forked to print the job died before deleting
one of the cfXXX files
created in the spool directory (there are two cfXXX files, the
other, and the dfXXX files are all deleted
when the print job completes).
The problem is somehow intermittent, and I don't know what causes
it.
Ed suggested `lprm -' (see below) which seems to have cleared up
the problem on one machine but
not the other.
On the resistant machine, if I install lpr-0.48-1.i386.rpm the
problem goes away.
But if I reinstall lpr-0.41-2.i386.rpm, which came with the 6.1
distribution, the problem comes back.
If anyone has this symptom, I suggest upgrading lpr (the RPM
includes lpd).
If anyone knows what causes this, I'm curious.
Cheers,
Brian
> Dear Lug,
>
> I'm having printing problems from my RH 6.0 system. I can't print, and
> lpq returns that I have no daemon present, and no entries:
>
> ed.young at localhost in ~-> lpq
>
> localhost: Warning: no daemon present
> Rank Owner Job Files Total
Size
> 0 bytes
> 0 bytes
> 0 bytes
> 0 bytes
> 0 bytes
> 6th ed.young 48 (standard input) 28442
bytes
> 0 bytes
>
> JetDirect lpd: no entries
> ed.young at localhost in ~-> ps aux | grep lpd
> root 469 0.0 0.1 1284 96 ? S Aug25 0:00 lpd
> ed.young 7627 0.0 0.6 1152 440 ttyp3 S 10:15 0:00 grep
lpd
> ed.young at localhost in ~->
>
> It looks like there's a print job in the que but it never prints. Is
> it the 0 byte jobs with no owner or job number causing problems?
>
> If I kill lpd and then restart it and then run lpq again I get:
> root at localhost in /home/ed.young#-> lpq
> localhost: sending to 172.20.15.36
> Rank Owner Job Files Total
Size
> 0 bytes
> 0 bytes
> 0 bytes
> 0 bytes
> 0 bytes
> 0 bytes
> 0 bytes
> 0 bytes
>
> connection to 172.20.15.36 is down
> root at localhost in /home/ed.young#->
>
> The network printer isn't dow...
> root at localhost in /home/ed.young#-> ping 172.20.15.36
> PING 172.20.15.36 (172.20.15.36): 56 data bytes
> 64 bytes from 172.20.15.36: icmp_seq=0 ttl=60 time=2.6 ms
> 64 bytes from 172.20.15.36: icmp_seq=1 ttl=60 time=6.9 ms
> 64 bytes from 172.20.15.36: icmp_seq=2 ttl=60 time=2.5 ms
>
> --- 172.20.15.36 ping statistics ---
> 3 packets transmitted, 3 packets received, 0% packet loss
> round-trip min/avg/max = 2.5/4.0/6.9 ms
> root at localhost in /home/ed.young#->
>
>
>
> Thanx in advance,
>
> Ed Young
Date: Wed, 23 Aug 2000 13:01:31 -0600
From: Ed Young <ed.young at echostar.com>
To: Brian Armstrong <bsra at Alice.go-sensors.com>
Subject: Re: Jet Direct
I figured out how do fix the problem, but I don't realy know exactly
what caused it.
I simply removed all the jobs that i owned with "lprm -" (See the man
page for lprm)
lprm(1)
- If a single `-' is given, lprm will remove all jobs which a
user
owns. If the super-user employs this flag, the spool queue
will
be emptied entirely.
This fixed the problem. Didn't I post that as the resolution?
Ed
Brian Armstrong wrote:
>
> Ed,
>
> Did you ever get a reply to your querry to LUG
> RE: jetdirect and lpq returns no deamon present ?
>
> What fixes that ?
>
> Thanks
> Brian
More information about the LUG
mailing list