You are not logged in.

#1 2009-11-14 05:48:03

jeffreyldavidson
Member
Registered: 2008-09-05
Posts: 47

CUPS will not start

I have CUPS in my Daemons but when it goes to start if fails. I cannot manually start it, the message says just 'fail.' I do not have a USB printer, a wireless one. But the CUPS modual will not load. I can see the printer in the HP setup program but it will not install the printer telling me to restart CUPS but it will not start.

I have tried everything...thanks.

Offline

#2 2009-11-14 05:55:30

Peasantoid
Member
Registered: 2009-04-26
Posts: 928
Website

Re: CUPS will not start

You didn't make this clear in your post -- did you use /etc/rc.d/cups or start cupsd by hand? The latter option generally gives you more information than the rc.d scripts.

Offline

#3 2009-11-14 06:06:52

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: CUPS will not start

If there is not enough information in /var/log/messages.log or /var/log/daemon.log, you can edit /etc/cups/cupsd.conf and set LogLevel from "warn" to "debug".

Offline

#4 2009-11-14 06:25:40

jeffreyldavidson
Member
Registered: 2008-09-05
Posts: 47

Re: CUPS will not start

Thanks for the reply. There is not a message in the Var -> message log. I have cups in the daemons line in the rc.conf. The only message I get is that if fails. Then if I try to manually start cups it fails also with no other message.

Offline

#5 2009-11-14 06:27:39

jeffreyldavidson
Member
Registered: 2008-09-05
Posts: 47

Re: CUPS will not start

I did find this message in the cups log...

Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported

Offline

#6 2009-11-23 04:57:31

sixblades
Member
Registered: 2009-11-23
Posts: 1

Re: CUPS will not start

I was getting similar error messages in my log file and found a solution that worked for me. I'm not sure if you're having the same problem or just something similar, but you might want to give this a try.

I was fairly sure that CUPS was having problems with handling SSL certificates, so I decided to try to generate them manually.

Here's the command I used to generate the certificates (note that you need openssl installed for this to work):

openssl req -new -x509 -keyout /etc/cups/ssl/server.key -out /etc/cups/ssl/server.crt s 365 -nodes

After that, I made sure all instances of CUPS were killed with:

killall cups

Alternatively, you can do

ps aux | grep cups

Then find the job ID for the CUPS process(es) and kill it/them with

kill -9 <ID_goes_here>

Then start CUPS up again with

/etc/rc.d/cups start

or with

/usr/bin/cupsd

Offline

Board footer

Powered by FluxBB