Article View: news.software.readers
Article #237784Re: installing leafnode on ubuntu
From: Indi
Date: Wed, 28 Oct 2009 04:23
Date: Wed, 28 Oct 2009 04:23
72 lines
3630 bytes
3630 bytes
On 2009-10-28, frank <frank@example.invalid> wrote:
> On Tue, 27 Oct 2009 06:37:31 +0000, Indi wrote:
>
>> On 2009-10-27, frank <frank@example.invalid> wrote:
>
>>> dan@dan-desktop:~$ sudo leafnode
>>> [sudo] password for dan:
>>> 503 Leafnode must have a unique fully-qualified domain name. Have its
>>> administrator fix the configuration. More detail is in the logs.
>>>
>>> Leafnode must have a fully-qualified and globally unique domain name,
>>> not just "dan-desktop".
>>> Edit your /etc/hosts file to add a unique, fully qualified domain name.
>>> "localhost.localdomain" or thereabouts will not work; it's qualified,
>>> but not unique.
>>> Please see the README-FQDN file for details.
>>>
>>> Killed
>>>
>>>
>>> So I went in to /etc/host and found:
>>>
>>> 127.0.0.1 localhost
>>> 127.0.1.1 dan-desktop
>>>
>>> # The following lines are desirable for IPv6 capable hosts
>>>::1 localhost ip6-localhost ip6-loopback
>>> fe00::0 ip6-localnet
>>> ff00::0 ip6-mcastprefix
>>> ff02::1 ip6-allnodes
>>> ff02::2 ip6-allrouters
>>> ff02::3 ip6-allhosts
>>>
>>> Can someone say a few words about what all this is?
>>>
>>> I think that I'm better off using Pan right now, as the configuration
>>> honestly consisted only of providing a server, username, and password.
>>>
>>>
>> The FQDN issue is actually easy to handle, just somewhat poorly
>> documented. Edit /etc/hostname to the name you want for your machine
>> (i.e., "dan-desktop"). Edit the top two lines of /etc/hosts to look
>> something like this:
>>
>> 127.0.0.1 localhost
>> 127.0.1.1 dan-desktop.dan-domain.com
>>
>> Of course, replace the "dan-desktop" and "dan-domain" with whatever
>> hostname and domain name you actually want to use. It helps if you own
>> the domain name of course, or you can just just use the domain name
>> assigned by your ISP.
>>
>> HTH,
>
> I thought I would go into /etc/hosts and change it to what you have above
> and was told that I lack permission. So I'm really believing that I need
> to use the passwd command, as John said:
>
> passwd [options] [LOGIN]
>
> I don't understand this syntax despite having read the man page. Can
> someone give a relevant example?
Use "sudo edit /etc/hosts" in the terminal, or "sudo nano /etc/hosts" for a
more simple editor. Sudo will give you root permissions after asking your
password. Or open a terminal and type "sudo su", then at the root prompt
("#") type "gedit" for a gui editor with root permissions.
--
Cheers,
indi
Technical Details
Message-ID:
<slrnhefhqd.2q80.indi@16x108.local>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!news2.euro.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<7kkjkvF378lh1U1@mid.individual.net> <Xns9CB05213B73FDDisorgfooToo@188.40.43.213> <7knh3uF3971d7U1@mid.individual.net> <slrnhed59b.2pbh.indi@16x108.local> <7kpungF3aogfrU3@mid.individual.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnhefhqd.2q80.indi@16x108.local> Subject: Re: installing leafnode on ubuntu Date: Wed, 28 Oct 2009 04:23:09 +0000 From: Indi <indi@16x108.local> References: <7kkjkvF378lh1U1@mid.individual.net> <Xns9CB05213B73FDDisorgfooToo@188.40.43.213> <7knh3uF3971d7U1@mid.individual.net> <slrnhed59b.2pbh.indi@16x108.local> <7kpungF3aogfrU3@mid.individual.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!news2.euro.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers,alt.os.linux.ubuntu Organization: the pond Lines: 72 Reply-To: indi@127.0.0.1 X-Trace: individual.net HoE20ZCA3e1lrPLKgVyFkQzi+RKvA7F6aNjn93RzF438ETdY90 Cancel-Lock: sha1:P3mgGF79oeeWldR3ttoNHMYQ63c= User-Agent: slrn/pre1.0.0-11 (Darwin)