Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The DNS GUI in Server Admin stopped working, so I deleted everything from /etc/dns and /var/named and I think another directory too assuming Server Admin would regenerate them. Nope. I ran the Server Essentials package from the OS disc, and that made it so I could edit forwarders, but I still can't save any zones through the GUI.

share|improve this question
    
Ouch. A good policy is, rather than delete current configs, move them to a .orig directory (or the equivalent). –  Matt Simmons Aug 24 '10 at 0:52

1 Answer 1

up vote 1 down vote accepted

It's a bit of a hassle, but you could always install OS X Server on another Mac (or another partition on your server) and grab the missing folders from there. You might also be able to extract the files directly from the installer packages on the DVD with Pacifist, but I think at least some are created during the initial setup (probably why reinstalling the essentials package didn't do it).

share|improve this answer
    
It's probably not kosher for someone to just post them, is it? –  tladuke Aug 25 '10 at 18:56
    
I used Pacifist. I searched for "named" and restored that directory, and then searched for named.conf and restored that. I couldn't find the contents of /etc/dns anywhere, but the server admin is working now! –  tladuke Aug 25 '10 at 19:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.