Red Hat Bugzilla – Bug 7049
lpr unable to connect to JetDirect Printer
Last modified: 2008-05-01 11:37:52 EDT
(This bug also occured in version 6.0)
I have a Pentium 333 running Redhat 6.1 (upgraded from 6.0). I have two
lan cards, one connected to a roadrunner modem, the other connected to my
LAN hub. On the LAN is also a Windows/NT machine, a Windows 98 machine
and an HP Laserjet 4000 with an internal JetDirect print server. Both
Windows machines are configured to print directly to the printer. Linux
is configured for both the RAW and TEXT queues of the printer. When LPR
is run from a shell, the following message is returned:
lpr: connect: Connection refused
jobs queued, but cannot start daemon.
The job will print once lpd is restarted, but lpr seems to fail whenever
This problem is persistent in 6.1, but intermittent in 6.0.
I have uninstalled and reinstalled the following RPMs with no effect:
Are you running lpd locally? You have to... (lpr can't connect sounds like a
problem connecting to your local lpd, which passes the requests on to the
Yes, lpd is run locally. Lpr apparently queues the request locally when it is
unable to start the daemon. Going to /etc/rc.d/init.d and executing a 'lpd
restart' prints the queued jobs, but subsequent lpr's still fail.