|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
problems starting ldap server
Hi,
I already hat a ldap server running and everything was working fine. Then I tried modified an entry (using phpLDAPAdmin) which also worked fine before but this time it just went on working for ages so I just quit it using the "back" button. Now nothing works anymore - I got the message: "Can't contact LDAP server error code: 0x51(LDAP_SERVER_DOWN) description: The LDAP server is down." Using "ldapadd -x" the message I receive is: "ldap_bind: Can't contact LDAP server (81)" With "ps aux | grep slapd" I see that one process is running, however with /etc/init.d/ldap status I only get: "Checking for service ldap: " I searched so many sites now and I found that a lot of people had the same problem but the solutions don't work for me or are just to complicated. So if somebody knows what may be the problem, please help me! ...in a beginner-friendly way ;-) So long, Uma |
|
#2
|
||||
|
||||
|
can you restart the process? if you can't figure it out try rebooting the machine if you can
__________________
Miscellaneous Software Viper_SB Developershed E-Support Anyone else play chess? Challenge me |
|
#3
|
|||
|
|||
|
what does netstat output tell me?
Quote:
Yes, I tried both but it didn't help. I read in some sources to check the netstat output. I found out that neither slapd nor the port number 389 appear anywhere in the list. I just don't know what to do with this information... Any idea? Regards, Uma |
|
#4
|
||||
|
||||
|
if nothing appears in the list them ldap isn't running at all, that's the problem, try starting it
|
|
#5
|
|||
|
|||
|
port problem?
Quote:
I already tried that a couple of times: /etc/init.d/ldap start -> done /etc/init.d/ldap status -> running Still no entry in the netstat list and the same error as before (Can't contact ldap server). Do you (or anybody else) know other (maybe port related) issues that might cause that behaviour? Btw, telnet localhost 389 also doesn't work. Last edited by UmaM : March 10th, 2004 at 06:10 AM. Reason: forgot something |
|
#6
|
|||
|
|||
|
Problem solved :-)
Hi,
fixed the problem :-) Obviously some of my data was corrupted which would also explain why ldap stopped working just like that while I was editing data via a web interface. I moved all the data from /var/lib/ldap to /var/lib/ldapold and created a new empty /var/lib/ldap directory. Working now! Thank you Viper_SB for your replies to my postings! Cheers! Uma |
|
#7
|
||||
|
||||
|
glad it worked out
|
![]() |
| Viewing: Dev Shed Forums > Databases > LDAP Programming > problems starting ldap server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|