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

terry kj5zr at yahoo.com
Tue Oct 7 13:10:04 CDT 2003



MadHat wrote:
> 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 

netstat -ap
shows:
udp        0    0 *:631    *:*       1295/cupsd

At least NOW it does.

But NOW it appears I have some sort of permission or ownership problem:

After trying to print test page from    localhost:631   cups 
configuration page I receive following error:

Forbidden
You don't have permission to access the resource on this server.



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

-- 
Please use THIS eMail address from now on.
  <><   (I'm dropping the others.)    <><




More information about the Discuss mailing list