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.

server.app restrictions & auto-generated config files killing my changes

Hi, this server.app is really driving me nuts. Maybe I'm just doing something wrong...


1. server.app has way to few possibilities to configure things. Especially the web-server can't be configured in detail. Things like WebDAV etc. are not possible.


2. When changing the config file by hand, these are overwritten when the server restarts. I don't know why, but I think somehow server.app is called and re-generates just all files. Of course overwriting my hand made changes.


So, how am I suppose to do it? How can I make sure my changes are not overwritten? Set the files to read-only? What's the official way to do it?


Robert

MacPro late 2008 & xserve early 2009, Mac OS X (10.6.6)

Posted on Jan 22, 2012 7:10 AM

Reply
6 replies

Jan 22, 2012 10:41 AM in response to LordLobby

First, don't use Server.app. It's way too restricted to be practical for serious use. I don't understand why they think this is a prime feature of Mac OS X Lion Server.


Instead, download the proper Server Admin suite.


Secondly, it's long been an issue that Server Admin can overwrite hand-crafted changes to configuration files, however, I can't say I've ever see it happen automatically at reboot - it typically happens if you make changes in Server Admin.


I don't know whether installing the Server Admin tools will make a difference.

Jan 22, 2012 1:54 PM in response to LordLobby

Hi


Assuming I've understood you correctly the version of 'Server Admin' you appear to have is the one Camelot is referring to. Server Admin in 10.7 Lion Server (not the "Server App") gives you access to all of these following Services and nothing else via its interface.


DHCP

DNS

Firewall

Mail (via an interface that has more configurable options than the same Service in "Server App")

NAT

NetBoot

Open Directory

Podcast Producer

RADIUS

Software Update

Xgrid


Some of the above are ones you've listed. As you've seen for yourself the "Server App" gives you access to:


Address Book

File Sharing (AFP, WebDAV and SMB)

iCal

iChat

Mail

Podcast

Profile Manager

Time Machine

VPN

Web

Wiki


and nothing else. FTP is only available via the command line as per this article:


http://support.apple.com/kb/HT4704


As you've already gathered, Lion Server's "Server App" is extremely 'dumbed' down and, in my opinion, for most veteran users of OS X Server, not in a good way.


HTH?


Tony

Jan 23, 2012 12:19 AM in response to Antonio Rocco

Tony, ok, that's what I have installed than. The problem for me is, that the Web & Wiki part is part of server.app, hence extremly limited.


And, somehow it seems that a reboot, triggers that server.app re-writes all config files. Not sure, if this observation is correct or if something else is going on. Fact is, after reboot, my config files are changed.


How can I prevent this? Or, if this is not possible, what do I need to do, to get my config stuff I need written into the config files each time?

Jan 23, 2012 11:29 AM in response to LordLobby

Hi


". . . what do I need to do, to get my config stuff I need written into the config files each time?"


Apart from the initial configuration of what little there is and judging by what you're describing, stop using the Server App. Like Camelot I'm surprised the config files are being overwritten? I'm also suprised as to why you appear to be rebooting the server on a regular basis? Apart from disabling the "Dedicate system resources to server services" option in Server App's Hardware seciont (which requires a reboot) you should not have to reboot at all. Leastways I very rarely have.


As Camelot has said it's long been known one should avoid using the Server's Administration applications if you're making changes to config files. In the past this used to be particularly applicable to certain aspects of the Mail Service and a number of other services. Perhaps this has now changed in a major way? Unfortunately Apple are not really making too much information available anyway. Perhaps this too may change sometime soon?


Perhaps you could explore the serveradmin command line to start/stop services as well as configuring them? There does not appear to be a Lion specific command line administration manual but the one that is still downloadable for 10.6 should come in handy?


http://manuals.info.apple.com/en_US/IntroCommandLine_v10.6.pdf


Page 17.


HTH?


Tony

server.app restrictions & auto-generated config files killing my changes

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