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

Re: Sarge->Etch upgrade breaks cupsys network printing



No replies?  Clear as mud?  Let me rephrase my question! :)

My 2 computer network running sarge on both boxes printed fine until I
upgraded one box to etch.  Now only local printing works.

Box A runs sarge.  Box B with an HP5L printer runs etch.

Box A config files are unchanged.  Box B has new etch cupsd.conf, but
trying the old sarge cupsd.conf did not work either.

So Box B (etch) prints locally, but doesn't print jobs from Box A.

Box A sees the printers on Box B:
Box A: $ lpstat -a
cups-PDF accepting requests since Jan 01 00:00
cups-pdf@localhost.localdomain accepting requests since Jan 01 00:00
HP5L accepting requests since Jan 01 00:00

Box A shows print jobs dispatched, but shows errors.  This was a one
page text file printed from firefox.
Box A /var/log/cups/error_log:
I [17/Apr/2007:09:57:18 -0400] Job 1 queued on 'HP5L' by 'jacki'.

I [17/Apr/2007:09:57:18 -0400] Started backend /usr/lib/cups/backend/ipp
(PID 3679) for job 1.

I [17/Apr/2007:09:57:19 -0400] Job 2 queued on 'HP5L' by 'jacki'.

I [17/Apr/2007:09:57:19 -0400] Started backend /usr/lib/cups/backend/ipp
(PID 3680) for job 2.

I [17/Apr/2007:09:57:19 -0400] Job 3 queued on 'HP5L' by 'jacki'.

I [17/Apr/2007:09:57:19 -0400] Started backend /usr/lib/cups/backend/ipp
(PID 3681) for job 3.

N [17/Apr/2007:09:57:19 -0400] [Job 1] : Print file accepted - job ID 2.

I [17/Apr/2007:09:57:19 -0400] Job 4 queued on 'HP5L' by 'jacki'.

I [17/Apr/2007:09:57:19 -0400] Started backend /usr/lib/cups/backend/ipp
(PID 3682) for job 4.

N [17/Apr/2007:09:57:19 -0400] [Job 2] : Print file accepted - job ID 3.

[...]  cupsys spews jobs and has to be killed.

Box A: /var/cups/page_log:
HP5L jacki 1 [17/Apr/2007:09:57:19 -0400] 1 1 - localhost

HP5L jacki 1 [17/Apr/2007:09:57:19 -0400] total 0 - localhost

HP5L jacki 2 [17/Apr/2007:09:57:19 -0400] 1 1 - localhost

HP5L jacki 2 [17/Apr/2007:09:57:19 -0400] total 0 - localhost

HP5L jacki 3 [17/Apr/2007:09:57:19 -0400] 1 1 - localhost

HP5L jacki 3 [17/Apr/2007:09:57:19 -0400] total 0 - localhost

HP5L jacki 4 [17/Apr/2007:09:57:19 -0400] 1 1 - localhost

HP5L jacki 4 [17/Apr/2007:09:57:19 -0400] total 0 - localhost


Box B /var/log/cups/* has no entries for this time period.

Box B:
~$ awk '!/^#/&&NF>0' /etc/cups/cupsd.conf
LogLevel info
SystemGroup lpadmin
Listen localhost:631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow 192.168.1.103
BrowseAllow @LOCAL
BrowseAddress 192.168.1.103
DefaultAuthType Basic
<Location />
  Order allow,deny
  Allow localhost
  Allow 192.168.1.103
 </Location>
<Location /admin>
  Encryption Required
  Order allow,deny
  Allow localhost
</Location>
<Location /admin/conf>
  AuthType Basic
  Require user @SYSTEM
  Order allow,deny
  Allow localhost
</Location>
<Policy default>
  # Job-related operations must be done by the owner or an adminstrator...
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription
Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job
Suspend-Current-Job Resume-Job CUPS-Move-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  # All administration operations require an adminstrator to authenticate...
  <Limit Pause-Printer Resume-Printer Set-Printer-Attributes
Enable-Printer Disable-Printer Pause-Printer-After-Current-Job
Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer
Restart-Printer Shutdown-Printer Startup-Printer Promote-Job
Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class
CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
    AuthType Basic
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
Printcap /var/run/cups/printcap

Box A:
$ awk '!/^#/&&NF>0' /etc/cups/cupsd.conf
DefaultCharset notused
LogLevel info
Printcap /var/run/cups/printcap
Port 631
BrowseAddress 192.168.1.104
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.1.104
</Location>
<Location /jobs>
AuthType Basic
AuthClass User
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>


I'd appreciate any pointers, suggestions, or admonitions.  The man
pages, cups docs local and online, searching the net, all did not help.
 I'm sure I'm missing something really obvious.

Thanks!

Ralph




Reply to: