Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-05-2003, 05:18 PM   #1
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* 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.

Old 02-05-2003, 11:50 PM   #2
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
Old 02-21-2003, 06:36 AM   #3
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.


Old 09-19-2003, 06:49 AM   #4
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:55 AM
lpd port 515 reopens itself debaholic Debian 2 11-26-2003 10:29 AM
Cannot bind to port 515 to print jitz Linux - General 1 11-17-2003 05:17 AM
Cups defaults to on during boot / lpd can't bind port 515 ehdwuld Linux - Software 2 09-29-2003 08:39 PM
lpd can't bind to port 515 (RH 8) Tafta Linux - Distributions 4 02-28-2003 11:31 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:04 AM.

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