Author Topic: Annoying: Mac Avast removed and launchd still try to find the service!  (Read 16019 times)

0 Members and 1 Guest are viewing this topic.

fren

  • Guest
Hi, i uninstalled the mac avast edition via AppDelete, on Leopard 10.5.2. Everything was fine, except for this:

when I launch the console, i see in the messages that launchd tries continously to launch com.avast.MacAvast, but obviously it doesn't find it.

How can I remove this annoying situation?

Thanks.

Offline .: Mac :.

  • Avast Überevangelist
  • Ultra Poster
  • *****
  • Posts: 5093
open terminal  and type launchctl list

see if com.avast.MacAvast is listed and if it is remove it from the list with  launchctl unload



"People who are really serious about software should make their own hardware." - Alan Kay

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Hi, i uninstalled the mac avast edition via AppDelete, on Leopard 10.5.2. Everything was fine, except for this:

when I launch the console, i see in the messages that launchd tries continously to launch com.avast.MacAvast, but obviously it doesn't find it.

How can I remove this annoying situation?

Thanks.

Hallo,
there'a receipt how to remove avast on this forum few controbutions below. in a nuthsell, making the application non-persistent is required (this step unloads the app from launchd's list, on leopard). If you did the removal different way, you probably have its entry still in the list - and this causes the problem. Use launchctl unload to get rid of the entry (man launchctl).
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)

fren

  • Guest
Thanks, solved.

box

  • Guest
Re: Annoying: Mac Avast removed and launchd still try to find the service!
« Reply #4 on: August 12, 2008, 02:03:59 AM »
Hello everyone,

i tried to do as explained in this thread, but i'm sorry it didn't work.
What is the EXACT command to execute in Terminal ?
i did "launchctl unload" and get the following message :

macbook:~ net$ launchctl unloadusage: launchctl load [-wF] [-D <user|local|network|system|all>] paths...

what is the path i have to enter ?

Here is my error message in my console :

11/08/08 05:29:18 com.apple.launchd[97] (com.avast.MacAvast) Throttling respawn: Will start in 10 seconds
11/08/08 05:29:38 com.apple.launchd[97] (com.avast.MacAvast[9817]) posix_spawnp("/Applications/avast!.app/Contents/MacOS/avast!", ...): No such file or directory
11/08/08 05:29:38 com.apple.launchd[97] (com.avast.MacAvast[9817]) Exited with exit code: 1

Thank you for you answer ;)
« Last Edit: August 12, 2008, 02:08:09 AM by box »

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: Annoying: Mac Avast removed and launchd still try to find the service!
« Reply #5 on: August 20, 2008, 01:09:07 PM »
Hello everyone,

i tried to do as explained in this thread, but i'm sorry it didn't work.
What is the EXACT command to execute in Terminal ?
i did "launchctl unload" and get the following message :

macbook:~ net$ launchctl unloadusage: launchctl load [-wF] [-D <user|local|network|system|all>] paths...

what is the path i have to enter ?

Here is my error message in my console :

11/08/08 05:29:18 com.apple.launchd[97] (com.avast.MacAvast) Throttling respawn: Will start in 10 seconds
11/08/08 05:29:38 com.apple.launchd[97] (com.avast.MacAvast[9817]) posix_spawnp("/Applications/avast!.app/Contents/MacOS/avast!", ...): No such file or directory
11/08/08 05:29:38 com.apple.launchd[97] (com.avast.MacAvast[9817]) Exited with exit code: 1

Thank you for you answer ;)


you must, basically, unload, what was loaded before - the avast's plist (/Applications/avast!.app/Contents/Resources/com.avast.MacAvast.plist). Because you probably deleted the whole app (and thus, this plist is away), this "normal" way is not possible - thus, easiest would be installing avast! again, the, in Preferences, turn off persistent mode, quit both avast and agent (from menubar), check whether the launchd is happy (if not, do the unload action with the plist file), and then, put the app to the trashcan.

AppDelete isn't good idea here (honestly, such automated utilities that try to modify installed apps can cause even worse problems).

regards
pc
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)