(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 run. This problem is persistent in 6.1, but intermittent in 6.0. I have uninstalled and reinstalled the following RPMs with no effect: lpr-0.46-1.i386.rpm printtool-3.41-2.noarch.rpm rhs-printfilters-1.57-3.i386.rpm
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 network printers).
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.
Try 0.51-4