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

Bug#466325: cupsys: Vague error: "cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting!"

Package: cupsys
Version: 1.3.5-1+b1
Severity: normal

Follow up to my comment here:

    #462069 cupsys: enabling printer sharing breaks the server config file

...where restarting the server failed:

    % /etc/init.d/cupsys restart 
    Restarting Common Unix Printing System: cupsd
    Message from syslogd@Arf at Sun Feb 17 18:06:30 2008 ...
    Arf cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting!
    cupsd: Child exited with status 1!

The "Unable to read" message is a confusing way to report a few garbage
characters; a web search shows many users think so.  Suggested

    Foobar cupsd: Garbage characters on line #11 of '/etc/cups/cupsd.conf' - exiting!

...which would require a little more code to provide the 'line #11'
above, but it's worth it.

Hope this helps...

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages cupsys depends on:
ii  adduser               3.105              add and remove users and groups
ii  cupsys-common         1.3.5-1            Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0] 1.5.19             Debian configuration management sy
ii  ghostscript [gs-esp]  8.61.dfsg.1-1      The GPL Ghostscript PostScript/PDF
ii  gs-esp                8.61.dfsg.1-1      Transitional package
ii  libavahi-compat-libdn 0.6.22-2           Avahi Apple Bonjour compatibility 
ii  libc6                 2.7-8              GNU C Library: Shared libraries
ii  libcupsimage2         1.3.5-1+b1         Common UNIX Printing System(tm) - 
ii  libcupsys2            1.3.5-1+b1         Common UNIX Printing System(tm) - 
ii  libdbus-1-3           1.1.2-1            simple interprocess messaging syst
ii  libgnutls13           2.0.4-3            the GNU TLS library - runtime libr
ii  libkrb53              1.6.dfsg.3~beta1-2 MIT Kerberos runtime libraries
ii  libldap-2.4-2         2.4.7-5            OpenLDAP libraries
ii  libpam0g             Pluggable Authentication Modules l
ii  libpaper1             1.1.23             library for handling paper charact
ii  libslp1               1.2.1-7.1          OpenSLP libraries
ii  lsb-base              3.1-24             Linux Standard Base 3.1 init scrip
ii  perl-modules          5.8.8-12           Core Perl modules
ii  procps                1:3.2.7-6          /proc file system utilities
ii  ssl-cert              1.0.15             simple debconf wrapper for OpenSSL
ii  xpdf-utils [poppler-u 3.02-1.3           Portable Document Format (PDF) sui

Versions of packages cupsys recommends:
ii  avahi-utils           0.6.22-2           Avahi browsing, publishing and dis
ii  cupsys-client         1.3.5-1+b1         Common UNIX Printing System(tm) - 
ii  foomatic-filters      3.0.2-20061031-1.2 linuxprinting.org printer support 
ii  smbclient             3.0.28-2+b1        a LanManager-like simple client fo

-- debconf information:
* cupsys/backend: ipp, lpd, scsi, serial, socket, usb, snmp, dnssd
* cupsys/browse: true
* cupsys/raw-print: false
* cupsys/ports: 631

Reply to: