I have never been able to get cups to work properly since CentOS 4.x (and am now on 5.2).
When I try to "service start cups", cupsd immediately starts taking 100% of the cpu. Attaching strace to it shows no system calls happening. I have tried uninstalling and reinstalling cups to get fresh config files. My printers.conf is empty.
This is on a completely updated x86_64 CentOS 5.2 desktop system running gnome. There are no local printers attached the the box. We have a couple of networked HP printers and a Canon. I have not added any of these printers to the configuration. A lot of Googling has not turned up any help. Have you seen this problem? Any suggestions?
Thanks much, Dan
Hello,
have you installed fresh centos 5.2 or upgraded it from previous one ? it creates a problem in some services if any one upgrading the OS from old version to new version.
well according to my opinion you should uninstall cupsd with their dependencies and reinstall it. well i am also working with cups and it s work well with local and N/W printers.
On Mon, Jul 28, 2008 at 11:05 AM, Dan Halbert halbert@everyzing.com wrote:
Is that a problem with the 64 bit version of CUPS? There is no problem with the 32 bit version of CUPS. I have it running on my desktop, without any problems. And, it runs on GNOME without any problems. Will the 32 bit version of CUPS run on your box?
cupsd (pid 2232) is running...
On Mon, Jul 28, 2008 at 10:00 AM, Lanny Marcus lmmailinglists@gmail.com wrote:
I have absolutely no problems with cups on my x86_64 CentOS 5.2....
HTH (realizing that it may not).
mhr
Hey,
lsof -p 2232 and show the output.
--- Eduardo Silvestre nfsi telecom, lda.
eduardo.silvestre@nfsi.pt Tel. (+351) 21 949 2300 - Fax (+351) 21 949 2301 http://www.nfsi.pt/
----- Original Message ----- From: "MHR" mhullrich@gmail.com To: "CentOS mailing list" centos@centos.org Sent: Monday, July 28, 2008 7:15:09 PM GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re: [CentOS] cupsd takes 100% of cpu
On Mon, Jul 28, 2008 at 10:00 AM, Lanny Marcus lmmailinglists@gmail.com wrote:
I have absolutely no problems with cups on my x86_64 CentOS 5.2....
HTH (realizing that it may not).
mhr _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thanks to all for the suggestions. I did do lsof on the process and saw nothing interesting (just libraries). Attaching gdb to the process showed that it appeared to be looping inside getservbyname().
However, after a little more thought, I "rm -rf"d /var/spool/cups/ (which had some stuff from 2007) and restarted. No more looping! Now I can configure my printers. We'll see whether it keeps working.
Dan