cupsd: Child exited on signal 15! (Invalid cupsd.conf configuration)

Bug #436148 reported by useResa
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: cups

I am running an updated version of Karmic on a Dell Dimension 2300. Result of lsb_release -rd:
Description: Ubuntu karmic (development branch)
Release: 9.10

Version of cups package that is installed:
cups:
  Installed: 1.4.1-2
  Candidate: 1.4.1-2
  Version table:
 *** 1.4.1-2 0
        500 http://nl.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

When I tried to add a printer I noticed that the cups deamon was not running.
When trying to start it (sudo /etc/init.d/cups start) I get the following response:
 * Starting Common Unix Printing System: cupsd
cupsd: Child exited on signal 15!

Searching the forums I learned that when this happened in earlier releases (see for example on UF this thread: http://ubuntuforums.org/showthread.php?t=1009140) that this was caused by an empty /etc/cups/cupsd.conf file.
However, in my case the conf file is present and not empty. Find below the content of the cupsd.conf file:
/dev/sda1 / ext3 rw,errors=remount-ro 0 0
none /proc proc rw 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
udev /dev tmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0

Please inform me if more information is required.

Revision history for this message
Mark Fraser (launchpad-mfraz) wrote :

Just come across this bug with Kubuntu Karmic netbook.

In my case /etc/cups/cupsd.conf was empty, but I haven't noticed it before and /etc/cups/cupsd.conf.O wasn't empty.

Revision history for this message
Dereck Wonnacott (dereck) wrote :

That is the contents of /etc/fstab. Why is it in cupsd.conf!? Interesting...

This worked for me:
dereck@yakisoba:~$ sudo cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf
dereck@yakisoba:~$ sudo /etc/init.d/cups restart
 * Restarting Common Unix Printing System: cupsd [ OK ]

David Tomaschik (matir)
summary: - cupsd: Child exited on signal 15!
+ cupsd: Child exited on signal 15! (Invalid cupsd.conf configuration)
Changed in cups (Ubuntu):
status: New → Confirmed
Revision history for this message
useResa (rdrijsen) wrote :

Dereck Wonnacott's comment got me thinking (and worried that I may have reported something wrong).
As a result of his comment I checked again and the reported content was indeed the content of /etc/cups/cupsd.conf (see attachment).

What I did was:
rdrijsen@dell-thuis:/etc/cups$ sudo cp cupsd.conf.O cupsd.conf
[sudo] password for rdrijsen:
rdrijsen@dell-thuis:/etc/cups$ sudo /etc/init.d/cups start
 * Starting Common Unix Printing System: cupsd [ OK ]

So that resolved the situation.

Question remains ... how did the content of /etc/fstab end up in /etc/cups/cupsd.conf?

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.