[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: printing problem - jobs queued, but cannot start daemon.



Tom Cooper wrote:
> 
> This is the second post of this message - I didn't get any
> feedback, and I'm hoping that someone can assist this week.

I'll try, although printers are not really my thing.  ;^)

> I've got two different printer definitions set up for the queue
> on roadrunner:  One is using samba, and the other uses lpr.

I'm not clear on lp0's printcap entry.  You have it
directed to /dev/null, but have no rm or rp entries.
What is it supposed to be doing?

	- Kevin Colby
	  kevinc grainsystems com


Original message:
> ----------------------------------------------------------------------------
> ---------------------------
> Hey folks.  Printing is getting me down.
> I've got multiple machines on my LAN.  The print server is a redhat box
> called roadrunner.
> 
> >From NT (bugs) or '95 (notebook) I can print just fine.  From another linux
> box, (marvin) I used to be able to print, and I can't figure out why
> printing is now failing.
> 
> I've got two different printer definitions set up for the queue on roadrunner:
> One is using samba, and the other uses lpr.  Both are failing with the same
> error.  (My /etc/printcap is attached.  I had to go through a rather
> convoluted process to get it attached.  Rest assured that it is not called
> printcap.txt on my machine.)
> 
> When I try to print, I get the following message:
> 
> [tcooper marvin tcooper]$ lpr -Plp0 test.txt
> lpr: connect: Connection refused
> 
> [tcooper marvin tcooper]$ lpq -Plp0
> Warning: no daemon present
> Rank   Owner
>      Job  Files                                 Total Size
> 1st    root
>  46    ...                                  625 bytes
> 2nd    root       47
>   ...                                  625 bytes
> 3rd    root       48
> ...                                  625 bytes
> 4th    tcooper    49
> test.txt                              557 bytes
> [tcooper marvin tcooper]$
> ps -aux | grep lpd
> root       482  0.0  0.0  1140    0 ?        SW   Feb24
>  0:00 [lpd]
> root       489  0.0  0.0  1204    0 ?        SW   Feb24   0:00
> [lpd]
> tcooper   1324  0.0  0.8  1244  512 pts/2    S    09:29   0:00 grep
> lpd
> jobs queued, but cannot start daemon.
> 
> [tcooper marvin tcooper]$ su
> Password:
> [root marvin tcooper]#
> /etc/rc.d/init.d/lpd stop
> Shutting down lpd: [  OK  ]
> [root marvin
> tcooper]# /etc/rc.d/init.d/lpd start
> Starting lpd: [  OK  ]
> [root marvin
> tcooper]# exit
> exit
> [tcooper marvin tcooper]# etc/rcps -aux | grep lpd
> root
>      1375  0.0  0.6  1140  412 ?        S    09:31   0:00 lpd
> root
> 1376  0.1  0.8  1204  564 ?        S    09:31   0:00 lpd
> tcooper   1402
> 0.0  0.7  1240  500 pts/2    S    09:31   0:00 grep lpd
> 
> [tcooper marvin tcooper]$ lpr -Plp0 test.txt
> lpr: connect: Connection
> refused
> jobs queued, but cannot start daemon.
> 
> I'm really confused by this behavior.  Can anyone help?
> 
> Thanks !
> 
> Tom
> 
>   ----------------------------------------------------------------------
> 
>    printcap.txtName: printcap.txt
>                Type: Plain Text (text/plain)
> 
>   ----------------------------------------------------------------------
> 
> This message reflects the personal views and opinions of the author only,
> and not necessarily those of any organizaion to which the author is
> related.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]