LinuxQuestions.org
Review your favorite Linux distribution.
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 07-20-2008, 12:23 PM   #1
jokingelephant
LQ Newbie
 
Registered: Jun 2008
Posts: 14

Rep: Reputation: 0
rinetd: couldn't bind to address


Hi all,

I have rinetd installed on my box but i encounter the following error message when i execute "/usr/sbin/rinetd". *.*.*.* is the ip address of the box.

rinetd: couldn't bind to address *.*.*.* port 80

Does anyone encounter this error before? Could any kind souls guide me on the steps to resolve this? I need need to redirect traffic on port 80 to another box.

Thanks
 
Old 07-20-2008, 11:12 PM   #2
jokingelephant
LQ Newbie
 
Registered: Jun 2008
Posts: 14

Original Poster
Rep: Reputation: 0
anyone ??? =)
 
Old 07-21-2008, 01:51 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Something else is already listening on port 80 (apache or other webserver usually). The command below should tell you who is listening on that port (run as root).

Code:
root@webserver:~# netstat -l --numeric-ports -p |grep 80
tcp6       0      0 :::80                   :::*                    LISTEN     3114/httpd
root@webserver:~#

Offtopic note:
In general (on forums), it's not appreciated if you bump your post within 24 hours (give it chance to go around the world).
Further at LQ, you post get's bumped automatically for two days if it does not receive replies. As LQ also provides an option to search for 0 reply posts (which some people use), you've just shot yourself in the foot.

Last edited by Wim Sturkenboom; 07-21-2008 at 02:15 AM. Reason: added netstat code
 
Old 07-21-2008, 06:53 AM   #4
jokingelephant
LQ Newbie
 
Registered: Jun 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Hi,

I execute "netstat -l --numeric-ports -p |grep 80"

[root@localhost log]# netstat -l --numeric-ports -p |grep 80
tcp 0 0 x.x.x.x:80 *:* LISTEN 6300/rinetd

Please advise.
Thanks
 
Old 07-21-2008, 07:49 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
That shows that rinetd is already listening on that port on IP address x.x.x.x (so it's already running).
 
Old 07-21-2008, 12:52 PM   #6
jokingelephant
LQ Newbie
 
Registered: Jun 2008
Posts: 14

Original Poster
Rep: Reputation: 0
Hi,

Hmm is there any test case which i can perform to confirm that rinetd is running?

for example, i point a domain to the server running with rinetd, which redirect the port 80 traffic to the server hosted with that domain.

Thanks
 
Old 07-21-2008, 02:35 PM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
I don't know as I don't know rinetd (this is the first time I've heard about it). Maybe someone else here.
 
  


Reply


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
Could not bind to address 0.0.0.0:80 Linuxn00b Linux - Newbie 18 01-18-2012 12:59 AM
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443 bruvajon Linux - Software 34 11-30-2011 04:08 PM
bind: Address already in use lejeczek Linux - Kernel 1 11-01-2007 01:48 PM
about RINETD jp-lack Linux - General 0 07-10-2005 11:39 AM
bind : Address already in use sheni Linux - Networking 1 11-11-2004 01:41 PM


All times are GMT -5. The time now is 04:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration