Author Topic: repeating com.avast.update-agent[10563] sock_create_unix_socket failing  (Read 2598 times)

0 Members and 1 Guest are viewing this topic.

REDACTED

  • Guest
I've suddenly notices our console log getting filled with this pair of messages from com.avast.update-agent. They appear exactly every 10 seconds:

com.avast.update-agent[10563]: sock_create_unix_socket: bind() failed. Invalid argument [22]
com.avast.update-agent[10563]: sock_create_unix_socket() failed.

This is our MacMini running MacOS X 10.8.5 Server.

Offline mity

  • Avast team
  • Full Member
  • *
  • Posts: 149
Re: repeating com.avast.update-agent[10563] sock_create_unix_socket failing
« Reply #1 on: September 09, 2015, 05:15:06 PM »
Interesting. I guess the issue is that $HOME is on a filesystem which does not support unix sockets, right? That's clearly a bug on our side: We should create them somewhere else where we can rely on HFS+ and its capabilities. I'll take a look at this.

FYI: Until we have a fix, the product should continue to work normally. The issue will advertise only when next any program update is out: It will be unable to restart processes running in active user session (e.g. the helper program behind the tray icon). That can then be worked around by reboot or logout/login.

Thanks for the report.

REDACTED

  • Guest
Re: repeating com.avast.update-agent[10563] sock_create_unix_socket failing
« Reply #2 on: September 09, 2015, 06:13:21 PM »
Interesting. I guess the issue is that $HOME is on a filesystem which does not support unix sockets, right? That's clearly a bug on our side: We should create them somewhere else where we can rely on HFS+ and its capabilities. I'll take a look at this.

FYI: Until we have a fix, the product should continue to work normally. The issue will advertise only when next any program update is out: It will be unable to restart processes running in active user session (e.g. the helper program behind the tray icon). That can then be worked around by reboot or logout/login.

Thanks for the report.
Is $HOME is the same as the user's folder (~)? I'm not sure why this system drive would not support unix sockets - it's a Mac OS Extended (Journaled) disk with a GUID Partition Table.
So I should keep an eye on the Avast site and when a new Macintosh version comes out I need to log out and log in again or reboot so it can download the new version?

Offline mity

  • Avast team
  • Full Member
  • *
  • Posts: 149
Re: repeating com.avast.update-agent[10563] sock_create_unix_socket failing
« Reply #3 on: September 09, 2015, 07:08:56 PM »
Quote
Is $HOME is the same as the user's folder (~)?
Yes.

Quote
I'm not sure why this system drive would not support unix sockets - it's a Mac OS Extended (Journaled) disk with a GUID Partition Table.
Okey. Then the problem is elsewhere. Would be helpful if you can post a support package. E.g. as an attechment of a private message to me.
(Menu Help >> Avast Technical Support >> Generate Support Package).

Quote
So I should keep an eye on the Avast site and when a new Macintosh version comes out I need to log out and log in again or reboot so it can download the new version?
I bet you recognize it when it happens. You should see a pop-up about internal error when the failed-to-be-stopped GUI component losts connection to the core avast service which is stopped during the update, and after the new service starts, it should then show pop-up that a program update was done. Hopefully the updater should even detect something went wrong and inform you that you should reboot to fix it.