LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2003, 04:18 PM   #1
rdmapes
LQ Newbie
 
Registered: Feb 2003
Location: Vermont
Distribution: Fedora4,6 - Ubuntu
Posts: 8

Rep: Reputation: 0
Cannot bind lpd port 515


I am running rh8.0 and have configured my printer. I have a HP 630 Officejet. When I try to print a test job it bombs.
netstat -anp |grep 515
tcp 0 0 0.0.0.0:515 0.0.0.0:* LISTEN 706/xinetd
unix 3 [ ] STREAM CONNECTED 2515 994/gconfd-2

I noticed that the listen port changes as the process is restarted.
So I tried this and no prgress.

/etc/init.d/lpd restart
Stopping lpd: [FAILED]
Starting lpd: Fatal error - Cannot bind to lpd port '515'


Any thoughts, it could be useful to have a printer in the future.

Thanks
 
Old 02-05-2003, 10:50 PM   #2
Tafta
Member
 
Registered: Jan 2003
Location: Bandung, Indonesia
Distribution: Mandrake, SUSE, RedHat
Posts: 55

Rep: Reputation: 15
this is not an exact solution, but works sometime :
backup your /etc/service
Edit your /etc/service and change the 515 to 516 (usually 516 is idle)
restart xinetd then restart lpd
goodluck
 
Old 02-21-2003, 05:36 AM   #3
Anziano
LQ Newbie
 
Registered: Aug 2001
Distribution: RH 7.3
Posts: 8

Rep: Reputation: 0
Talking Cannot Bind LPD port 515

Hey rdmapes thanks for the info on this problem. I had the same problem with my Deskjet 820cse. I followed the steps and resolved the problem.

Thanks

 
Old 09-19-2003, 05:49 AM   #4
wjn
Member
 
Registered: Sep 2003
Location: midwest
Distribution: RH8, RH9, Fedora
Posts: 54

Rep: Reputation: 15
Thanks, Hitokiri....

I changed the port, the service restarted, and I'm printing.

Much appreciated.
 
  


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
lpd can't bind to port 515 (RH 8) Tafta Linux - Distributions 4 02-28-2003 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:18 PM.

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