1

Our Mac OSX servers sends me this message every day:

Name: System Administrator
Email: [email protected]
Dept: Support

The host name of SERVER1 has changed to SERVER2. Some services may not work correctly until they have been updated to use the new configuration.

(in which, SERVER1 is the old host name and 2 the new host name of our server). What does it mean, and what could I do to solve this (get rid of this message). The server seems to work just fine, just as it did before.

bmike
  • 235,889
tvgemert
  • 111

3 Answers3

1

I was having the same problem & found this thread on Apple Support Communities.

The short of it is that unless the name change is done through the command line with sudo changeip, it will forever complain about the change. The command goes like this:

sudo changeip OLDIPADDRESS NEWIPADDRESS OLDNAME NEWNAME

Use the same IP address and name in both spots and it's happy.

grg
  • 201,078
Dave
  • 11
0

If your hostname changes regularly, you can suppress the notifications by opening Server.app, going to AlertsDelivery and disabling the Network Configuration alert (for Email and/or Push).

Server Alert Settings

grg
  • 201,078
0

Shutting off the Network Configuration (change) alert is the equivalent of putting electrical tape over the "Check Engine" indicator on your car. You are simply ignoring a an important warning.

Changing the IP address or the hostname on OS X server has always been a bad idea. Both are foundational to Open Directory working properly, just for one important example. The hostname gets "baked" into 8-12 configuration files. Changing the hostname in one location can create a mismatch in all the other locations. So don't ever change it unless you have a really important reason! And if you must, then you should use changeip to do so.

The changeip command ensures that the hostname is set up properly across all locations.