Thread View: news.software.nntp
3 messages
3 total messages
Started by Troy Piggins
Wed, 07 Jun 2006 04:32
leafnode2 hostname
Author: Troy Piggins
Date: Wed, 07 Jun 2006 04:32
Date: Wed, 07 Jun 2006 04:32
44 lines
2128 bytes
2128 bytes
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? 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. -- Troy Piggins RLU#415538 <http://counter.li.org> Bash joke: # gawk; grep; unzip; touch; finger; mount; fsck; gasp; yes; umount; sleep
Re: leafnode2 hostname
Author: 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
Re: leafnode2 hostname
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads