Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I try to start named on my OS 10.7.3 machine, with the following command:

launchctl load -w /System/Library/LaunchDaemons/org.isc.named.plist

... I get this error message:

launchctl: no plist was returned for: /System/Library/LaunchDaemons/org.isc.named.plist
nothing found to load

What am I doing wrong?

In the absense of getting the above to work, I can start named manually, like so: sudo /usr/sbin/named ... but that's rather crude, isn't it?

What do I need to do go get launchctl working with named?

Also, the contents of my org.isc.named.plist file is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Disabled</key>
        <false/>
        <key>Label</key>
        <string>org.isc.named</string>
        <key>OnDemand</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
                <string>/usr/sbin/named</string>
                <string>-f</string>
        </array>
        <key>ServiceIPC</key>
        <false/>
</dict>
</plist>
share|improve this question

1 Answer 1

up vote 1 down vote accepted

Double check that there is actually a file named org.isc.named.plist in /System/Library/LaunchDaemons.

If there is, can you list the contents?

share|improve this answer
    
Thanks for the reply!! I've added the contents of org.isc.named.plist to my OP for you - thanks again. –  CS. Apr 24 '12 at 15:46
    
what are the files permissions set as? –  dennis.hempler Apr 25 '12 at 11:55
    
That was it! (Permissions) They were set to 600, when everything else in /System/Library/LaunchDaemons was set to 644. A simple chmod 644 org.isc.named.plist and it now starts automatically when I reboot - Thanks Dennis! –  CS. Apr 25 '12 at 21:12

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.