Printing jobs

Ed Greshko Ed.Greshko at greshko.com
Tue Apr 2 04:38:51 UTC 2013


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. 
>
> #  netstat -nap | grep cups
> udp        0      0 0.0.0.0:631 <http://0.0.0.0:631>             0.0.0.0:*                           828/cupsd           
> unix  2      [ ACC ]     STREAM     LISTENING     15237    1/systemd            /var/run/cups/cups.sock
> 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
> > #
> > # "$Id: cupsd.conf.in <http://cupsd.conf.in> 9407 2010-12-09 21:24:51Z mike $"
> > #
> > # 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...
>

Well, cupsd isn't listening on 127.0.0.1 which explains why you can't connect to it.... 

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 at 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 at 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

-- 
>From now on, at least during winter time, Im going to blame all spelling an grammar erros on the cat sitting on my chest every time I sit down at the computer....


More information about the users mailing list