Skip navigation

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

631 Views 6 Replies Latest reply: Jan 23, 2012 11:29 AM by Antonio Rocco RSS
LordLobby Calculating status...
Currently Being Moderated
Jan 22, 2012 7:10 AM

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)
  • Camelot Level 8 Level 8 (45,670 points)

    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.

  • Camelot Level 8 Level 8 (45,670 points)

    Is the link you posted an extended "Server Admin"?

     

    Yes. It's a link to the full Server Admin suite, along the lines of what you might have seen with previous Mac OS X Server versions - in any case it has way more options for configuring the services than the too-simple on/off switches of Server.app.

  • Antonio Rocco Level 6 Level 6 (10,100 points)

    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

  • Antonio Rocco Level 6 Level 6 (10,100 points)

    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

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.