On Mon, Dec 09, 2002 at 06:13:15PM +1100, Matt Hyne wrote:
>
> Ok, this is what seems to die, god knows why ?
>
> 18238 socket(PF_UNIX, SOCK_STREAM, 0) = 13
> 18238 connect(13, {sin_family=AF_UNIX,
> path="
> /var/run/.nscd_socket"}, 110) = -1
> ECONNREFUSED (Connection refused)
> 18238 close(13) = 0
It's attempting to connect to nscd, the name service cache daemon, but it
seems not to be running...
The Debian package description of nscd says:
Description: GNU C Library: Name Service Cache Daemon
A daemon which handles passwd, group and host lookups
for running programs and caches the results for the next
query. You should install this package only if you use
slow Services like LDAP, NIS or NIS+
I believe the libc gethostbyname call will attempt to use nscd if it is
running..? I'm surprised that failure to connect to nscd would crash a
program; I think it's meant to silently fallback to direct lookups if nscd
isn't available.
-Andrew.
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug