Can't change Hostname

Discuss installation of Scalix software
antongottlieb
Posts: 28
Joined: Mon Apr 27, 2015 3:51 am

Can't change Hostname

Postby antongottlieb » Tue Apr 28, 2015 3:47 am

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:

prakashnikhar
Posts: 23
Joined: Wed Mar 04, 2015 6:09 am

Re: Can't change Hostname

Postby prakashnikhar » Tue Apr 28, 2015 3:56 am

Hello,

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

-Prakash

antongottlieb
Posts: 28
Joined: Mon Apr 27, 2015 3:51 am

Re: Can't change Hostname

Postby antongottlieb » Wed Apr 29, 2015 4:04 am

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:

ScalixSupport
Scalix
Scalix
Posts: 5480
Joined: Thu Mar 25, 2004 8:15 pm

Re: Can't change Hostname

Postby ScalixSupport » Wed Apr 29, 2015 4:10 am

Hello,

could you try command

Code: Select all

hostnamectl set-hostname sxsrv.testing.local

antongottlieb
Posts: 28
Joined: Mon Apr 27, 2015 3:51 am

Re: Can't change Hostname

Postby antongottlieb » Wed Apr 29, 2015 6:17 am

thanks lot, it's done :D :D

Anton :mrgreen:


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 1 guest