LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-29-2003, 12:29 PM   #1
Tafta
Member
 
Registered: Jan 2003
Location: Bandung, Indonesia
Distribution: Mandrake, SUSE, RedHat
Posts: 55

Rep: Reputation: 15
Question lpd can't bind to port 515 (RH 8)


Hi guys,

My computer :
Celeron 433 @500, 128 MB PC100 RAM, HD 20 GB Q, Elsa Erazor III LT (Riva TNT2 M64), printer : canon S100SP USB.

My problem :
lpd won't start, can't bind to port 515. I change the port to 516 in /etc/services and it works fine. Later it failed again. What's going on ??

Thanks
 
Old 01-30-2003, 09:21 PM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Re: lpd can't bind to port 515 (RH 8)

Quote:
Originally posted by Hitokiri
Hi guys,

My computer :
Celeron 433 @500, 128 MB PC100 RAM, HD 20 GB Q, Elsa Erazor III LT (Riva TNT2 M64), printer : canon S100SP USB.

My problem :
lpd won't start, can't bind to port 515. I change the port to 516 in /etc/services and it works fine. Later it failed again. What's going on ??

Thanks
What does `netstat -anp | grep 515' show?

I see
Code:

tcp     0   0 0.0.0.0:515       0.0.0.0:*      LISTEN   597/lpd Waiting
Can you post your output?
 
Old 02-02-2003, 11:26 AM   #3
rdmapes
LQ Newbie
 
Registered: Feb 2003
Location: Vermont
Distribution: Fedora4,6 - Ubuntu
Posts: 8

Rep: Reputation: 0
Cannot Bind to lpd port 515

I am having the same issue. The response message I get is as follows.

tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN 705/xinetd

What should I see at this point? Do I need to change the 515 in the /etc/services file to 705?

Thanks,
Ron
 
Old 02-28-2003, 09:58 AM   #4
econrad
LQ Newbie
 
Registered: Feb 2003
Posts: 2

Rep: Reputation: 0
can't bind 515...

did this ever get sorted out? i tried the "change to 516" route which worked for a bit, but i don't like that i can't bind to 515 for some unknown reason...

my netstat -anp | grep 515 gives something similar to the one above with xinetd, not the lpd Waiting message... confused.

what's up with RH 8.0... this never happened to me with previous version of RH.

Last edited by econrad; 02-28-2003 at 10:01 AM.
 
Old 02-28-2003, 10:31 AM   #5
econrad
LQ Newbie
 
Registered: Feb 2003
Posts: 2

Rep: Reputation: 0
can't bind 515

here's the answer (at least on my machine)...

> > > There was a bug that
> > > was fixed prior to release where the cups-lpd service would default to
> > > 'on'. Use \'chkconfig cups-lpd off; service xinetd reload\' to fix
> > > that.

it seems this bug WAS NOT corrected in the RH 8.0 release. I ran the chkconfig and restarted everything and could bind fine to 515... everything is good now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LPD won't run...(515/tcp port) j-charles Linux - Hardware 1 12-19-2003 05:55 AM
lpd port 515 reopens itself debaholic Debian 2 11-26-2003 09:29 AM
Cannot bind to port 515 to print jitz Linux - General 1 11-17-2003 04:17 AM
Cups defaults to on during boot / lpd can't bind port 515 ehdwuld Linux - Software 2 09-29-2003 07:39 PM
Cannot bind lpd port 515 rdmapes Linux - Newbie 3 09-19-2003 05:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration