Edit /etc/nsswitch.conf and turn off the 'db' services if you're not using them. (This problem tended to appear on older Debian Linux/Linux systems.)