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:


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -