Apple Event: May 7th at 7 am PT

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

10.8 cannot "sleep" with Bind Server enabled

Hello,


I updated from Snow Leopard and now system cannot sleep (manually ora automatically).


I checked via "pmset -g assertions" and the problem is caused by Bind Server:


Assertion status system-wide:

PreventUserIdleDisplaySleep 0

PreventSystemSleep 1

PreventUserIdleSystemSleep 0

ExternalMedia 0

UserIsActive 0

ApplePushServiceTask 0

BackgroundTask 0


Listed by owning process:

pid 694(named): [0x000000080000019e] 00:09:16 DenySystemSleep named: "org.isc.named.denysystemsleep"



If I disable Bind the system can sleep.


Do you know a solution? Is there a bug in the new Bind Server or ML? With SL no problem at all.


Thanks.

Posted on Jul 28, 2012 6:27 AM

Reply
19 replies

Jul 29, 2012 4:13 AM in response to DNA

Bind is not configured to start automatically on ML, you have to configure it and tell the system to start the daemon.


I don't know the server, but could be normal that in a server it is configured to start (check via ps if is on).


Try to disable if you don't use it (via the server GUI or via lauchctl.


I use it, so the update to a newer version helped me.

Aug 2, 2012 2:37 PM in response to manubalde

Hi. I had this problem on Lion 10.7.4. and after having done the upgrade (i.e. not clean install) to 10.8. it still persists. I don't have OSX Server installed.


So, how do I disable "org.isc.named.denysystemsleep" process from ever starting up again?


manubalde, would you shed some light on how exactly to disable it? I don't know what "ps" is. Can you tell me how to disable it via lauchctl?


Also, what is this Bind and what is it good for? How did it get turned on on my Macbook?


I hope that is not too much questions, but google is really clueless with this.

Aug 2, 2012 9:54 PM in response to UrosR

Hi,


to disable it open Terminal in /Application/Utility and digit:


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


Insert password when requested, reboot your system and Bind is gone.


Bind is a DNS server, it trasform URL you digit (ex. www.apple.com) in the address of the server where the site you want to visit is.


It is strange you have the daemon named on, but this doesn't mean you are use it, because you have to configure it and tell the system to use it.


To know if you are use it from Terminal:


dig www.apple.com


If in the results, at the end, you read ;; SERVER: 127.0.0.1#53(127.0.0.1) you are use it, and if you disable it your internet could stop to work (is the 127.0.0.1 that is important, if you read other numers or the name of you internet service provider, you may don't use it).


If after reboot internet doens't work renable it:


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


reboot and internet will start again to works.

Aug 19, 2012 10:39 AM in response to craig.francis

Hi, install Xcode and the the Command line tools from Preferences-Download menu in Xcode.


Download from here https://www.isc.org/software/bind/983-p2 the source code "bind-9.8.3-P2.tar.gz" and compile it:


Open terminal:

cd Downloads

tar xzfv bind-9.8.3-P2.tar.gz

cd bind-9.8.3-P2

./configure --prefix=/usr --sysconfdir=/private/etc --localstatedir=/private/var --enable-atomic=no --with-openssl=yes --with-gssapi=yes

make

sudo make install



Reboot your machine and the problem is solved.


NOTE:in this way you delete the version of Bind that is with ML and install a newer version.

Dec 23, 2012 11:48 AM in response to manubalde

@manubalde,


I've updated my BIND to 9.9.2-P2 too but my mac mini server is still not able to enter standby. Could you help me troubleshoot this?


Right now, this is the output that I see when issuing


server:~ marc$ pmset -g assertions

12/23/12 8:46:29 PM GMT+

Assertion status system-wide:

PreventUserIdleDisplaySleep 1

CPUBoundAssertion 0

PreventSystemSleep 0

PreventUserIdleSystemSleep 1

ExternalMedia 0

UserIsActive 1

ApplePushServiceTask 0

BackgroundTask 0



Listed by owning process:

pid 108(com.apple.serve): [0x0000000100000137] 00:18:33 PreventUserIdleSystemSleep named: "com.apple.server.dns"

pid 600(screensharingd): [0x0000000500000212] 00:00:20 NoDisplaySleepAssertion named: "screen sharing wake display"

pid 600(screensharingd): [0x0000000500000210] 00:00:20 NoDisplaySleepAssertion named: "Nameless (via IOPMAssertionCreate)"

pid 600(screensharingd): [0x0000000a00000211] 00:00:20 UserIsActive named: "screen sharing wake display"

Timeout will fire in: 580.0 Action=TimeoutActionRelease

pid 602(ScreensharingAg): [0x0000000500000214] 00:00:06 NoDisplaySleepAssertion named: "screen sharing wake display"

pid 602(ScreensharingAg): [0x0000000a00000213] 00:00:00 UserIsActive named: "screen sharing wake display"

Timeout will fire in: 600.0 Action=TimeoutActionRelease


Note that I'm connected to my server over Screen Sharing App.


Thank you in advance,

Dec 23, 2012 12:12 PM in response to marc.garcia

Hi, just one thing.


After updating to 10.8.2 I hadn't any issue with Bind.


In any case your problem do not seem to be ralated with Bind, but with the screen sharing.


No named process is running.


Please, do not make a easy mistake, the named you read in your output is just the word "named", not the process "named" related with Bind.



I cannot help you, sorry, but I can imagine that a system connected with screen sharing do not sleep.

10.8 cannot "sleep" with Bind Server enabled

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