I am trying to configure lpd in xinetd.

I am trying to run lpd from xinetd in Redhat 8.0.

When I manually launch lpd from command line and send a
print job, it works fine (confirming that printer setup and
lpd are working).

When I shut down lpd and activate lpd entry in xinetd.conf

I get error on print:

> sending job 'user@host+NNN' to printer@localhost
> connecting to 'localhost', attempt 1
> cannot open connection to localhost - Connection refused

xinetd.conf entry is:

service lp
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/lpd
nice = 10
instances = 10
}

I have made the following entries in /etc/services:

lp 515/tcp
lp 515/udp

After restart of xinetd, netstat and nmap show port 515 is listening:

# netstat -tap
tcp 0 0 *:printer *.* LISTEN 1074/xinetd

#nmap localhost
515/tcp open printer

I have tried setting access control in xinetd.conf to
allow_from 0.0.0.0 - just to make sure that the problem isn't
caused by an IP restriction.

Other xinetd services (like ftp and sshd) work fine.

I can't think of anything else to try, nor can I think of special
logging I might do to help identify the problem. None of
the current logs /var/log/messages are giving any additional
info to help.

Thanks in advance,

Jay




-----------------------------------------------------------------------
Jay Thompson
Support Systems Analyst, Sr.
Northern Arizona University
College of Ecosystem Science and Management
[EMAIL PROTECTED]
(520) 523-8033



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to