[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] Re: leafnode2 hostname problems



* Troy Piggins <troy@xxxxxxxxx> :
> * Matthias Andree <matthias.andree@xxxxxx> :
> > Troy Piggins <troy@xxxxxxxxx> writes:
[snip]
> > It's supposed to work in leafnode-2, too. There's a bug however that
> > prevents it from working properly. New snapshot in a minute.
> 
> Wow - thanks for the fast turnaround!  Sorry it looks like a mailed
> a whole bunch of emails same time last night, but I actually had a
> problem with postfix deferring mails for some reason and I only
> fixed it last night.
> 
> Hmm.  Applied the patch.  Recompiled, make installed, restarted
> xinetd:
> 
> $ cat /etc/hosts|grep armadillo
> 127.0.0.1 armadillo.piggo.dyndns.org localhost
> 192.168.0.1 armadillo dns mail www news
> 
> $ telnet armadillo.piggo.dyndns.org nntp
> Trying 127.0.0.1...
> Connected to armadillo.piggo.dyndns.org.
> Escape character is '^]'.
> 200 Leafnode NNTP daemon, version 2.0.0.alpha20060608a at
> armadillo.piggo.dyndns.org
> ^]
> telnet> Connection closed.
> 
> $ sudo fetchnews -vvv
> fetchnews mode: get articles, get headers, get bodies, post articles
> Internal error: must not try to lock with local host name
> "armadillo"
> fetchnews: lockfile /var/spool/news/leaf.node/lock.file exists,
> abort
> 
> $ sudo ls -l /var/spool/news/leaf.node/
> total 2580
> -rw------- 1 news news       0 2006-06-07 16:05 :active.read
> -rw-r----- 1 news news     357 2006-06-08 09:00
> freenews.iinet.net.au
> -rw-rw---- 1 news news 2632583 2006-06-08 09:00 groupinfo
> -rw------- 1 news news       0 2006-06-07 16:05
> last:freenews.iinet.net.au:0
> 
> freenews.iinet.net.au is my upstream server.
> 
> Changed /etc/hosts:
> 
> $ cat /etc/hosts
> 127.0.0.1	localhost
> 192.168.0.1 armadillo.piggo.dyndns.org armadillo dns mail www news
> 
> $ cat /etc/hosts.allow | grep leafnode
> leafnode: 127.0.0.1 192.168.0.1
> 
> Restarted dnsmasq and xinetd.
> 
> $ telnet armadillo.piggo.dyndns.org nntp
> Trying 192.168.0.1...
> Connected to armadillo.piggo.dyndns.org.
> Escape character is '^]'.
> Connection closed by foreign host.

I should have added this:

$ telnet 127.0.0.1 nntp
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
200 Leafnode NNTP daemon, version 2.0.0.alpha20060608a at armadillo.piggo.dyndns.org 

telnet> Connection closed.

So seems to be working there.  Fetchnews worked also, so it just
seems to be telnetting armadillo.piggo.dyndns.org.

Setting NNTPSERVER to armadillo.piggo.dyndns.org slrn wouldn't
connect.

Setting NNTPSERVER to localhost works.

-- 
Troy Piggins
  ,-o   Ubuntu v6.06 (Dapper Drake): kernel 2.6.15-23-server, 
 o   )  postfix 2.2.4, procmail 3.22, mutt 1.5.11i,
  `-o   slrn 0.9.8.1, vim 6.4
-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/