[CentOS] Centos 7 using cups with cups-lpd loaded getting print jobs from an Sco Unix lpd system

Thu Sep 17 23:44:30 UTC 2015
Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg at imag.fr>


On 09/17/2015 11:52 PM, Shawn Parks - CMAC wrote:
> Centos users,
>    I new to Centos 7 and my problem is the following:
> I am using my Centos 7 system as a print server in a warehouse.
> Using cups for the print queue's.  Which I can print to the printers
> find from the Centos 7 machine.
>
> The hosting system is Sco Unix using lpd printing.  This machine is
> in Illinois and the warehouse / Centos 7 machine is in Arizona.
>
> I have loaded "cups-lpd" using yum and it seems fine.  I have
> also setup "/etc/xinetd.d/cups-lpd"
>
> Following is a "netstat -tanp |grep -i listen"
>
> tcp        0      0 0.0.0.0:22              0.0.0.0:* LISTEN      1090/sshd
> tcp        0      0 0.0.0.0:631             0.0.0.0:* LISTEN
> 1096/cupsd
> tcp        0      0 127.0.0.1:25            0.0.0.0:* LISTEN
> 1671/master
> tcp6       0      0 :::515                  :::* LISTEN      1095/xinetd
> tcp6       0      0 :::22                   :::* LISTEN      1090/sshd
> tcp6       0      0 :::631                  :::* LISTEN      1096/cupsd
> tcp6       0      0 ::1:25                  :::* LISTEN      1671/master
>
> I notice that "port 515" is only listening on tcp6 not tcp.
>
> Question:  could this be my problem?  and how can I get "port 515" to be
> listened to on tcp?
>
> my Sco Unix print queue "status" file says "waiting for gate to come up".
>
> I have had the local hardware person verify that the router is "port
> forwarding" port 515
> to my Centos 7 system.
>
> Help in this matter would be greatly appreciated.

tcp6 is just TCP over IPv6.
I suspect your /etc/xinetd.d/cups-lpd has a setting specifying IPv6 
rather than IPv4?