Discussion:
Bug#628092: unscd: cannot connect to /var/run/nscd/socket
(too old to reply)
Florent Angebault
2011-05-27 07:40:01 UTC
Permalink
Package: unscd
Version: 0.47-2
Severity: normal


I see this message when performing operations like adding a user to a group:

***@belgarion:~$ LC_ALL=C sudo adduser pitchum staff
Adding user `pitchum' to group `staff' ...
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
Adding user pitchum to group staff
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
cannot connect to /var/run/nscd/socket
Done.

The command ends successfully.

I don't know the meaning of these warnings but I'd like to remove them.
They show up on many occasions. For example, they appeared at the end of
the installation of some packages (like mysql-server). I guess it's
because these packages use the 'adduser' command.

I don't if this is related but on the same machine I have the following
packages installed:
slapd
libnss-ldap
libpam-ldap

Also, the /etc/nsswitch.conf contains the following lines:
passwd: compat ldap
group: compat ldap
shadow: compat ldap

And PAM was configured to authenticate users against LDAP using
'pam-auth-update' command.

Tell me if you need more information.


-- System Information:
Debian Release: 6.0.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages unscd depends on:
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib

unscd recommends no packages.

unscd suggests no packages.

-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Don Armstrong
2011-05-27 16:00:02 UTC
Permalink
You most likely had nscd or unscd running at some time in the past,
and it is no longer running. However, /var/run/nscd/socket still
exists. Start it or remove the socket and the problem should stop.


Don Armstrong
--
America was far better suited to be the World's Movie Star. The
world's tequila-addled pro-league bowler. The world's acerbic bi-polar
stand-up comedian. Anything but a somber and tedious nation of
socially responsible centurions.
-- Bruce Sterling, _Distraction_ p122

http://www.donarmstrong.com http://rzlab.ucr.edu
--
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Loading...