martes, 22 de mayo de 2012

mDNSReporter error (MacOSX SnowLeopard 10.6.8)

10 days aggggrrrrrr.......

PROBLEM:

[Hax0r@HOST] LaunchDaemons $ ping www.google.com
... (I hate You For Ever)

[Hax0r@HOST] LaunchDaemons $ host www.google.com
www.google.com is an alias for www.l.google.com.
www.l.google.com has address 190.248.1.212
... (Ok)

In /var/log/system.log:

May 23 00:55:13 na mDNSResponder[1426]: Administratively prohibiting multicast advertisements
May 23 00:55:13 na mDNSResponder[1426]: SCPreferencesCreate failed: Permission denied
May 23 00:55:13 na mDNSResponder[1426]: WatchForInternetSharingChanges failed -65539
May 23 00:55:13 na mDNSResponder[1426]: Daemon start: mDNS_Init failed -65539
May 23 00:55:13 na mDNSResponder[1426]: Daemon start: mDNSDaemonInitialize failed
May 23 00:55:13 na com.apple.launchd[1] (com.apple.mDNSResponder[1426]): Exited with exit code: 253
May 23 00:55:13 na com.apple.launchd[1] (com.apple.mDNSResponder): Throttling respawn: Will start in 10 seconds

FIX:

(If you need the exactly .plist version go to http://www.opensource.apple.com/source/mDNSResponder/ , mine is mDNSResponder-258.21 from /var/log/system.log)

[Hax0r@HOST] LaunchDaemons $ pwd
/System/Library/LaunchDaemons
[Hax0r@HOST] LaunchDaemons $ ls -l | grep -i mDNS
-rw-r--r--  1 root  wheel   943 May 23 00:45 com.apple.mDNSResponder.plist
-rw-r--r--  1 root  wheel   543 May 22 23:13 com.apple.mDNSResponderHelper.plist
[Hax0r@HOST] LaunchDaemons $

[Hax0r@HOST] LaunchDaemons $ chmod -R 755 /Library/Preferences/SystemConfiguration
[Hax0r@HOST] LaunchDaemons $ launchctl unload -w com.apple.mDNSResponder.plist
[Hax0r@HOST] LaunchDaemons $ launchctl load -w com.apple.mDNSResponder.plist

In /var/log/system.log:

May 23 01:02:01 na mDNSResponder[1442]: mDNSResponder mDNSResponder-258.21 (May 26 2011 14:40:13) stopping
May 23 01:02:07 na mDNSResponder[1592]: mDNSResponder mDNSResponder-258.21 (May 26 2011 14:40:13) starting
May 23 01:02:07 na mDNSResponder[1592]: Administratively prohibiting multicast advertisements

[Hax0r@HOST] LaunchDaemons $ ping www.google.com
PING www.l.google.com (190.248.1.173): 56 data bytes
64 bytes from 190.248.1.173: icmp_seq=0 ttl=58 time=11.807 ms
...

:)


Thanx for the Hint @tinpardo

No hay comentarios:

Entradas populares