CUPS printers disappear every time

Bug #133779 reported by stiv2k
6
Affects Status Importance Assigned to Milestone
cupsys (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

This problem has been ongoing for at least a month now. It is not printer-specific, as the same thing occurs with my old HP PSC 1310 and this new Lexmark X1270. What happens is I will add the printer, it will work fine for a couple hours, I'd go out and do something, come back, and BAM, printer is GONE. I have to manually re-add it every time.

my setup is as follows:
- The printer is connected to my server running Feisty attached via USB cable
- Cups 1.2.8
- The only relevant output i seem to find from the Error log is as follows:
D [20/Aug/2007:06:30:36 -0400] Discarding unused printer-deleted event...
D [20/Aug/2007:06:30:36 -0400] Remote destination "Lexmark_Printer" has timed out; deleting it...

- CUPS config:
#
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#

# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel debug

# Administrator user group...
SystemGroup lpadmin

# Only listen for connections from the local machine.
Listen 192.168.1.10:631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseAddress 192.168.1.255

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
<Location />
  Order Deny,Allow
  Deny From All
  Allow From 192.168.1.*
  Allow From 127.0.0.1
</Location>

# Restrict access to the admin pages...
<Location /admin>
  AuthType Basic
  AuthClass System
  Allow From 192.168.1.*
  Allow From 127.0.0.1
  Order Deny,Allow
  Deny From All
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Basic
  Require user @SYSTEM
  Order allow,deny
  Allow localhost
</Location>

# Set the default printer/job policies...
<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$
    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-$
    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: the name of the printcap file. Default is /etc/printcap.
# Leave blank to disable printcap file generation.
#

Printcap /var/run/cups/printcap

#
# PrintcapFormat: the format of the printcap file, currently either
# BSD or Solaris. The default is "BSD".
#

#PrintcapFormat BSD
#PrintcapFormat Solaris

#
# PrintcapGUI: the name of the GUI options panel program to associate
# with print queues under IRIX. The default is "/usr/bin/glpoptions"
# from ESP Print Pro.
#
# This option is only used under IRIX; the options panel program
# must accept the "-d printer" and "-o options" options and write
# the selected printer options back to stdout on completion.
#

#PrintcapGUI /usr/bin/glpoptions

mime.convs:
application/octet-stream application/vnd.cups-raw 0 -

mime.types:
application/octet-stream

PS: This all started when I reformatted the drive on my server. Before that it was working quite perfectly. What could be causing this?? I really need to get it working soon as school has started and me and my room mates will be relying on this printer to work. Thanks in advance

stiv2k (stiv2k)
description: updated
Revision history for this message
Olivier Berger (olivierberger) wrote :

Have you found out what happened ?

I experience a similar problem on one of our servers... just wondering... have you by any chance a machine which is known as some name in its /etc/hosts and differently in the DNS resolving (reverse resolving from its IP)... I'm just suspicious about local print queues being recognized by the server as remote ones, and thus causing removal problems after some time(out) maybe.

Hope this helps,

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 beta or later?

Changed in cupsys:
status: New → Incomplete
Revision history for this message
stiv2k (stiv2k) wrote : Re: [Bug 133779] Re: CUPS printers disappear every time

I don't think so; I have not had this sort of problem for several months
now, it is probably safe to mark this bug as CLOSED; I am not exactly sure
what happened to suppress the issue.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in cupsys (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.