Page 1 of 1

Can't change Hostname

Posted: Tue Apr 28, 2015 3:47 am
by antongottlieb
Hello,

I want to test Scalix 12.5 metssaging system, and using CentOS but can't change Hostname of my server??? :mrgreen: :mrgreen:

Please help..

Anton :shock:

Re: Can't change Hostname

Posted: Tue Apr 28, 2015 3:56 am
by prakashnikhar
Hello,

Which method you are using to change host name GUI or CLI, and What is version of your OS ?

-Prakash

Re: Can't change Hostname

Posted: Wed Apr 29, 2015 4:04 am
by antongottlieb
Hi,

Using CentOS 7 64bit version.

Tried to change hostname in file

Code: Select all

/etc/sysconfig/network
added entry
HOSTNAME=sxsrv.testing.local


as well as file

Code: Select all

/etc/hosts
added entry
10.14.57.25 sxsrv.testing.local sxsrv


but hostname not changing....

Please look into this.

Thanks,

Anton :mrgreen:

Re: Can't change Hostname

Posted: Wed Apr 29, 2015 4:10 am
by ScalixSupport
Hello,

could you try command

Code: Select all

hostnamectl set-hostname sxsrv.testing.local

Re: Can't change Hostname

Posted: Wed Apr 29, 2015 6:17 am
by antongottlieb
thanks lot, it's done :D :D

Anton :mrgreen: