SkipHaughay

Q: 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

Close

Q: How to uninstall Lion Server?

  • All replies
  • Helpful answers

Page 1 of 4 last Next
  • by SkipHaughay,Solvedanswer

    SkipHaughay SkipHaughay Jul 20, 2011 12:51 PM in response to SkipHaughay
    Level 4 (1,120 points)
    Jul 20, 2011 12:51 PM in response to SkipHaughay

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

  • by aarreter,

    aarreter aarreter Jul 21, 2011 1:48 PM in response to SkipHaughay
    Level 1 (0 points)
    Jul 21, 2011 1:48 PM in response to SkipHaughay

    Apparently that doesnt uninstalls completely Lion Server, I Uninstalled it that way by mistake, and when I tried to reinstall Server in the Mac App Store it says I'm Running OS X Server and I need to buy a bundle of Lion and Lion Server, Any idea on how to solve this to reintall Server?

  • by Custa,

    Custa Custa Jul 23, 2011 5:59 PM in response to aarreter
    Level 1 (0 points)
    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?

  • by anivaros,

    anivaros anivaros Jul 24, 2011 4:25 AM in response to SkipHaughay
    Level 1 (0 points)
    Jul 24, 2011 4:25 AM in response to SkipHaughay

    After deleting Server.app you should go to /System/Library/CoreServices and delete serverversion.plist and then restart.

  • by carstenfrombocholt,

    carstenfrombocholt carstenfrombocholt Jul 25, 2011 6:35 AM in response to SkipHaughay
    Level 1 (0 points)
    Jul 25, 2011 6:35 AM in response to SkipHaughay

    I uninstalled ist this way, but now cannot start localhost via MAMP. Any Idea, how to reset to Lions default settings?

  • by serverleader,

    serverleader serverleader Jul 27, 2011 6:34 AM in response to SkipHaughay
    Level 1 (0 points)
    Jul 27, 2011 6:34 AM in response to SkipHaughay

    sorry to say it.... but i had the same issue... you just can't remove the "server" part...

    you can do from the terminal:

     

    tail -f /var/log/system.log

     

    and see all the errors that come up after trying to remove it.....

  • by bompi,

    bompi bompi Jul 28, 2011 7:58 AM in response to serverleader
    Level 1 (10 points)
    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 ;-)

  • by jbjoret,

    jbjoret jbjoret Aug 2, 2011 7:39 AM in response to SkipHaughay
    Level 3 (640 points)
    Aug 2, 2011 7:39 AM in response to SkipHaughay

    The correct answer just poped up  from Apple: http://support.apple.com/kb/HT4827

  • by emmanuelB,

    emmanuelB emmanuelB Aug 3, 2011 12:57 AM in response to jbjoret
    Level 1 (0 points)
    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).

  • by Gerrit DeWitt,

    Gerrit DeWitt Gerrit DeWitt Aug 9, 2011 4:46 PM in response to SkipHaughay
    Level 4 (3,900 points)
    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.

  • by nemothegreat,

    nemothegreat nemothegreat Aug 9, 2011 5:30 PM in response to SkipHaughay
    Level 1 (0 points)
    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)

  • by Olivier Delcroix,

    Olivier Delcroix Olivier Delcroix Aug 16, 2011 12:31 PM in response to SkipHaughay
    Level 1 (0 points)
    Aug 16, 2011 12:31 PM in response to SkipHaughay

    Yes ! First thing to do !

  • by Olivier Delcroix,

    Olivier Delcroix Olivier Delcroix Aug 16, 2011 12:32 PM in response to anivaros
    Level 1 (0 points)
    Aug 16, 2011 12:32 PM in response to anivaros

    And second thing to do !

  • by AppaHolic,

    AppaHolic AppaHolic Aug 18, 2011 2:40 PM in response to nemothegreat
    Level 1 (0 points)
    Aug 18, 2011 2:40 PM in response to nemothegreat

    I went ahead and sent a zip of the sites folder as well as the sites disabled folder.

Page 1 of 4 last Next