Message boards : Questions and problems : Running as a service on Mac OS X 10.10.2 (Yosemite)
Message board moderation
Author | Message |
---|---|
Send message Joined: 16 Mar 15 Posts: 2 ![]() |
On Mac OS X 10.8 (Mountain Lion), I was able to use the Make_BOINC_Service.sh script to run the BOINC software as a system service. After the upgrade to 10.10, Yosemite (I skipped Mavericks), the system would hang at startup; the progress bar stopped moving at about the 20% mark. After removing various add-ons to isolate the problem, I found that trying to run BOINC as a daemon was the source. It seems to run OK as one of my login startup items. While a workaround, this is less convenient. Is this a known issue the Apple's Yosemite release? Below are extracts from some of the logs. BOINC_Manager: Mon Mar 16 10:15:27 2015 | | cc_config.xml not found - using defaults Mon Mar 16 10:15:27 2015 | | Starting BOINC client version 7.4.36 for x86_64-apple-darwin Mon Mar 16 10:15:27 2015 | | log flags: file_xfer, sched_ops, task Mon Mar 16 10:15:27 2015 | | Libraries: libcurl/7.39.0 OpenSSL/1.0.1j zlib/1.2.5 c-ares/1.10.0 Mon Mar 16 10:15:27 2015 | | Data directory: /Library/Application Support/BOINC Data Mon Mar 16 10:15:27 2015 | | OpenCL: NVIDIA GPU 0: GeForce GT 750M (driver version 10.2.1 310.41.15f01, device version OpenCL 1.2, 1024MB, 1024MB available, 30 GFLOPS peak) Mon Mar 16 10:15:27 2015 | | OpenCL CPU: Intel(R) Core(TM) i5-4570S CPU @ 2.90GHz (OpenCL driver vendor: Apple, driver version 1.1, device version OpenCL 1.2) Mon Mar 16 10:15:27 2015 | | Host name: Craig-iMac.local Mon Mar 16 10:15:27 2015 | | Processor: 4 GenuineIntel Intel(R) Core(TM) i5-4570S CPU @ 2.90GHz [x86 Family 6 Model 60 Stepping 3] Mon Mar 16 10:15:27 2015 | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clfsh ds acpi mmx fxsr sse sse2 ss htt tm pbe pni pclmulqdq dtes64 mon dscpl vmx smx est tm2 ssse3 fma cx16 tpr pdcm sse4_1 sse4_2 x2apic movbe popcnt aes pcid xsave osxsave seglim64 tsctmr avx rdrand f16c Mon Mar 16 10:15:27 2015 | | OS: Mac OS X 10.10.2 (Darwin 14.1.0) Mon Mar 16 10:15:27 2015 | | Memory: 8.00 GB physical, 797.41 GB virtual Mon Mar 16 10:15:27 2015 | | Disk: 930.37 GB total, 797.17 GB free Mon Mar 16 10:15:27 2015 | | Local time is UTC -7 hours Mon Mar 16 10:15:27 2015 | SETI@home | URL http://setiathome.berkeley.edu/; Computer ID 7375138; resource share 100 From system.log (Not clear which lines are relevant; the kernel Sandbox line looks ominous.): Mar 16 08:42:42 Craig-iMac.local boinc[329]: [CL_INVALID_OPERATION] : OpenCL Error : Failed to retrieve device information! Invalid enumerated value! Mar 16 09:47:07 Craig-iMac.local sudo[1233]: cew : TTY=ttys000 ; PWD=/Users/cew/boinc_7.4.36_macOSX_i686 ; USER=root ; COMMAND=/bin/rm -fR /Library/StartupItems/boinc Mar 16 09:47:07 Craig-iMac.local sudo[1239]: cew : TTY=ttys000 ; PWD=/Users/cew/boinc_7.4.36_macOSX_i686 ; USER=root ; COMMAND=/bin/mv -f /Users/cew/boincStartupTemp/edu.berkeley.boinc.plist /Library/LaunchDaemons/ Mar 16 09:47:07 Craig-iMac.local sudo[1242]: cew : TTY=ttys000 ; PWD=/Users/cew/boinc_7.4.36_macOSX_i686 ; USER=root ; COMMAND=/usr/sbin/chown root:wheel /Library/LaunchDaemons/edu.berkeley.boinc.plist Mar 16 09:47:07 Craig-iMac.local sudo[1244]: cew : TTY=ttys000 ; PWD=/Users/cew/boinc_7.4.36_macOSX_i686 ; USER=root ; COMMAND=/bin/chmod 0444 /Library/LaunchDaemons/edu.berkeley.boinc.plist Mar 16 09:48:50 Craig-iMac.local boinc[157]: Set a breakpoint at CGSLogError to catch errors as they are logged. Mar 16 09:48:50 Craig-iMac.local boinc[157]: On-demand launch of the Window Server is allowed for root user only. Mar 16 09:48:50 Craig-iMac.local boinc[157]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1102) Mar 16 09:48:50 Craig-iMac.local boinc[157]: On-demand launch of the Window Server is allowed for root user only. Mar 16 09:48:50 Craig-iMac.local boinc[157]: CGSLookupServerRootPort: Failed to look up the port for "com.apple.windowserver.active" (1102) Mar 16 09:48:50 Craig-iMac.local boinc[157]: This user is not allowed access to the window system right now. Mar 16 10:12:14 Craig-iMac kernel[0]: Sandbox: BOINCManager(278) System Policy: deny file-write-unlink /Users/cew/Library/Saved Application State/edu.berkeley.boinc.savedState/restorecount.plist Mar 16 10:12:21 Craig-iMac.local BOINCManager[278]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.2 instead of 10.10.2. Use NSProcessInfo's operatingSystemVersion property to get correct system version number. Mar 16 10:12:21 Craig-iMac.local BOINCManager[278]: 0 CarbonCore 0x94d127c7 ___Gestalt_SystemVersion_block_invoke + 135 Mar 16 10:12:21 Craig-iMac.local BOINCManager[278]: 1 libdispatch.dylib 0x90301130 _dispatch_client_callout + 50 Mar 16 10:12:21 Craig-iMac.local BOINCManager[278]: 2 libdispatch.dylib 0x903010b5 dispatch_once_f + 251 Mar 16 10:12:21 Craig-iMac.local BOINCManager[278]: 3 libdispatch.dylib 0x903020d8 dispatch_once + 31 Mar 16 10:12:21 Craig-iMac.local BOINCManager[278]: 4 CarbonCore 0x94ca4e88 _Gestalt_SystemVersion + 1050 Mar 16 10:12:21 Craig-iMac.local BOINCManager[278]: 5 CarbonCore 0x94ca4a39 Gestalt + 150 Mar 16 10:12:21 Craig-iMac.local BOINCManager[278]: 6 BOINCManager 0x002f11cd _ZN17wxCriticalSectionD1Ev + 383501 Mar 16 10:12:25 Craig-iMac.local boinc[323]: [CL_INVALID_OPERATION] : OpenCL Error : Failed to retrieve device information! Invalid enumerated value! Mar 16 10:15:22 Craig-iMac kernel[0]: Sandbox: BOINCManager(294) System Policy: deny file-write-unlink /Users/cew/Library/Saved Application State/edu.berkeley.boinc.savedState/restorecount.plist Mar 16 10:15:27 Craig-iMac.local BOINCManager[294]: WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.2 instead of 10.10.2. Use NSProcessInfo's operatingSystemVersion property to get correct system version number. Mar 16 10:15:27 Craig-iMac.local BOINCManager[294]: 0 CarbonCore 0x94d127c7 ___Gestalt_SystemVersion_block_invoke + 135 Mar 16 10:15:27 Craig-iMac.local BOINCManager[294]: 1 libdispatch.dylib 0x90301130 _dispatch_client_callout + 50 Mar 16 10:15:27 Craig-iMac.local BOINCManager[294]: 2 libdispatch.dylib 0x903010b5 dispatch_once_f + 251 Mar 16 10:15:27 Craig-iMac.local BOINCManager[294]: 3 libdispatch.dylib 0x903020d8 dispatch_once + 31 Mar 16 10:15:27 Craig-iMac.local BOINCManager[294]: 4 CarbonCore 0x94ca4e88 _Gestalt_SystemVersion + 1050 Mar 16 10:15:27 Craig-iMac.local BOINCManager[294]: 5 CarbonCore 0x94ca4a39 Gestalt + 150 Mar 16 10:15:27 Craig-iMac.local BOINCManager[294]: 6 BOINCManager 0x002f11cd _ZN17wxCriticalSectionD1Ev + 383501 Mar 16 10:15:27 Craig-iMac.local boinc[324]: [CL_INVALID_OPERATION] : OpenCL Error : Failed to retrieve device information! Invalid enumerated value! Mar 16 11:01:04 Craig-iMac.local launchservicesd[53]: Application App:"BOINC Manager" asn:0x0-18018 pid:294 refs=8 @ 0x7fafd2611f60 tried to be brought forward, but isn't in fPermittedFrontApps ( ( "LSApplication:0x0-0x1001 pid=67 "loginwindow"")), so denying. : LASSession.cp #1521 SetFrontApplication() q=LSSession 100005/0x186a5 queue Mar 16 11:01:04 Craig-iMac.local WindowServer[157]: [cps/setfront] Failed setting the front application to BOINC Manager, psn 0x0-0x18018, securitySessionID=0x186a5, err=-13066 I do not normally get this deep into the system. If there's something else I should look for, let me know and I'll try to accommodate. Thanks, Craig |
![]() ![]() Send message Joined: 23 Feb 08 Posts: 2516 ![]() |
Don't have an answer, but I suspect Apple has tightened the security screws again. But I have a suggestion on a possible work around. Instead of logging off your user, which shuts BOINC, instead go to the log on screen as if you were going to log on as a different user. At this point, you aren't logged off, only disconnected, BOINC runs in the background, but you will have to issue a logon with password to get back to your session. ![]() |
Send message Joined: 16 Mar 15 Posts: 2 ![]() |
Thanks! That's a good suggestion for another workaround. I have the screen saver configured to require a password to unlock the screen. I'll try your suggestion to see if it works better for me. |
Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.