[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lprng
Subject:    Re: [LPRng] LPRng no printing
From:       "Roeland Th. Jansen" <bengel () grobbebol ! xs4all ! nl>
Date:       1998-07-09 21:26:55
[Download RAW message or body]

> write(1, "lpc: connect: Connection refused"..., 33lpc: connect: Connection refused ) = 33
> close(3)                                = 0
> write(1, "\tcouldn\'t start daemon\n", 23       couldn't start daemon

to be more complete (I missed the first line when cut/paste took place,
sorry:

socket(PF_UNIX, SOCK_STREAM, , 0)       = 4
connect(4, {sun_family=AF_UNIX, sun_path="/dev/printer"}, 14) = -1 ECONNREFUSED (Connection refused)
write(1, "lpc: connect: Connection refused"..., 33lpc: connect: Connection refused ) = 33
close(4)  

which leads to believ that /dev/printer is not okay. I checked against a
system that works and changed it's permission to srw-------. Now, lpc start
all hangs at :

chmod("/var/spool/lpd/cdj850-a4-ascii-mono/lock", 0600) = 0 
write(1, "\tprinting enabled\n", 18     printing enabled )    = 18
socket(PF_UNIX, SOCK_STREAM, , 0)       = 7
connect(7, {sun_family=AF_UNIX, sun_path="/dev/printer"}, 14) = 0
write(7, "\1ascii\n", 7)                = 7

(ctrl-c here)

read(7,  <unfinished ...>

something is definitely wrong with the setup but before I manage to get the
stuff not to work at all.. I'll see if somebody has a tip.

-- 
Grobbebol's Home                 |      Don't give in to spammers.
http://www.xs4all.nl/~bengel     |     Use your real e-mail address
Linux 2.0.34  on  an i586/64 MB  |             on Usenet.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic