Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lost cups port [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Jan 17, 2013 7:50 pm    Post subject: lost cups port [SOLVED] Reply with quote

I probably did something stupid, but I just can't figure it out :oops:

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 :D

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 :wink:

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
View user's profile Send private message
rainer
Apprentice
Apprentice


Joined: 17 Feb 2005
Posts: 251
Location: Bonn, Germany

PostPosted: Fri Jan 18, 2013 11:43 am    Post subject: Reply with quote

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
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Fri Jan 18, 2013 2:08 pm    Post subject: Reply with quote

rainer,

Thanks for looking :D

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 :D

Thanks again rainer :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum