Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How can I turn off email alerts in Lion server?

I have a 2011 Mini Server. I don't want to run any of the server software and followed the instructions in the Apple article "How to disable Lion Server". The problem I'm having is that I keep getting email alerts, mostly the same one saying "The host name of server.local has changed to server.local. Some services may not work correctly until they have been updated to use the new configuration." Can anyone help me really shut down Lion server?

Mac OS X (10.7.1)

Posted on Oct 5, 2011 5:17 PM

Reply
3 replies

Oct 12, 2011 11:31 AM in response to Fred Tedsen2

I've run in to this and it seems to be a bug. Even with all alerts turned off, the thing still floods our ticketing system with this message.


Update: What I love is that there is not a clear indication of how you're supposed to make sure the other services are using the new configuration. What seems to have fixed it for me was running sudo changeip, even though I changed the ip address and the host name to exactly what was already reflected in sudo changeip -checkhostname.


tl;dr: You have to make the change via changeip. So in my case I just refreshed the settings with the following:

sudo changeip 192.168.1.1 192.168.1.1 namehere.local namehere.mydomain.com

Oct 24, 2011 3:31 PM in response to javier155

No worries. Typically you can rename a machine by just changing the name System Preferences -> Sharing. But there is also a command line option to adjust the name, and if you don't use the command line option, the server freaks out and will alert you about the change forever. ie - for servers, you need to use the command I describe below.


The command is called changeip and can be run from command line in Terminal.app. It is for manually chaning the ip address and or name of a machine. It basically has 4 parameters: old ip address, new ip address, old machine name, new machine name.


Basically the command looks like this:

sudo changeip OLDIPADDRESS NEWIPADDRESS OLDNAME NEWNAME


If any value is being kept the same, just repeat the identical information as both the old and new value.


Example 1: Changing the IP address and host name. This would update the machine's ip address to be 192.168.1.2 and its name would be update to my_new_name.


sudo changeip 192.168.1.1 192.168.1.2 my_old_name my_new_name


Example 2: Keeping the IP address the same but updating the name. This would update the machine's name to my_new_name but would keep the same ip address.


sudo changeip 192.168.1.1 192.168.1.1 my_old_name my_new_name


Most likely you're just wanting to update the name, in which case you should follow the second example. If you run this, be sure to reboot the machine afterwards and test to make sure that any enabled services are running properly.

How can I turn off email alerts in Lion server?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.