[GH-ISSUE #716] install proxy helper tool, The operation couldn’t be completed. (CFErrorDomainLaunchd error 9.) #710

Open
opened 2026-03-03 19:21:12 +03:00 by kerem · 9 comments
Owner

Originally created by @khahux on GitHub (Dec 3, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/716

Proxyman version? 2.14.1

macOS Version? 10.15.7

Originally created by @khahux on GitHub (Dec 3, 2020). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/716 ### Proxyman version? 2.14.1 ### macOS Version? 10.15.7
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 3, 2020):

Hey @khahux

Look like your machine disables all Helper Tool service, so Proxyman helper tool could not install.

Ref: https://stackoverflow.com/a/32333522/3127477

Can you help me to print out the file /private/var/db/com.apple.xpc.launchd/disabled.plist

<!-- gh-comment-id:737635108 --> @NghiaTranUIT commented on GitHub (Dec 3, 2020): Hey @khahux Look like your machine disables all Helper Tool service, so Proxyman helper tool could not install. Ref: https://stackoverflow.com/a/32333522/3127477 Can you help me to print out the file `/private/var/db/com.apple.xpc.launchd/disabled.plist`
Author
Owner

@khahux commented on GitHub (Dec 3, 2020):

@NghiaTranUIT

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>com.apple.AEServer</key>
	<true/>
	<key>com.tencent.Lemon.uninstall</key>
	<false/>
	<key>com.sangfor.EasyMonitor</key>
	<false/>
	<key>homebrew.mxcl.opentsdb</key>
	<false/>
	<key>com.apple.ftpd</key>
	<true/>
	<key>com.apple.mdmclient.daemon.runatboot</key>
	<true/>
	<key>com.tencent.Lemon.listen</key>
	<false/>
	<key>homebrew.mxcl.mongodb-community</key>
	<false/>
	<key>com.apple.bootpd</key>
	<true/>
	<key>com.paragon.NTFS.launch</key>
	<false/>
	<key>homebrew.mxcl.redis@4.0</key>
	<false/>
	<key>com.bjango.istatmenusdaemon</key>
	<false/>
	<key>com.apple.ftp-proxy</key>
	<true/>
	<key>com.tencent.LemonDaemon</key>
	<false/>
	<key>com.proxyman.NSProxy.HelperTool</key>
	<true/>
</dict>
</plist>
<!-- gh-comment-id:737693484 --> @khahux commented on GitHub (Dec 3, 2020): @NghiaTranUIT ``` <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>com.apple.AEServer</key> <true/> <key>com.tencent.Lemon.uninstall</key> <false/> <key>com.sangfor.EasyMonitor</key> <false/> <key>homebrew.mxcl.opentsdb</key> <false/> <key>com.apple.ftpd</key> <true/> <key>com.apple.mdmclient.daemon.runatboot</key> <true/> <key>com.tencent.Lemon.listen</key> <false/> <key>homebrew.mxcl.mongodb-community</key> <false/> <key>com.apple.bootpd</key> <true/> <key>com.paragon.NTFS.launch</key> <false/> <key>homebrew.mxcl.redis@4.0</key> <false/> <key>com.bjango.istatmenusdaemon</key> <false/> <key>com.apple.ftp-proxy</key> <true/> <key>com.tencent.LemonDaemon</key> <false/> <key>com.proxyman.NSProxy.HelperTool</key> <true/> </dict> </plist> ```
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 3, 2020):

<key>com.proxyman.NSProxy.HelperTool</key>
	<true/>

Yay, it's disabled from your macOS.

Please try to delete this line. Restart the machine and try to install the Helper Tool again 🙌

<!-- gh-comment-id:737694574 --> @NghiaTranUIT commented on GitHub (Dec 3, 2020): ``` <key>com.proxyman.NSProxy.HelperTool</key> <true/> ``` Yay, it's disabled from your macOS. Please try to delete this line. Restart the machine and try to install the Helper Tool again 🙌
Author
Owner

@khahux commented on GitHub (Dec 3, 2020):

@NghiaTranUIT
可以了,thx!

sudo launchctl enable system/com.proxyman.NSProxy.HelperTool
<!-- gh-comment-id:737695815 --> @khahux commented on GitHub (Dec 3, 2020): @NghiaTranUIT 可以了,thx! ``` sudo launchctl enable system/com.proxyman.NSProxy.HelperTool ```
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 3, 2020):

Glad to know that it works for you 🎉

<!-- gh-comment-id:737696143 --> @NghiaTranUIT commented on GitHub (Dec 3, 2020): Glad to know that it works for you 🎉
Author
Owner

@Cairsimod commented on GitHub (Dec 22, 2020):

很高兴知道它对您有用 🎉

oh my god!how fucking amazing it is! I cannot understand why but it works!and i do not find any others ways to work it.

<!-- gh-comment-id:749672894 --> @Cairsimod commented on GitHub (Dec 22, 2020): > 很高兴知道它对您有用 🎉 oh my god!how fucking amazing it is! I cannot understand why but it works!and i do not find any others ways to work it.
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 23, 2020):

Not sure why some OS blocks the Helper Tool by default, it will be fixed as soon as we unblock it 👍

<!-- gh-comment-id:749891909 --> @NghiaTranUIT commented on GitHub (Dec 23, 2020): Not sure why some OS blocks the Helper Tool by default, it will be fixed as soon as we unblock it 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Apr 28, 2022):

To anyone, who has error CFErrorDomainLaunchd with code is 2. Here is the solution 👍

Credit to Dan

for whatever reason the helpertool plist in /Library/LaunchDaemons was owned by my user account, not root. 

No idea how that would have happened but more importantly switching the owner back to root and restarting allowed everything to load with the expected privileges so the update worked as expected once I opened proxyman
<!-- gh-comment-id:1111633487 --> @NghiaTranUIT commented on GitHub (Apr 28, 2022): To anyone, who has `error CFErrorDomainLaunchd` with code is 2. Here is the solution 👍 Credit to Dan ``` for whatever reason the helpertool plist in /Library/LaunchDaemons was owned by my user account, not root. No idea how that would have happened but more importantly switching the owner back to root and restarting allowed everything to load with the expected privileges so the update worked as expected once I opened proxyman ```
Author
Owner

@cckenaaa commented on GitHub (May 9, 2025):

how about error CFErrorDomainLaunchd with code is 4

<!-- gh-comment-id:2865480392 --> @cckenaaa commented on GitHub (May 9, 2025): how about error CFErrorDomainLaunchd with code is 4
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#710
No description provided.