osx - SMJobBless failed with CFErrorDomainLaunchd Code 9 -
does know error code mean? smjobbless error return error code value.
failed bless helper: error domain=cferrordomainlaunchd code=9 "the operation couldn’t completed. (cferrordomainlaunchd error 9.)"
i googled, looked answers in blogs posts, in apple docs, here there , couldn't find answer , how fix it. people say(on support form reinstalling os x helped them).
it has happened ongoing project couple weeks ago, , thing helped me fix it, changing name of helper tool. happened again.
same time code working on other computers, workstation affected issue.
update: after renaming, works again. have 2 helper tool bundle identifiers "banned" on system :-(
update 2: happens on other computers :-(
in case error
failed bless helper: error domain=cferrordomainlaunchd code=9 "the operation couldn’t completed. (cferrordomainlaunchd error 9.)"
meant helper tool added permanent disabled services list here:
/private/var/db/com.apple.xpc.launchd/disabled.plist
i'm telling yosemite, older/younger os versions may have them here(i haven't checked):
/var/db/launchd.db/com.apple.launchd.peruser.*user_id*/overrides.plist
after reading of launchctl manual page, found "unload" subcommand's argument -w adds service plist file. used flag in uninstaller script, lead inability of "blessing" tool @ next time.
there seems no way remove service disabled.plist file. on each reboot file being restored launchd cache, , flushing cache seems not implemented yet. possible enable service forever launchd won't stop launch.
here couple of links may useful run similar issue:
- http://comments.gmane.org/gmane.comp.sysutils.launchd.devel/117
- http://launchd.info
- a great app manage launchd tasks: http://www.soma-zone.com/launchcontrol/
- `man launchctl
Comments
Post a Comment