Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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

How to uninstall Lion Server?

I accidentally downloaded Lion Server on my laptop. I need to uninstall this. Anyone know how to uninstall?

Posted on Jul 20, 2011 11:45 AM

Reply
Question marked as Best reply

Posted on Jul 20, 2011 12:51 PM

To uninstall OS X Lion Server, one need only to delete the Server app from the Applications folder, and restart the machine.

45 replies

Jul 23, 2011 5:59 PM in response to aarreter

I also went through this process and hit ok on the assumption I would not be charged again as I already have licenses for both of these. When it comes down it still has the same setup which is what I am trying to remove as seems I made a mistake in changing the network name and the profile manager became unresponsive. i.e. dead webserver. Maybe I just have to start again completely?

Jul 28, 2011 7:58 AM in response to serverleader

Indeed.


The instructions given by Apple aren't complete : all the UNIX stuff remains on the machine and I suppose one has to manually unload/disable all the services (with launchctl) then remove the launchd configuration files (in /System/Library/LaunchDaemons).


Additionnaly, I guess one has to delete the content of /Library/Server as well.


It would leave some binaries (for instance PostGRES) on the file systems.


By the way : once the server part is either disabled or removed, you have to put back the Apache configuration file, which should have been saved during the Server installation process.


Anyway, if anyone has a better scenario, I'm interested ;-)

Aug 3, 2011 12:57 AM in response to jbjoret

Well, actually it's been posted some days ago. But it's not quite enough to get rid of it.


Yesterday I gave it a try and, once everything in the note is done, you still have to open Terminal and :

  • stop the Apache server (sudo apachectl stop to stop it until next reboot or sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist to stop it definitely)
  • more important : stop the PostGRESQL database server and the collection of information you don't need anymore :
    • sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.ServerPerfLog.plist
    • sudo launchctl unload -w /System/Library/LaunchDaemons/org.postgresql.postgres.plist


To revert this commands, simply run them with 'unload -w' changed in 'load -w'.


(I couldn't manage to find a graphical tool to do it, hence the Terminal commands)


If you upgraded from Snow Leopard and would like to get back the original Web Server configuration (with the ~username local web sites) you have to put back the Apache configuration file stored during the Server installation. In /private/etc/apache2, you should find a httpd.conf.bak file, to rename in httpd.conf (beforehand, you should keep a copy of the current file, if ever you change your mind). Then restart Apache (sudo apachectl graceful).

Aug 9, 2011 4:46 PM in response to SkipHaughay

As you've discovered, simply deleting Server.app doenlsnt undo the Lion to Lion Server conversion process. The first time Server.app ran, it used Software Update to download additional server essentials from Apple in order to perform what was designed to be a one-way conversion. (For those familiar with how Mac OS X Server installers were put together, the basic "client" version of Lion already includes the server essentials like servermgrd.)


As Apple suggests, you can turn off the performance dedications for server processes. However, you still need to stop each service individually using Server.app, Server Admin, the serveradmin command, or by stopping each process required by each service with webappctl, apachectl, or launchctl, etc.


However, even turning off services does not completely revert Lion Server to the vanilla Lion state. Deleting the server version property list file only makes Mac OS X say "Mac OS X" instead of "Mac OS X Server."


If you want to absolutely remove all if the server components, the easiest thing to do is to restore a backup of the computer from before you made the switch, or to reinstall Lion.

Aug 9, 2011 5:30 PM in response to SkipHaughay

Hi,


My original search was how to reinstall OSX Lion Server.


I wonder if anyone would be so kind as to email me their copies of the following files in /etc/apache2/sites/


virtual_host_global.conf.default

0000_any_80_.conf.default



I accidentally deleted everything in this folder and now my webserver is stuck on the "Error Reading Settings" message. Once I have these I think it will all start to function again


Thanks in advance,

n.


(mail to nemo_the_great at yahoo dot com please)

Aug 18, 2011 4:47 PM in response to SkipHaughay

Please excuse my slight derail...I know this is off-topic, and isn't the place, but It's the latest post I saw Gerrit in and wanted him to see this. I just wanted to say thank you for your the CUPS printer solution in that thread from 8 months ago (it's been archived so I can't add to the post and I don't see an email address for you in your profile).


This was a VERY frustrating issue and I tried several days worth of solutions from other places / people, and while replacing CUPS didn't seem like a good idea, it worked like a charm and for the first time in months, I'm able to print booklets for people here at work without it being a complete nightmare. I can't thank you enough!


Ok, sorry for that derail everyone, I just HAD to thank Garret! I felt like I was unfairly stealing his awesome help otherwise!

How to uninstall Lion Server?

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