[NTLUG:Discuss] Fatal error - Cannot bind to lpd port '515'

MadHat madhat at unspecific.com
Tue Oct 7 12:47:30 CDT 2003


On Tue, 2003-10-07 at 12:28, terry wrote:
> Paul Ingendorf wrote:
> > Your right I should have bullet pointed them to avoid confusion.
> > #1 You need to be root
> > #2 Check if something is already running on that port.
> > 
> > Judging by the output you sent the second option was the case.  It looks
> > like you have something setup in xinetd that is binding to the port.  The
> > easy way to find what is binding to that port would be to grep for it.
> > 
> > grep 515 /etc/xinetd.d/*
> 
> grep 515 /etc/xinetd.d/*
> returns nothing.

as root do a 
# netstat -ap 

It should list several LISTENing processes, and on the line under it
will have a pid/process to tell you what is listening.  My lpd runs from
an init script and not via inetd, BTW.


-- 
MadHat at Unspecific.com
`But I don't want to go among mad people,' Alice remarked.
`Oh, you can't help that,' said the Cat: `we're all mad here...'
   -- Lewis Carroll - _Alice's_Adventures_in_Wonderland_




More information about the Discuss mailing list