just installed kdb trial version on my new mac. When i run the binary from terminal it takes more than few minutes for the q prompt to appear. Has anyone else noticed this issue with kdb MacOSX binaries?
Hi Ajay,
This might suggest something is wrong with your network setup, and it is waiting for a timeout. It tries to get the ip and host name on startup.
Thanks Charlie,
Mac is connecting fine to network and got an ip as well
ajays-mbp:~ ajay$ ifconfig |grep inet
??? inet6 ::1 prefixlen 128
??? inet 127.0.0.1 netmask 0xff000000
??? inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
??? inet6 fe80::6203:8ff:feaa:21a2%en0 prefixlen 64 scopeid 0x4
??? inet6 fd5b:7bb0:1ea0::6203:8ff:feaa:21a2 prefixlen 64 autoconf
??? inet6 fd5b:7bb0:1ea0::b5b1:fed3:bcab:784a prefixlen 64 autoconf temporary
??? inet 192.168.0.7 netmask 0xffffff00 broadcast 192.168.0.255
However this doesn’t seem to be picked up by kdb
KDB+ 3.1 2013.12.27 Copyright (C) 1993-2013 Kx Systems
m32/ 4()core 8192MB ajay ajays-mbp 255.255.255.255 PLAY 2014.03.27
q).z.a
-1i
Any way to debug this?
what ip does
$nslookup ajays-mbp
return?
Does it help if you run these commands?
$sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
$sudo dscacheutil -flushcache sudo killall -HUP mDNSResponder
$sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
the hostname should be configured to resolve to the ipaddress.
Thanks Charlie,
Changing my dns settings to use opendns did the trick