Article View: news.software.nntp
Article #73687Re: leafnode2 hostname
From: Troy Piggins
Date: Wed, 07 Jun 2006 06:08
Date: Wed, 07 Jun 2006 06:08
75 lines
3176 bytes
3176 bytes
* Paul Colquhoun wrote: > On 07 Jun 2006 04:32:58 GMT, Troy Piggins <usenet-0606@piggo.com> wrote: >| Just installed leafnode2 alpha. All config and filters set up, but >| having some trouble running fetchnews for the first time. I seem to >| remember this problem when I installed leafnode1 but can't find my >| solution. >| >| I read the FQDN FAQ for leafnode1, couldn't find one for leafnode2. >| >| -----8<----- >| $ sudo fetchnews -vvv >| >| Leafnode must have a fully-qualified domain name, >| not just "localhost". >| Edit your /etc/hosts file to add a fully qualified domain name. >| -----8<----- >| >| -----8<----- >| $ cat /etc/hosts >| 127.0.0.1 localhost armadillo >| #127.0.1.1 armadillo >| >| 192.168.0.1 piggo.dyndns.org >| -----8<----- >| >| Why is it picking up localhost over the piggo entry? > > What does 'uname -n' show as the host name of your box? It's possibly > using that name to do a lookup in /etc/hosts. [troy@armadillo:~]$ uname -n armadillo >| I also added hostname to /etc/leafnode/config: >| >| -----8<----- >| $ cat /etc/leafnode/config|grep "hostname =" >| # hostname = host.domain.country >| hostname = piggo.dyndns.org >| -----8<----- >| >| But same error message at fetchnews. >| >| How come it's not using the config directive? >| >| PS - I am the only user, it's just a local server, and my slrn >| generates it's own unique M-IDs. > > I'm using leafnode2, and it seems to work for me. > >================================================ > tux ~ # uname -n > tux > > tux ~ # cat /etc/hosts > 127.0.0.1 localhost > 192.168.0.42 tux.andor.dropbear.id.au tux > > tux ~ # fgrep 'hostname =' /etc/leafnode/config > # hostname = host.domain.country > hostname = andor.dropbear.id.au >================================================ Not sure what's going on there. I changed /etc/hosts to this and it seems to work: 127.0.0.1 armadillo.piggo.dyndns.org localhost Thanks. -- Troy Piggins RLU#415538 <http://counter.li.org> Bash joke: # gawk; grep; unzip; touch; finger; mount; fsck; gasp; yes; umount; sleep
Technical Details
Message-ID:
<20060607160502@usenet.piggo.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mailReferences:
<20060607143114@usenet.piggo.com> <slrne8cqev.ebu.postmaster@andor.dropbear.id.au>Show Full Headers
Complete Article Headers
Message-ID: <20060607160502@usenet.piggo.com> Subject: Re: leafnode2 hostname Date: Wed, 07 Jun 2006 06:08:07 +0000 From: Troy Piggins <usenet-0606@piggo.com> References: <20060607143114@usenet.piggo.com> <slrne8cqev.ebu.postmaster@andor.dropbear.id.au> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail Newsgroups: news.software.nntp Reply-To: usenet-0606@piggo.com User-Agent: slrn/0.9.8.1pl1 (Debian) Lines: 75 NNTP-Posting-Host: 203.206.109.220 X-Trace: 1149660487 per-qv1-newsreader-01.iinet.net.au 26249 203.206.109.220