You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

nstat_lookup_entry failed:2

anyone know what this means?


I have 1000's of entries in the console from the kernel


nstat_lookup_entr failed: 2

iPhone 4, iOS 4.3.3

Posted on Jul 22, 2011 12:00 PM

Reply
56 replies

Dec 7, 2011 5:16 AM in response to Zorko993443

Hi all,

I would like other readers to know that I have tried the following to no avail:


• Switching off Remote Login, File Sharing and Screen Sharing.

• Activating the standard Firewall

• Switching off other 3rd party utilites that mayhave been phoning home

• Renaming (in the Computer Name field)


Luckily it appears my performance hits- actually stalling and hanging- were caused by - no surprise here- Flash-enabled sites. I have 5 Flash-free tabs open now and the CPU isn't dying anymore.

Jan 22, 2012 12:59 PM in response to Zorko993443

Since a few days, my MBP hangs at startup from time to time (Apple logo and progress wheel spinning forever). So I decided to boot in verbose mode and discovered that dreaded entry in the log. After a quick search in Google, here I am.


I have file and screen sharing activated. In the Console kernel.log, "nstat_lookup_entry failed: 2" stops showing as soon as I turn off screen sharing. If I turn it back on, the message eventually comes back.


I'll see if the boot issue persists after screen sharing has been deactivated.

Feb 15, 2012 11:49 AM in response to jinniferb

This is very easy to explain: As long as your kernel is running, it may output this error message — even, or rather, especially when there is no network connectivity.


The only way to reliably disable this annoying message from popping up in your log file is by following Simon Heimlicher's suggestion and disabling the "net.statistics" feature of the kernel.

Feb 25, 2012 4:23 PM in response to Spinland

I noticed something odd about the way Apple has the Postfix master daemon set up--at least in the non-server version of Lion. It is run with the options "-e" "60", which causes the daemon to exit and restart every 60 seconds.


Every time the daemon starts, it causes a couple or three "nstat_lookup_entry failed: 2" entries.


I'm not sure why the daemon would need to exit every 60 seconds; my Red Hat Enterprise Linux (and CentOS and Scientific Linux and Ubuntu) servers which run Postfix have the master daemon running continuously--no exit option (-e) specified at all.


So, since I am using Postfix, I changed /System/Library/LaunchDaemons/org.postfix.master.plist by removing the lines saying "<string>-e</string>" and "<string>60</string>".


The master daemon restarting every minute would explain some odd behaviour from Postfix I've seen; unexpected "connection refused" errors that go away when you retry.

Mar 20, 2012 12:57 AM in response to Zorko993443

I'm also not running Lion Server but I came across these nstat_lookup_entry_failed:2 errors in my logs after suddenly experiencing desktop freezes.


I did two things to stop this, but I am not 100% sure which one actually fixed it.


> First I deleted the Airport Utility.app from my Lion install as I am on a desktop with no Wifi only Wired LAN.

> Second I turned off all sharing features.


--- the reason I deleted airport is because I was seeing repeated errors relating to airport and I have no use for wifi at all.


When I have more time I will turn on sharing features one at a time and see which one of those (perhaps) brings the error back.

nstat_lookup_entry failed:2

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