[CentOS] cupsd can not start

Sat Mar 11 15:49:03 UTC 2006
David Johnston <david at littlebald.com>

On Fri, 2006-03-10 at 14:58 -0500, lnthai2002 at aim.com wrote:
> Hi,
> I have just reinstalled centos 4.2 on my comp and update everything 
> (not the kernel) from update repository. The kernel has been updated 
>  from centosplus repo. When i try to start cups, i get the followring 
> error:
> Starting cups: cupsd: Child exited with status 98!
>                                                            [FAILED]
> How can i fix this problem?
> Thai

Look in /var/log/cups/error_log for a description of the problem.  When
I've gotten this error lately, I've seen this line:

"StartListening: Unable to bind socket for address
 c0a800fe:631 - Address already in use."

Looking in /etc/cups/cupsd.conf, I see the following:

Listen 10.0.0.116:631
Listen 10.0.0.116:631
Listen 127.0.0.1:631

Getting rid of the duplicate Listen line fixes the problem.  I've
noticed this problem whenever one of the assistant admins here uses
system-config-printer.

-David