Telnet -s localhost 4321 not working

Horimoto.Yuji HorimotoY at ConEdCom.com
Fri Mar 11 16:54:43 EST 2005


Hyunseog,
 
I appreciate you helping me on this.  So I ran as root and then I decided to put rwhois in my /etc/inetd.conf.  I also changed my rwhoisd.conf server-type setting to inetd.  I typed netstat -a and see that rwhois is boudn to tcp4.   It seems as if it works. When switching to daemon mode and running rwhoisd manually, netstat -a shows tcp6.  Strange.
 
Anyways, I was able to telnet localhost 4321 and it connects, however, nothing happens when I type -xfer 192.168.192.0/19 (as an example).  I'd try using the rwhois client by typing rwhois -s localhost 192.168.192.0/25 and the following output shows:
 
Improperly formatted record line
 
Is there a problem with the indexing of the records?  Aside from this, what other way is there to start up the rwhoisd daemon without using inetd?  
 
Yuji


[Horimoto.Yuji]  -----Original Message-----
From: Hyunseog Ryu [mailto:HRyu at norlight.com]
Sent: Friday, March 11, 2005 1:38 PM
To: Horimoto.Yuji
Cc: Hyunseog Ryu; rwhois at rwhois.net
Subject: RE: Telnet -s localhost 4321 not working



 Are you running as root?

it seems that rwhoisd failed to bind port 4321.

If you are running as root, you may check netstat -a to see whether it is binding to different port.

if so, you need to check the configuration file to set it up for right port.

if no, there is something wrong with binary.

You may check syslog.conf in /etc to collect all debug message to /var/log/all.log or something like that.

 

Originally it was bound to IPv6 address, but failed to bind to IPv4.

So binding to IPv4 was failed.

 

Hyun



"Horimoto.Yuji" <HorimotoY at ConEdCom.com>
Sent by: rwhois-bounces at rwhois.net
03/11/2005 12:23 PM EST

To: "Hyunseog Ryu" <HRyu at norlight.com>
cc: rwhois at rwhois.net
bcc: Hyunseog Ryu/Brookfield/Norlight
Subject: RE: Telnet -s localhost 4321 not working
 



Yes, I see the following line in the /etc/hosts.allow:

ALL : localhost 127.0.0.1 [::1] : allow

That shouldn't be a problem though since it had worked before and I had not modified the hosts.allow file.  

Yuji


-----Original Message-----
From: Hyunseog Ryu [ mailto:HRyu at norlight.com]
Sent: Friday, March 11, 2005 12:20 PM
To: Horimoto.Yuji
Cc: rwhois at rwhois.net
Subject: Re: Telnet -s localhost 4321 not working





You may already checked it.

Did you check /etc/hoss.allow to allow everything for localhost ?



Hyun





"Horimoto.Yuji" <HorimotoY at ConEdCom.com>
Sent by: rwhois-bounces at rwhois.net
03/11/2005 11:53 AM EST

To: rwhois at rwhois.net
cc: 
bcc: Hyunseog Ryu/Brookfield/Norlight
Subject: Telnet -s localhost 4321 not working


All,

I am currently setting up an Rwhois Server on a FreeBSD 5.3 box.  At one point, I was successful in implementing the server. After moving the server and  running the daemon to test the server again, I receive the following message:

telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host

I did a netstat -ta and see that rwhois is listening for connections but it shows as tcp6.  I tried a ./configure --disable-ipv6 but does not work.  Any ideas on how to get my box running?

Best Regards,
Yuji

_______________________________________________
Rwhois mailing list
Rwhois at rwhois.net
https://lists.verisignlabs.com/mailman/listinfo/rwhois

_______________________________________________
Rwhois mailing list
Rwhois at rwhois.net
https://lists.verisignlabs.com/mailman/listinfo/rwhois

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.verisignlabs.com/pipermail/rwhois/attachments/20050311/34969121/attachment-0001.html


More information about the Rwhois mailing list