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

Re: Strange printing problem(s)



andmalc wrote:

Wayne Topa-4 wrote:
...

I gave attached the cupsd.conf & client.conf files.
...
LogLevel warning
...


Try changing the log level in cupsd.conf to debug and follow the log while
printing.  You may also turn on debug logging by running

sudo cupsctl --debug-logging


More info:

On SID my user is not able to connect to the server, but root can, using lpstat -t. Root get the list of printers but the user gets

strace lpstat -t

[ends with]
ensocket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
setsockopt(4, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(4, SOL_TCP, TCP_NODELAY, [1], 4) = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
connect(4, {sa_family=AF_INET, sin_port=htons(631), sin_addr=inet_addr("192.168.1.3")}, 16) = -1 EHOSTUNREACH (No route to host)
close(4)                                = 0
write(2, "lpstat: Unable to connect to ser"..., 36lpstat: Unable to connect to server
) = 36
exit_group(1)

The addr=inet_addr("192.168.1.3" WAS the old print server. Its gone now and this box (192.168.1.11) has the printer now.

I have [erz]greped the system and removed/changed all the 192.168.1.3 references to 192.168.1.11 but the strace still shows lpstat trying to connect to the .3 address. I

On Testing (Squeeze) both the user and root get the above error.

I am not able to find any files with 192.168.1.3 in them, yet the lpstat command keeps looking for it.

Has anyone got a clue as to where I should look?

TIA

Wayne


Reply to: