View previous topic :: View next topic |
Author |
Message |
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Thu Jan 17, 2013 7:50 pm Post subject: lost cups port [SOLVED] |
|
|
I probably did something stupid, but I just can't figure it out
I haven't printed anything in a long time so I can't be sure when this surfaced.
Naturally I had to print something important this morning so maybe it's just the urgency sensor detector, but I don't know how to fix it
Cupsd is running yet I can't access localhost:631 nor does it show with netstat.
Code: | gentoo-gateway ~ # pgrep -l cups
5346 cupsd
gentoo-gateway ~ # rc-update|grep cups
cupsd | default
gentoo-gateway ~ # rc-status|grep cups
cupsd [ started ]
gentoo-gateway ~ # netstat -tanp|grep 631
gentoo-gateway ~ #
Calculating dependencies... done!
[ebuild R ] net-print/cups-1.6.1 USE="X acl dbus filters java pam python ssl static-libs threads -avahi -debug -gnutls -kerberos (-selinux) -systemd -usb -xinetd -zeroconf" LINGUAS="-ca -es -ja" 0 kB
|
The last update to cups, according to genlop, was Wed Aug 1 15:02:44 2012.
I would appreciate any clues since I've exhausted mine _________________ Good luck
Since installing gentoo, my life has become one long emerge
Last edited by BillWho on Fri Jan 18, 2013 2:08 pm; edited 1 time in total |
|
Back to top |
|
|
rainer Apprentice
Joined: 17 Feb 2005 Posts: 251 Location: Bonn, Germany
|
Posted: Fri Jan 18, 2013 11:43 am Post subject: |
|
|
Could you post your /etc/cups/cupsd.conf?
I'm not really an expert but I have had many troublesome encouters with cups over the years when they once again without notice changed the default settings. Maybe I discover something familiar... |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Fri Jan 18, 2013 2:08 pm Post subject: |
|
|
rainer,
Thanks for looking
Well, what I found in cupsd.conf and was quite surprised to see it was:
Code: | Listen /var/run/cups/cups.sock
Listen /var/run/cups/cups.sock
|
Two lines listening to the socket so a replaced the first line with Listen localhost:631, restarted cupsd and I found the port. Somehow those lines changed to:
Code: | Port 631
Listen /var/run/cups/cups.sock
|
so I guess that's what it wants now.
Another problem I found after the port was restored is error while loading shared libraries: libqpdf.so.8: cannot open shared object file: No such file or directory in /var/log/cups/error_log.
This was easily fixed with a revdep-rebuild and then I finally got that document printed
Thanks again rainer _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
|