I recently enabled the AIX name server caching daemon (netcd) on AIX. The process simply involved starting the netcd subsystem and uncommenting its entry in /etc/rc.tcpip so that the service will automatically start during the next system boot.
This is where the fun stopped - as I soon found that the daemon crashed on certain systems.
To enable debugging involves the following:
Add a *.debug entry to /etc/syslog.conf:
*.debug /tmp/syslog.out rotate size 100k files 4
Refreshing the syslogd daemon:
touch /tmp/syslog.out && refresh -s syslogd
Starting the netcd daemon with its debug flag:
startsrc -s netcd -a "-d 10"
I will update this blog entry once the root cause of the crashes has been established. In the meantime, I would recommend running on the latest SP before enabling netcd as there are at least a few known issues, one of which appear fairly serious:
IV34172: NETCD MEMORY LEAK APPLIES TO AIX 6100-09 IV35021: NETCD MEMORY LEAK APPLIES TO AIX 7100-01