Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: Localhost connection refused
- To: tlug@example.com
- Subject: Re: Localhost connection refused
- From: Thomas O'Dowd <tom@example.com>
- Date: Mon, 9 Jul 2001 21:24:30 +0900
- Content-Disposition: inline
- Content-Type: text/plain; charset=us-ascii
- Delivered-To: tlug@example.com
- In-Reply-To: <20010709113935.EA580124005@example.com>; from dehoog@example.com on Mon, Jul 09, 2001 at 08:39:35PM +0900
- List-Help: <mailto:tlug-request@example.comsubject=help>
- List-Post: <mailto:tlug@example.com>
- List-Subscribe: <mailto:tlug-request@example.comsubject=subscribe>
- List-Unsubscribe: <mailto:tlug-request@example.comsubject=unsubscribe>
- Old-Return-Path: <tom@example.com>
- References: <20010708202945.E1215@example.com> <0107082058480F.13271@example.com> <87lmlznonj.wl@example.com> <20010709113935.EA580124005@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <ioI37B.A.H5H.9MaS7@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: Thomas O'Dowd <tom@example.com>
- User-Agent: Mutt/1.2.5i
John, You're running RH 7.1. There is nothing difficult about it, honest :) At this stage I know more about leafnode, ie it runs from inetd services. On RH 7.1, inetd is not used but rather xinetd is. So /etc/inetd.conf is the wrong file unless you are running inetd. Ok, I'll assume you want to get it running on xinetd, and as we've seen, your firewall is ipchains and accepting everything, so its a config problem. The trouble with following docs is that sometimes they're for a different setup. Okay you've installed leafnode from source right? All you have to do is make sure xinetd is running and knows about the service to connect from localhost on the default RH 7.1 install. # ps -aef | grep '[x]inetd' is it running? If not this is your first problem, to solve. I'll assume it is running for now, as it is by default. Lets check the config file for xinetd next. Where did you put the new entry to start leafnode? You can either modify /etc/xinetd.conf or put it in its own file in /etc/xinetd.d? Is it there? Is it disabled? Without it enabled here xinetd won't know anything about it. Here is what I have for finger, note that it is disabled... # cat /etc/xinetd.d/finger # default: on # description: The finger server answers finger requests. Finger is \ # a protocol that allows remote users to see information such \ # as login name and last login time for local users. service finger { socket_type = stream wait = no user = nobody server = /usr/sbin/in.fingerd disable = yes } So, add you own file for leafnode and make sure disable = no. After, you put it in there, you'll have to tell xinetd to look for it. On RH, this is easy... # /etc/rc.d/init.d/xinetd reload Now check /var/log/messages and look for error messages from the reload. It should tell you that one new service was added. Next check that its listening with netstat again? # netstat -l -A inet Does it mention nntp or port 119? I assume this is the default port for this program to run on... If it is, you should be able to connect to it now. If it doesn't work, please tell us exactly what doesn't work and perhaps include log file output and the output of netstat/ps etc which should help us. You've been very vague so far just saying that you followed the instructions and its not working. Be more specific and then we will. Good luck! Tom. On Mon, Jul 09, 2001 at 08:39:35PM +0900, John De Hoog wrote: > Takeshi Hakamata <tkh@example.com> wrote: > > At Sun, 8 Jul 2001 20:58:48 +0900, > John De Hoog wrote: > > > > The leafnode config file itself says nothing about who may access > > localhost; it only controls access to the remote servers. I have > > /etc/nntpserver set to localhost. I have /etc.hosts.allow set to > > "leafnode localhost". I've followed the installation instructions to the > > letter, and fetchnews works fine. The problem that remains is lack of > > permission to access localhost, even from root. > > I use leafnode, though I use debian unstable. > I believe that leafnode is invoked by inetd. Take a look at > /etc/inetd.conf. if the nntp entry is not commented out, > leafnode is invoked by inetd. > > It's set as I explained earlier, exactly as described in the INSTALL > file. > > Then, you may want to check /etc/hosts.{allow,deny} files. > These files control how tcpd restricts the access to specific daemon. > Make sure that there is 'leafnode: ALL' entry in hosts.deny and > 'leafnode: 127.0.0.1' entry in hosts.allow. > > Yes, these are set, too. But I get Connection refused when I try to > access localhost or 127.0.0.1 from my NNTP client. Any NNTP client. > > I've set up local servers on WinNT and Win2K with no problem. I don't > understand what's going on here. None of the suggestions made so far > have worked, I'm afraid, since I had already followed all the > instructions that come with the leafnode package. > > -- > John De Hoog, Tokyo <dehoog@example.com> > > > > ----------------------------------------------------------------------- > Next Technical Meeting: Sat, July 14 13:30- > Next Nomikai Meeting: Fri, Aug 10 19:30- Tengu Tokyo Eki-Mae > ----------------------------------------------------------------------- > more info: http://www.tlug.gr.jp Sponsor: Global Online Japan > -- Thomas O'Dowd. - Nooping - http://nooper.com tom@example.com - Testing - http://nooper.co.jp/labs
- Follow-Ups:
- Re: Localhost connection refused
- From: John De Hoog <dehoog@example.com>
- References:
- Re: Localhost connection refused
- From: Jonathan Q <jq@example.com>
- Re: Localhost connection refused
- From: John De Hoog <dehoog@example.com>
- Re: Localhost connection refused
- From: Takeshi Hakamata <tkh@example.com>
- Re: Localhost connection refused
- From: John De Hoog <dehoog@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: RAID questions
- Next by Date: Re: Enabling Fast Ethernet
- Prev by thread: Re: Localhost connection refused
- Next by thread: Re: Localhost connection refused
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links