Re: [SLUG] Fedora <--> Fedora printing

From: Backward Thinker (backwardthinker@juno.com)
Date: Sat Mar 20 2004 - 14:45:59 EST


> Using the RedHat-printer-config GUI in both machines, I have set
> sharing to permit browsing to all hosts and to automatically find
> remote shared queues.

> According to ps -ax | grep cups, Cupsd is running on both machines
> and nmap shows port 631 open on both.

This is your ecclesiastes to elisha, and elisha back to ecclesiastes,
not one nmapping itself, right?

> Yet my wifes machine (sender) gives me this error when I try to run
> the cups test page.
> lpr: unable to print file: server-error-service-unavailable

So did your wife's machine "see" the printer when cups browsed for it?
Have you specified a ppd?

> and tcpdump on my machine (acting as print server) shows contact as
> follows:
>
> tcpdump | grep ecclesiastes
>
> 12:08:10.429247 elisha.organic-earth.com.ipp >
> ecclesiastes.organic-earth.com.32980: P 62:346(284) ack 405 win 6432
> <nop,nop,timestamp 135190292 198709> (DF)
>
> 12:08:10.429240 ecclesiastes.organic-earth.com.32980 >
> elisha.organic-earth.com.ipp: . ack 62 win 5840 <nop,nop,timestamp
198709
> 135190292> (DF)

The above seem out of order...?

> 12:08:10.429405 ecclesiastes.organic-earth.com.32980 >
> elisha.organic-earth.com.ipp: . ack 346 win 6432 <nop,nop,timestamp
> 198709 135190292> (DF)
>
> 12:08:14.236853 ecclesiastes.organic-earth.com.32981 >
> elisha.organic-earth.com.ipp: S 565329688:565329688(0) win 5840 <mss
> 1460,sackOK,timestamp 199090 0,nop,wscale 0> (DF)
>
> 12:08:14.236930 elisha.organic-earth.com.ipp >
> ecclesiastes.organic-earth.com.32981: S 650880344:650880344(0) ack
> 565329689 win 5792 <mss 1460,sackOK,timestamp 135190673
199090,nop,wscale
> 0> (DF)
>
> (the end of which is:
> 11048 packets received by filter
> 9450 packets dropped by kernel
> 7903 packets received by filter
> 3492 packets dropped by kernel )
>
> I don't understand the above at all. Normally I get zero drops.

Hrm, is your CPU really busy during this? One possibility is tcpdump
competing with other processes for CPU etc just can't keep up with
kernel handling tcp/ip.

> My current best guess is that there is some error in my cups config
> on the print server machine but it is -only- a guess. Before I waste
> additional hours mucking about, can anyone shed any light on what is
> going on here?

You might want to post your cupsd.conf (with comments and empty lines
stripped), and holler if you see anything in /var/log/cups/error_log
or wherever it gets put. If you don't see anything suspicious in the
log, try incrementally increasing the verbosity of your cupsd.conf
LogLevel until you see something unusual. The order is: none, warn,
error, info, debug, and debug2.

GL,
~ Daniel

________________________________________________________________
The best thing to hit the Internet in years - Juno SpeedBand!
Surf the Web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:29:12 EDT