Benches macOS

10

How to remove service from launchd using …

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello ... I have removed an application called "Internet Everywhere" and noticed that my computer at start-up tried to launch this service anyways. Using console I identified that launchd access the file ˜/library/LaunchAgents/Internet Everywhere (there is a space between these words). Internet Everywhere appears as a service with status "1" in launchctl list.

I tried to initially using launchctl remove "Internet Everywhere" and the answer was that there was no such service. The I tried using launchctl unload and still no success:

MacBookProCV:~ valentin$ sudo launchctl unload /Users/valentin/Library/LaunchAgents/"Internet Everywhere"

launchctl: Dubious ownership on file (skipping): /Users/valentin/Library/LaunchAgents/Internet Everywhere

nothing found to unload

I guess I am overlooking something. Can you help me understanding what I have to do to remove this service?

Best regards

Valentin.

10 replies

Sign in or join Beachball Help to reply.

  1. 0

    KJK555

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Remove the plist file.

    FILES

    ~/Library/LaunchAgents #Per-user agents provided by the user.#

    /Library/LaunchAgents # Per-user agents provided by the administrator#

    /Library/LaunchDaemons #System wide daemons provided by the administrator#

    /System/Library/LaunchAgents #Mac OS X Per-user agents.#

    /System/Library/LaunchDaemons #Mac OS X System wide daemons.#

    most likely located in ~/Library/LaunchAgents.

    Kj

  2. 0

    Valentin Starke

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thank you for taking the time to write me. I had come across the description of the folders in the man for launchctl. In my original post I had written that I had located the file in precisely ~/Library/LaunchAgents. Other then just deleting it do you know how to use the unload or remove command in launchctl for "Internet Everywhere"?

    Best regards

    Valentin.

  3. 0

    Barney-15E

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Because it is in the LaunchAgents folder, the only thing you need to do is remove the folder in LaunchAgents folder. Launchd launches those items on log in. There is nothing to unload because it fails to load since the file cannot be found.

  4. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    a launch daemon should normally have a .plist extension. did you skip it? that would explain why the command gives an error.

    the command you are using is basically correct. you don't need sudo because the daemon is in your home directory. also, to unload it so that it doesn't load automatically on the next login you should use -w switch. this will add a 'disabled' flag to the daemon. the syntax is

    launchctl unload -w /path/to/daemon

    However, as others have said the best thing is to trash the daemon and log out/in. you don't need it for anything as you've removed the application that created it.

  5. 0

    Topher Kessler

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Launchd can load files that are NOT in the launch daemons or launch agents folders. To unload the file, you will need to know the path to the .plist file (can be in an application, or in another folder). Then you'l need to run the launchctl unload command as such:

    sudo launchctl unload -w /path/to/daemon.plist

    Having the files in those folders just enables automatic launching of them.

    Message was edited by: Topher Kessler

  6. 0

    Topher Kessler

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    sigh....

  7. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    he-he.

  8. 0

    Valentin Starke

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Launchctl is not necessary for daemons installed in the auto-launch directories. Simple removal is sufficient. See manual for launchctl provided by apple for details of the directories.

  9. 0

    Bal Snow

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I also have an issue with a launchd file. I"m getting this"

    2/8/09 6:22:22 PM com.apple.launchd[237] (com.carbonite.carbonitestatus[2079]) Exited with exit code: 1

    2/8/09 6:22:22 PM com.apple.launchd[237] (com.carbonite.carbonitestatus) Throttling respawn: Will start in 10 seconds

    2/8/09 6:22:32 PM com.apple.launchd[237] (com.carbonite.carbonitestatus[2080]) posix_spawnp("/Library/Application Support/Carbonite/CarboniteStatus.app/Contents/MacOS/CarboniteStatus", ...): No such file or directory

    I deleted all the carbonite plist I could find. What am I missing?

  10. 0

    V.K.

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    please start your own thread and someone will help you.