Previous 1 4 5 6 7 8 Next 117 Replies Latest reply: Sep 6, 2012 5:48 PM by paulfromburwood Go to original post
  • pattieja1 Level 1 (0 points)

    Were you able to restore any users and settings for services from TimeMachine or did you have to start everything over from scratch too?


    If I'm able to restore a postgreSQL database dump and the openldap directory backup and then their home directories, I wouldn't mind giving this a try.

  • Benezet Level 1 (0 points)

    I restored only data that was not tied to postgreSQL (iCal, AddressBook, Wiki, etc.) Before wiping the server, I copied all my user home directories to another volume, archived Open Directory, exported my settings from Server Admin, exported calendars and contacts as *.ics files (not archives) and *.vcf files. After Apple reinstalled the system software, I loaded Server back on. I restored Open Directory from the archive, imported saved server settings, reset the path to home directories in Workgroup Manager (I did have to fix persmissions on these folders) and imported calendar items and contacts. I did not restore anything from Time Machine because I didn't need to. I also re-installed from scratch any 3rd party apps on the server. 10.7.3 now makes it easy to choose a location for service data similar to how it was back in SL Server which made it very easy to copy mail directories to the new location.

  • freudling Level 1 (0 points)

    My wiki services is down again. I remember on the phone with Apple Support last week that he asked if I had installed Lion Server as an after option: if my machine shipped with client Lion only. So for the record, I have a Mac Mini non-server version. Is this a pattern? I got the impression that those units that shipped with clean installs of Lion Server are less buggy and crash prone.

  • rjankech Level 1 (0 points)

    hi everyone,

    my problem with wiki and profile manager solved this link

  • Kimbakat Level 1 (65 points)

    When I do the WORKAROUND...


    after I "serveradmin start postgres"


    I get this



  • Drizzt Level 1 (10 points)

    I'm trying this on my server :

    launchctl limit maxfiles 16384 32768

  • Drizzt Level 1 (10 points)

    sudo echo "limit maxfiles 10240 120000">/etc/launchd.conf


    Than reboot.


    It seams to solve my problems

  • Teknologist Level 1 (0 points)

    Congratulayions Drizzt!  after a year of people posting here , you nailed it !  finally!


    really! i have rebooted 3 times in a row and problems are gone ! even server admin works immediately ! no freeze, no services down !


    the bugs was random and only after a reboot! I am pretty su changing maxfiles fixed everything !


    thanks a million !

  • Drizzt Level 1 (10 points)

    Glad I could help!

    I've been working on this since september. There's a couple of bugs regarding this openned inside Apple. I hope a solution will come up regarding this bug

  • orsmo Level 1 (0 points)

    Out of curiosity, what led you to this, Drizzt?  I'm curious as to what specifically was going wrong and why this fixes it.

  • Drizzt Level 1 (10 points)

    Deactivating Device Manager made the server stable again.

    The errors I got playing with launchctl said socket not connected. A socket is an open file.

    Searching on the web, I learned that launchd had limits independent of the kernel. It seams to apply these limits to itself. With Device Manager openned, lsof tels me that launchd has more than 256 files openned, which is more than the default limit of open files.


    This fix is to change the limit of the number of openned files per process and make it higher.

  • The Teknologist Level 1 (15 points)

    Solved by Drizzt on Jul 3rd 2012 (moreless a year later and 4 OSX Lion incremental releases that didn't fix anything):


    My rant @ Apple:


    Honestly I wouldn't even call it a bug. It's more a misconfiguration of the OS by Apple, knowing what services they are supposed to offer on this kind of server.


    Can you imagine I have spent a year crossing finger every time I had to reboot the mac mini server ? Really ?


    Really, I think it's very embarassing for Apple to not have fixed this ridiculous config problem for a year and after 10.7.1, 10.7.2, 10.7.3 and 10.7.4.  Result of all this, is as an IT Architect/Consultant, I am frequently advising on solutions for customers and I would never recommend OSX as a server in a corporate or important environement, I am not even talking critical, just a workable environment (practically nothing other than home enthusiast).


    Shameful knowing the base (BSD/Unix) is a rock solid platform for serious servers nowadays. At least they achieved a big goal, rendering an über-stable and widely deployed server OS base (BSD/Unix) completely broken...


    This config/bug problem may be solved but have you guys figuredf how clumsy and slow/freezing are both GUI Admin apps , ( and ServerAdminTools) ???


    Kudos to Apple for deserting enterprise software...



    Answer below:





    sudo echo "limit maxfiles 10240 120000">/etc/launchd.conf


    Than reboot.


    It seams to solve my problems



    PS: Sorry but I can't even seem to put this answer inline in the first post I initiated a year ago...

  • The Teknologist Level 1 (15 points)

    By the way, I think you closed lots of long running discussions such as Profile Manager page is empty in,  Device Manager not starting etc...  ;-)


    Does anybody know how to put the right answer inline in the first post ?


    I am the owner of this topic but can't seem to find any links/buttons to do that... duh...

  • The Teknologist Level 1 (15 points)

    And Drizzt, if you send me a PM with your paypalk email address I'll send you a beer !!   Thanks man !


  • Drizzt Level 1 (10 points)

    In my post, there should be a link saying "this solved my problem". Just click on it.


    I'd wait a week or two to be shure everything's running fine. I've been wrong before

Previous 1 4 5 6 7 8 Next