In 25 years of using UNIX I've seen my share of baffling problems
but this is right up there with the best of them.
We run slapd (2.1.22 - they are under Configuration Management
freezes for Operations) on 2 Solaris 9 systems, master & replicant,
and things had been running just fine. After experiencing some
NFS issues with our NetApp, we made the decision to copy the file
systems that the LDAP servers (also our NIS servers) depend on
to local disk on those two systems.
A few days ago my officemate noticed the replicant "slapd"
wasn't accepting connections. I looked and it showed the ldap
port 389 as being in BOUND state, not LISTEN.
The master was still LISTENing but queries to it would return
results and then hang. "lsof" of that server showed that these
connections ended up being stuck in CLOSE_WAIT state.
At some point both machines were rebooted, and now each one has
the same problem - "slapd" isn't coming up all the way. It
gets as far (running in debug -1 mode) as this: