On Mon, Apr 1, 2013 at 9:38 PM, Ed Greshko <Ed.Greshko@xxxxxxxxxxx> wrote:
On 04/02/13 12:24, Richard Vickery wrote:
>
>
> I had the printer unplugged on doing this; I took the computer into the other room.> udp 0 0 0.0.0.0:631 <http://0.0.0.0:631> 0.0.0.0:* 828/cupsd
>
> # netstat -nap | grep cups
> unix 2 [ ACC ] STREAM LISTENING 15237 1/systemd /var/run/cups/cups.sock> > # "$Id: cupsd.conf.in <http://cupsd.conf.in> 9407 2010-12-09 21:24:51Z mike $"
> unix 3 [ ] STREAM CONNECTED 24575 828/cupsd
> unix 3 [ ] STREAM CONNECTED 19324 828/cupsd
> unix 3 [ ] STREAM CONNECTED 18454 828/cupsd
>
>
> # diff /etc/cups/cupsd.conf /etc/cups/cupsd.conf.default
> 1a2,10
> > #
> > #Well, cupsd isn't listening on 127.0.0.1 which explains why you can't connect to it....
> > # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
> > # complete description of this file.
> > #
> >
> > # Log general information in error_log - change "warn" to "debug"
> > # for troubleshooting...
>
I've never had to modify the cupsd.conf but it would seem yours has been....
I would....
cd /etc/cups
mv cupsd.conf cupsd.conf-old
cp cupsd.conf.default cupsd.conf
restorecon -F cupsd.conf
systemctl restart cups
netstat -nap | grep cups
You should see....
[root@meimei cups]# netstat -nap | grep cups
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 14946/cupsd
tcp6 0 0 ::1:631 :::* LISTEN 14946/cupsd
udp 0 0 0.0.0.0:631 0.0.0.0:* 14946/cupsd
unix 2 [ ACC ] STREAM LISTENING 17434 1/systemd /var/run/cups/cups.sock
unix 3 [ ] STREAM CONNECTED 6184339 14946/cupsd
unix 3 [ ] STREAM CONNECTED 5518265 14946/cupsd
unix 3 [ ] STREAM CONNECTED 5518583 14946/cupsd
FWIW, on my system where no modifications were done....
[root@meimei cups]# ll cupsd.conf*
-rw-r-----. 1 root lp 4548 Dec 4 20:40 cupsd.conf
-rw-r-----. 1 root lp 4548 Dec 4 20:40 cupsd.conf.default
Here's what I get after all this:
netstat -nap | grep cups
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 3716/cupsd
tcp6 0 0 ::1:631 :::* LISTEN 3716/cupsd
udp 0 0 0.0.0.0:631 0.0.0.0:* 3716/cupsd
unix 2 [ ACC ] STREAM LISTENING 15237 1/systemd /var/run/cups/cups.sock
unix 3 [ ] STREAM CONNECTED 53621 3716/cupsd
unix 3 [ ] STREAM CONNECTED 54288 3716/cupsd /var/run/cups/cups.sock
unix 3 [ ] STREAM CONNECTED 53234 3716/cupsd
unix 3 [ ] STREAM CONNECTED 53245 3716/cupsd
unix 3 [ ] STREAM CONNECTED 54287 3716/cupsd /var/run/cups/cups.sock
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org