[Date Prev][Date Next] [Chronological] [Thread] [Top]

slapd stopped listening to network



Problem:                                                                        
        slapd doesn`t listen on 389 port,i`m unable to connect to directory.    
                                                                                
Info:                                                                           
                                                                                
Once, i was unable to receive mail about regular backups. I explored            
the problem and found that postfix was unable to lookup names in ldap,          
so deliver failed.                                                              
                                                                                
When i checked slapd, i found that it doesn`t listen to 389 port. Very          
strange, because i didn`t change anything in ldap setup and did not enable      
any firewalling software. 

Here is what netstat shows:
netstat -apl                                                                    
                                                                                
Active Internet connections (servers and established)                           
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 mail.vc.lan:imap        *:*                     LISTEN      
tcp        0      0 mail.vc.lan:domain      *:*                     LISTEN      
.........
unix  2      [ ]         DGRAM                    78342  19430/slapd            
..

this is only line about slapd. Nmap shows all ports closed. I`ve
written small server program,
that only listens to port 389 - it works fine, so i`m sure that
machine network is avaliable for system processes.

openldap2-2.2.15-5.1                                                            
openldap2-client-2.2.15-5.1 

distro is suse prof 9.1, updated to suse 9.2.

I`ve made a lot of debug work, but still can`t understand what`s
happening on the machine. If you need any debug info, it`s avaliable.
bug? is reproducable. Also, i have second machine with suse 9.1 and
almost same config, slapd works fine there.

I`m going to try compiling all ldap software from source with latest
versions and see what it gives, but i`m still want to understand where
problem is and don`t want to reinstall all the system, following
windows way.

If you have any thoughts on this problem, please comment. Your help
greatly appreciated.