FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 07-20-2010, 09:27 PM
Henry Wyatt
 
Default Hostname

Changed user name, now at boot- up I have the following message:

init hostname main process (342) terminated with status 1

Henry E. Wyatt, Jr.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 07-20-2010, 09:39 PM
Tom H
 
Default Hostname

On Tue, Jul 20, 2010 at 5:27 PM, Henry Wyatt <hewjr1000@gmail.com> wrote:
> Changed user name, now at boot- up I have the following message:
>
> init hostname main process (342) terminated with status 1

I assume that you mean "Changed host name".

What did you change it to?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-11-2012, 07:15 AM
Phil Dobbin
 
Default Hostname

Hi, all.

A very basic question but I'm wondering if anyone could give me a
definitive answer.

I recently installed CentOS 6.3 x86_64 on a Dell Poweredge 1850 (minimal
desktop) & after setting the hostname during the install, when bringing
up a terminal prompt, I'm still getting `localhost.localdomain` instead
of the hostname I set during install (interestingly enough both parted &
fdisk both show the correct hostname).

After Googling the subject somewhat, it seems to be no definitive,
correct way that everybody agreed upon.

I'm away from my CentOS boxes for the morning (including the one in
question) but on my Fedora 17 laptop, I notice that the given hostname
is set in `/etc/sysconfig/network` but in `/etc/hosts`, it's
`localhost.localdomain` & `localhost`.

If I set my errant CentOS box the same way (all the others I have are
OK), will this do the trick?

Sorry for the basicness of the question but I'll be disabling the screen
capabilities of the server this afternoon & putting her in situ & would
like to get it right.

Any help appreciated,

Cheers,

Phil...

--
currently (ab)using
CentOS 6.3, Debian Squeeze, Fedora Beefy, OS X Snow Leopard, Ubuntu Precise



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2012, 07:34 AM
Leon Fauster
 
Default Hostname

Am 11.10.2012 um 09:15 schrieb Phil Dobbin:
> I recently installed CentOS 6.3 x86_64 on a Dell Poweredge 1850 (minimal
> desktop) & after setting the hostname during the install, when bringing
> up a terminal prompt, I'm still getting `localhost.localdomain` instead
> of the hostname I set during install (interestingly enough both parted &
> fdisk both show the correct hostname).


What is the output of

$ hostname -f

?



> After Googling the subject somewhat, it seems to be no definitive,
> correct way that everybody agreed upon.
>
> I'm away from my CentOS boxes for the morning (including the one in
> question) but on my Fedora 17 laptop, I notice that the given hostname
> is set in `/etc/sysconfig/network` but in `/etc/hosts`, it's
> `localhost.localdomain` & `localhost`.


in /etc/hosts

the non-local ip should have your hostname.
the local ip should have localhost e.g.

127.0.0.1 localhost.localdomain localhost
10.1.1.1 myhost.mydomain.tld

in /etc/sysconfig/network

set you hostname corresponding with the entry in /etc/hosts

and then reboot

Regards

--
LF


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 10-11-2012, 05:10 PM
Phil Dobbin
 
Default Hostname

Leon Fauster wrote:
> Am 11.10.2012 um 09:15 schrieb Phil Dobbin:
>> I recently installed CentOS 6.3 x86_64 on a Dell Poweredge 1850 (minimal
>> desktop) & after setting the hostname during the install, when bringing
>> up a terminal prompt, I'm still getting `localhost.localdomain` instead
>> of the hostname I set during install (interestingly enough both parted &
>> fdisk both show the correct hostname).
>
>
> What is the output of
>
> $ hostname -f
>
> ?
>
>
>
>> After Googling the subject somewhat, it seems to be no definitive,
>> correct way that everybody agreed upon.
>>
>> I'm away from my CentOS boxes for the morning (including the one in
>> question) but on my Fedora 17 laptop, I notice that the given hostname
>> is set in `/etc/sysconfig/network` but in `/etc/hosts`, it's
>> `localhost.localdomain` & `localhost`.
>
>
> in /etc/hosts
>
> the non-local ip should have your hostname.
> the local ip should have localhost e.g.
>
> 127.0.0.1 localhost.localdomain localhost
> 10.1.1.1 myhost.mydomain.tld
>
> in /etc/sysconfig/network
>
> set you hostname corresponding with the entry in /etc/hosts
>
> and then reboot

Thanks, Leon.

Clear, concise & worked perfectly.

Cheers,

Phil...

--
currently (ab)using
CentOS 6.3, Debian Squeeze, Fedora Beefy, OS X Snow Leopard, Ubuntu Precise


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 01:34 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org