Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-02-2012, 08:52 PM   #1
LQ Newbie
Registered: Jul 2003
Location: Lexington, MA
Distribution: Mandriva 2011
Posts: 29

Rep: Reputation: 2
cupsd fails when trying to create a printer with status code 127 and at times status 2

I have a problem with CUPS around creating a printer. I had tried to update to CUPS 1.6.1 from my distros 1.4.8. When that failed I tried to reinstall CUPS via the distro packages.

CUPS functions but the cupsd fails with a status code of 127 any time I try to create a printer. CUPS access.log and errors.log with log set to debug2 all show the printer was successfully created but in reality the server crashes and no printer.

The message log at the same time shows:
Nov  2 20:39:32 localhost smbd[3970]:   Could not find child 12783 -- ignoring
Nov  2 20:39:59 localhost systemd[1]: cups.service: main process exited, code=exited, status=127
Nov  2 20:39:59 localhost systemd[1]: Unit cups.service entered failed state.
Nov  2 20:40:32 localhost smbd[14630]: [2012/11/02 20:40:32.465222,  0] printing/print_cups.c:109(cups_connect)
Nov  2 20:40:32 localhost smbd[14630]:   Unable to connect to CUPS server /var/run/cups/cups.sock:631 - Connection refused
I can also get a cupsd crash with exit status 2 if there is a printers.conf file in /etc/cups/ and I cannot restart cupsd until I delete the printers.conf file.

Any thoughts??? Would appreciate any help.
Thanks in advance.

Last edited by lgoldma; 11-02-2012 at 09:17 PM. Reason: more information


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
kstartupconfig4 does not exist or fails. The error code is 127 Lloth Slackware 2 09-12-2011 12:46 PM
kdestartupconfig4 does not exist or fails. The error code is 127. suChris Slackware 8 11-21-2010 10:27 PM
cupsd: Child exited with status 98! hussar Slackware 17 02-19-2008 03:59 PM
Printer fails to print: foomatic-rip stopped with status 1! robbyx Linux - Hardware 1 12-15-2006 04:38 AM
cannot start cupsd: cupsd: Child exited with status 127! kpachopoulos Debian 0 08-25-2006 09:00 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration