Keep getting invalid destination port message every 30 sec in Console

Hi, this is my first post so be easy on me. I have been checking up on a possible attack on my website and looking for things that may have caused visits/dowloads to blow out.


While do this I looked at my Console app on my iMac 2.4 Ghz Intel Core 2 Duo running 10.6.8 and notice that every 30 seconds there is a dual message:


6/09/11 4:39:38 PM imagent[161] Unable to create APS daemon connection: (ipc/send) invalid destination port

6/08/11 4;39:38 PM imagent[161] Unable to set enabled topics: (ipc/send) invalid destination port


This action then repeats itself every 30 seconds non stop. Every now and then the odd "normal" error will appear with various apps but this is constant.

The bottom of the Console window reads 4001 messages from 5/09/11 12:30:21 tp 6/09/11 4:57:08 PM


I have looked on the web to try and find out what the 161 refers to and what meaning of the phrases are, but none address 161 specifically and most seem to be in foreign languages.



Your help will be greatly appreciated


Matt

iMac, Mac OS X (10.6.8)

Posted on Sep 6, 2011 2:02 AM

Reply
4 replies

Sep 6, 2011 2:13 AM in response to MattFal

If what you say is what you did then apparently you searched for everything except for the thing that was causing the error and message in the first place! Google "os x imagent" and I think you get the necessary info on the root of your problem. A cursory glance at some of the hits looks like it is related to Facetime and a launchagent (maybe in ~/Library/LaunchAgents or /Library/Launchagents).

Sep 6, 2011 2:51 AM in response to X423424X

Thanks for that. I had a look at Facetime and had vitually forgottten about it having never used it. I tired about 8 months ago and coould never log in. All I ever got was the spinning wheel at log in, which is exactly what I have just got know as I tried to open it again.


I am wondering if it has been going throogh this process ever since.


Anyway I looked into the ~/Library/LaunchAgents and the nearest I can find are com.apple.apsd-ft.plist, com.apple.FTMonitor.plist, which may relate to Facetime and then there is com.apple.imagent.plist

which is the one that seems to be causing the problem.


Now when I read your reply and did the search using your parameters and the very first reply said that:


"As you probably know, you can get FaceTime invitations even if you have quit FaceTime. That feature is provided by "imagent".


Unless you have configured the FaceTime > Preferences... > FaceTimesetting to "OFF", you are still using "imagent" (and a couple of other support processes) even if you have "Quit" Facetime.


Once you set the preference to "OFF", imagent will go away, but you will not be able to receive any incoming FaceTime invitations until it is turned ON again."


Well as I can't log into Facetime I can't get to Preferences, to turn it off. Now bear in mind I am new to this type of thing, but I have heard some people say that you can throw plist's in the trash and that the application regenerates a new problem free version.


Is this what you suggest I do and if so which of the above three would be the one(s) to delete?


And thank you very much for the very quick reply, much appreciated


Matt

Sep 6, 2011 3:01 AM in response to MattFal

I would suggest trashing com.apple.imagent.plist and logging out and in. I believe that's sufficient to kill the process launched by that launchagent (look in Activity Monitor to see if it's there).


I don't have Facetime so I don't know if relaunching it will install a new copy of the launchagent. Also I don't know what the launchagents com.apple.apsd-ft.plist and com.apple.FTMonitor.plist are but based on those names, if they are part of facetime, maybe you should trash them too.


I assume once trashed, and you log out/in, those processes will not longer be started and your original question about th console messages will be solved. However once you relaunch Facetime, I don't know what will happen and all bets are off.


Oh, one other place to check and possibly delete is any facetime related login item(s) in your Accounts preferences.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Keep getting invalid destination port message every 30 sec in Console

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.