Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

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

Mountain Lion Server upgrade; "error reading settings"

Just upgraded to Mountain Lion server and now ALL services have an "error reading settings".

For example; I select "websites" and I get the message "an error occured on the server while processing a command. teh error occured while processing a command of type 'getWebAppState' in plug-in 'servermgr_web' "


There are similar errors for every service. I can't turn anything on.

Server can't even read the Logs. it just sits there with "Loading..." displayed.


My web site is gone and even the Groups have been gutted.


I have a backup of my Web site but how to I clean this up so I can even start from scratch !?!

OS X Mountain Lion, Mountain lion server

Posted on Jul 30, 2012 8:58 PM

Reply
12 replies

Jul 31, 2012 3:02 AM in response to j4426

thank heavens I am not the only one am having exactly the same problems and has totally shut my system down. In my case the problem seems to stem for the managment of the airport base station but if you are not using one then it would seem to be a far more embedded problem.


Basically anything that has to give permissions for access to toe ports does not work so Cal, Address, Message, VPN have all crashed somewhat castrating my server.


Was about to do a full reinstall but would rather see if anyone has an answer

Jul 31, 2012 1:14 PM in response to thatoneappleguy

Based on another tip, i got on forum. The following help me alot:

# Note, I just cared about open directory accounts, and didn't need any service settings saved


exit server app

sudo mv /Applications/Server.app ~/server.app.backup

# this will start to shutdown services

sudo mv /Llibrary/Server ~/server.library.backup


sudo mv ~/server.app.backup /Applications/Server.app

Now, start server app and do reinitialize again.


My theory (no flames, I am a novice at mac os), lion server handled old /library directory structure in upgrade (whatever was before lion), but os x server assumes directory structure (under /library/server) is new style.


I have/had a couple more issues.

1) I have a airport extreme/time-capsule. server app did get errors reading port settings.

- quick workaound, clear all port/firewall settings via airport, and do the above steps again. Server.app will add back as you enable services.


2) profile manager. I can't enroll a mac. The actual server in this case. The remote management profile fails to install.

- still trying to resolve.


Overrall, os x server seems much more stable than lion server, which I basically gave up on.


Good luck.

Jul 31, 2012 4:44 PM in response to j4426

I have the final solution and fix but beware you may not like it that much.


Having had all of the above problems with more or less everything I finally pieced it all together from various threads. This will fix both the AEBS control and the central services problems. Dont shout at me for being a bit basic and not coding etc. but it worked for me. If I can avoid code I do as often as possible as am less likely to balls it up!


This method will loose some data but the main files and users do remain


The Fix:


1. Close Server.app


2. Library/Server make a copy of Server file under a diff name as software server files and a few others would appear to still be usable and you will have to re download it all again of you dont copy it back in ( I didn't and now have learned my lesson). then delete the whole of the Server file.


3. Go to Keychain and search all Airport then delete associated keys permissions etc


4. Delete Server.app and reinstall.


5. Start new setup and it will migrate properly with no errors. This time a big green tick will appear!


6. Replace the software update files into the new Library/Server folder if you want to or leave it untill the rest is done


7 Reconfigure any missing bits..... any enrolled devices will have vanished but probably if you have saved the data from this in Library/Server prior to deletion you may be able to reinstate this but I didnt risk it


This is going to be a total pain if in a large organisation but once working the system is excellent with no swapping from one control set to the other. As each service is switched on it auto configures the AEBS and no further errors and a joy to work with unless you really like to get into the nuts and bolts.


Hope this helps and good luck

Nov 1, 2012 10:56 PM in response to SoCal Cal

Oh Great! JUST GREAT! I have the same problem, I did a complete fresh install. First I ERASED THE ENTIRE HARD DRIVE, Then Installed a fresh mountain lion, then installed the server with NOTHING ELSE INSTALLED ON THE ENTIRE COMPUTER! Worked ok until I started working in the DNS, and then sudden disaster.

I CANT CHANGE ANYTHING, ALL IT SAYS IS ERROR READING SETTINGS. THIS *****!

Nov 13, 2016 9:45 AM in response to Bruce Mentzer

Cierra todos los servicios excepto compartir archivos, DNS y Open Directory y he realizado los siguientes pasos para forzar a apache y forzar un restablecimiento. Incluso tratando de detener el servicio web utilizando sudo serveradmin detener la web sigue fallando con los errores anteriores sobre xswebconfig y métodos indefinidos de las clases de nil.


Solución:


sudo apachectl stop

sudo serveradmin command web:command=restoreFactorySettings

sudo serveradmin start web

Mountain Lion Server upgrade; "error reading settings"

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