Article View: news.software.nntp
Article #73686Re: leafnode2 hostname
From: Paul Colquhoun
Date: Wed, 07 Jun 2006 05:59
Date: Wed, 07 Jun 2006 05:59
71 lines
2938 bytes
2938 bytes
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.
| 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
================================================
--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
Technical Details
Message-ID:
<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!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!fe06.news.easynews.com.POSTED!andor.dropbear.id.au!not-for-mailReferences:
<20060607143114@usenet.piggo.com>Show Full Headers
Complete Article Headers
Message-ID: <slrne8cqev.ebu.postmaster@andor.dropbear.id.au> Subject: Re: leafnode2 hostname Date: Wed, 07 Jun 2006 05:59:06 GMT From: Paul Colquhoun <postmaster@andor.dropbear.id.au> References: <20060607143114@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!newsfeed2.easynews.com!easynews.com!easynews!easynews-local!fe06.news.easynews.com.POSTED!andor.dropbear.id.au!not-for-mail Newsgroups: news.software.nntp Reply-To: <postmaster@andor.dropbear.id.au> User-Agent: slrn/0.9.8.1 (Linux) Lines: 71 X-Complaints-To: abuse@easynews.com Organization: EasyNews, UseNet made Easy! X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.