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

And... another bug Nstat Lookup failure

Kernel: nstat_lookup_entry failed: 2

Kernel: nstat_lookup_entry failed: 2

Kernel: nstat_lookup_entry failed: 2

Kernel: nstat_lookup_entry failed: 2

Kernel: nstat_lookup_entry failed: 2

Kernel: nstat_lookup_entry failed: 2


And lots more.


People havent fount a real reason for it.

Seen it on some other fora too.


Happens in both Lion, and Lion Server


Anyone ?

Mac Pro, Mac OS X (10.7), Server

Posted on Jul 29, 2011 12:09 AM

Reply
9 replies

Aug 11, 2011 11:19 AM in response to Tony T1

11.08.11 19:14:43,000 kernel: nstat_lookup_entry failed: 2

well this is what happend in the Console!

I already tryed to fix the /etc/hosts

"localhost = 127.0.0.1 "

But it didn't help....I am still getting this Error nstat_lookup_entry!

An got it on a Lion Server and a Lion Client....and my Client can not reach with a ping another Computer in the network!

Aug 14, 2011 7:27 AM in response to Martyin

I had this same problem when I upgraded to Lion, and spent some time tracking down its source. I am running Easy Connect 1.8 to support screen sharing and file sharing with my iPad. When I killed Easy Connect, the error messages stopped.


If you are not running Easy Connect, and you see the problem. Try running Activity Monitor and look for any network based software that you have installed that is running in the background. Watch the kernel logs, and see if you kill the process, the messages stop. Then send a bug report into the application developer.

Aug 14, 2011 8:24 AM in response to dskilken

It also might be that server admin is causing trouble.

After a lot of searching I found there are serveral reasons for the messages.

Sinds yesterday I did NOT get ANY of these messages, until I started Server Admin.


First,

If you upgraded, check your file sharing.

To be shore, disable all filesharing that you may or may not have issued in the previous version.

Monitor the log while doing that, in my case the messages decreased to 0.


Second, find out if you have any 3d party software making connections OR monitoring connections.

Find out by using netstat what connections are in use.. do this thourowly !!


Then if your nstat messages went away, try different applications while monitoring the logs


This is the only way I could think of to narrow it down...


Now I am trying to figure out why SA is giving me these errors again...


Sep 26, 2011 2:02 PM in response to Martyin

This message stems from a new feature introduced in OS X Lion's kernel, which appears to collect network statistics. Given that every machine spits it out every now and then, it can safely be classified as simple noise.


The fact that it appears in the kernel log is probably a mere oversight on the side of Apple, as the message is certainly not critical and of absolutely no value. It looks like a debugging message the developer forgot to comment out.


This page by Simon Heimlicher analyzes the kernel source code and provides a kernel configuration change to disable network statistics collection and suppress the error message permanently.

And... another bug Nstat Lookup failure

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