Reinstall OS X Lion Server?

Discussion in 'Mac OS X Server, Xserve, and Networking' started by 76ShovelHead, May 3, 2012.

  1. 76ShovelHead macrumors 6502a


    May 30, 2010
    The best suggestion I can find is to do a complete wipe and reinstall everything.

    I just want to reinstall it over the old server, because some of the files became corrupt. I tried to delete the Server app with App Cleaner which deleted a bunch of files with it, but when I try to reinstall the Server app it just loads, ask me to pick a computer/server to work with, and then just hangs. Its worse than before because now I can't even get into the app properly, and just wish to reinstall over that app.

    Thanks for any help!
  2. rwwest7 macrumors regular

    Sep 24, 2011
    Backup personal data.
    Reboot, hold down Option while booting.
    Boot to Lion Recovery partition.
    Use Disk Utility to erase your HDDS.
    Reinstall Lion then Server ( needs Internet, takes a long time )

    A clean install is best. It will install the newest version which is more stable. If you don't erase it will just install over top and keep dirty files.
  3. 76ShovelHead thread starter macrumors 6502a


    May 30, 2010
    Alright, I reinstalled. Now OS X server is working, my site is up, php is enabled, and I installed MySQL Server and MySQL Workbench. Socket files appear to be missing, but I can still connect to the database through Netbeans. However, when I access my PHP login page, the PHP markup along the header of the page. This means OS X Lion server is not finding my MySQL Database. Any ideas? :confused:
  4. Sinergi macrumors newbie

    May 8, 2011

    I wish to reinstall the OS X Lion server in my work as the previous administrator has left. As I am fairly new to attempting this, I was curious what you meant by "Reinstall Lion then Server"?

    At the moment, I have the Lion installer and I also have the file. Would I install Lion and then simply run to setup and run the server?

  5. dampfdruck macrumors member

    Oct 20, 2008
    > Socket files appear to be missing


    port = 3306
    socket = /var/run/mysqld/mysqld.sock (or whatever)

    > This means OS X Lion server is not finding my MySQL Database

    Why would (any part of) OSX need to find you MySQL DB? It looks more like a problem in you PHP app.

    As always: if something is not working, check the log file. Find the root cause. Understand the error message. Then fixing it will be simple.

Share This Page