clients get stuck when server reboots

cheryl southard cld at astro.caltech.edu
Thu Apr 2 11:55:31 PDT 2009


I forgot to mention one really important piece of information.  The linux clients on net-193 (131.215.193.xx) don't get stuck.  Only the linux clients on net-194 (131.215.194.xx).  So the problem has something to do with the fact that our print server is physically connected to more than one network.

One thing I've noticed about the linux clients on the different network, is that
the linux computers on net-193 report this to error_log:
I [29/Mar/2009:04:02:04 -0700] Added remote printer "4th_floor"...

But a computer on net-194 will report this for the same printer:
I [29/Mar/2009:04:02:13 -0700] Added remote printer "4th_floor"...
I [29/Mar/2009:04:02:13 -0700] Added remote printer "4th_floor at cahillprint"...
I [29/Mar/2009:04:02:13 -0700] Added implicit class "4th_floor"...

Cheryl

> Hi Folks,
>
> We have one main print server running cups V1.3.9 (compiled from src)
> on a RedHat Enterprise 4 linux computer which broadcasts browsing info
> to mac/solaris/linux print clients with "BrowseAddress" lines in the
> cupsd.conf.
>
> When the print server reboots, the cups software on the RedHat 4 Linux
> clients gets stuck.  On the client, "lpstat -a" returns
>         lpstat: get-printers failed: server-error-service-unavailable
>
> Our RedHat Enterprise 4 clients are running cups from rpm
>         > rpm -q cups
>         cups-1.1.22-0.rc1.9.27
>
> Our solaris and Mac print clients are fine after a server reboot.
>
> I can reset the clients by restarting cupsd on them.
>
> Can anyone please advise how I can debug this problem.
>
> Enclosed is the cupsd.conf from our server.
>
> Thanks,
> Cheryl
>
> --zhXaljGHf11kAtnf
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: attachment; filename="tucana-cupsd.conf"
>
> # Setting server name to a more generic name
> ServerName cahillprint
> #LogLevel info
> LogLevel debug
> SystemGroup sys root
> # Allow remote access
> Port 631
> Listen /var/run/cups/cups.sock
> #
> # 28MAR2009 CLD		So the log file doesn't dissapear when it gets too big
> MaxLogSize 0
> # Enable printer sharing and shared printers.
> Browsing On
> BrowseProtocols cups dnssd	# Only CUPS enabled [pls,vam 23-feb-09]
> BrowseOrder allow,deny
> BrowseAllow all
> BrowseAddress @LOCAL
> #BrowseAddress 131.215.193.0
> #BrowseAddress 131.215.193.5
> #BrowseAddress 131.215.193.30
> #BrowseAddress 131.215.194.0
> #BrowseAddress 131.215.195.0
> BrowseAddress 131.215.193.255
> BrowseAddress 131.215.194.255
> BrowseAddress 131.215.195.255
> DefaultAuthType Basic
>
> # 17MAR2009	CLD	so we can use a client.conf file that points to tucana
> Listen	131.215.193.6:631
> Listen	131.215.194.6:631
> Listen	131.215.195.6:631
> # 25MAR2009	CLD	I added the next line today, but now I think it wont work
> #Listen	131.215.196.6:631
> <Location />
>   # Allow shared printing...
>   Order allow,deny
>   Allow all
> # 27MAR2009	CLD	enable this when we have time for testing thru END OF INCLUDE
> #Order Deny,Allow
> #Deny From All
> #Allow From 127.0.0.1
> ## 7APR2004 CLD
> #Allow From 131.215.102.*
> #Allow From 131.215.103.*
> #Allow From 131.215.111.*
> #Allow From 131.215.112.*
> #Allow From 131.215.116.*
> #Allow From 131.215.120.*
> #Allow From 131.215.123.*
> #Allow From 131.215.193.*
> #Allow From 131.215.194.*
> #Allow From 131.215.195.*
> #Allow From 131.215.220.112
> #Allow From 131.215.240.186
> #Allow From 131.215.242.176
> ## For Shri's office staff to access his printer.
> #Allow From 131.215.64.*
> # END OF INCLUDE
>
> </Location>
> <Location /admin>
>   Encryption Required
>   # Restrict access to the admin pages...
>   Order allow,deny
> </Location>
> <Location /admin/conf>
>   AuthType Default
>   Require user @SYSTEM
>   # Restrict access to the configuration files...
>   Order allow,deny
> </Location>
> <Policy default>
>   <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>
>   <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
>     AuthType Default
>     Require user @SYSTEM
>     Order deny,allow
>   </Limit>
>   <Limit Pause-Printer Resume-Printer 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-Accept-Jobs CUPS-Reject-Jobs>
>     AuthType Default
>     Require user @SYSTEM
>     Order deny,allow
>   </Limit>
>   <Limit Cancel-Job CUPS-Authenticate-Job>
>     Require user @OWNER @SYSTEM
>     Order deny,allow
>   </Limit>
>   <Limit All>
>     Order deny,allow
>   </Limit>
> </Policy>
>
>
>
> --zhXaljGHf11kAtnf--
>





More information about the cups mailing list