#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Manchester, UK
    Posts
    34
    Rep Power
    11

    LDAP connection failed on suse openex server


    having trouble accessing my openexchange server on the network Im getting the prompt

    Software error:
    Connection to LDAP Server failed! at /srv/www/start/index.pl line 45.

    Ive not the foggiest wat this has to do with me being able to access the server over the network or where to start to fix it

    Can anyone pls shed some light?

    thanx in advance

    cuban
    I came to bring the rain!
  2. #2
  3. Chris Larivee
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    Littleton, CO
    Posts
    72
    Rep Power
    12
    Can you:

    Ping the server by the parameters you are specifying in the script (ip or hostname)?

    Connect to the LDAP server from any other mechanism - like LDAP search? This will ensure the process is running and that you are using the right port ...

    Connect to the server using the context the script uses (ie does the script bind - if so is it using appropriate credentials - if not - should it be using credentials rather than anonymous).

    I am unfamiliar with the script - but checking to see if the server is running would be a good place to start.
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Manchester, UK
    Posts
    34
    Rep Power
    11
    yes the server is running I did a search on google and came up with the following

    http://www.google.co.uk/search?sourc...Epl+line+45%2E

    not looking promising
    I came to bring the rain!
  6. #4
  7. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Manchester, UK
    Posts
    34
    Rep Power
    11
    just ran

    ldapsearch -x

    and recieved

    cant contact ldap server (81)
    Last edited by cubanallstar83; January 23rd, 2004 at 09:18 AM.
    I came to bring the rain!
  8. #5
  9. Chris Larivee
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    Littleton, CO
    Posts
    72
    Rep Power
    12
    Is it possible that the server is down? Can you check the process on the LDAP server - or is it out of your control?
  10. #6
  11. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Manchester, UK
    Posts
    34
    Rep Power
    11
    Ive been trawling the net and found a thread where a chap had the same problem A solution was posted recommending that the guy deleted a log file located in /var/lib/ldap I did this and rebooted and then got a different status

    connection to ldap server failed! at /srv/www/start/index.pl line 45.

    I checked the file and a new one had been created

    I then tried the following:

    rcldap status stop
    db_recover -h /var/lib/ldap
    rcldap start

    rebooted

    and now!

    ldap search failed! at /srv/www/start/index.pl line 58.

    I also checked the status of the ldap server

    rcldap status

    and got

    unused

    Im so confused! Trying to dig up help aswell is proving a nightmare!
    I came to bring the rain!
  12. #7
  13. Chris Larivee
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Location
    Littleton, CO
    Posts
    72
    Rep Power
    12
    What is line 58 trying to do?
  14. #8
  15. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Manchester, UK
    Posts
    34
    Rep Power
    11
    Hi Chris sorry didnt get back 2 u Managed to get my openex server running in the end Gave up on trying so solve the problem manually and instead reinstalled! It was just taking up too much time Fortunately there wasnt any data on it but im still baffalled to as y it screwed up in the first place Searching, it would appears to be quite a common problem although nobody seems to know how to rectify it without reinstalling. Hopefully it wont happen again. Many thanks for your help

    cuban
    I came to bring the rain!
  16. #9
  17. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2004
    Posts
    1
    Rep Power
    0

    Try to edit /etc/openldap/schema/suse-email-server.schema


    try to edit /etc/openldap/schema/suse-email-server.schema

    in line 372 "dhcpHostDN"
    uncommetn all lines! Then rcldap restart an ready


    Originally Posted by cubanallstar83
    Ive been trawling the net and found a thread where a chap had the same problem A solution was posted recommending that the guy deleted a log file located in /var/lib/ldap I did this and rebooted and then got a different status

    connection to ldap server failed! at /srv/www/start/index.pl line 45.

    I checked the file and a new one had been created

    I then tried the following:

    rcldap status stop
    db_recover -h /var/lib/ldap
    rcldap start

    rebooted

    and now!

    ldap search failed! at /srv/www/start/index.pl line 58.

    I also checked the status of the ldap server

    rcldap status

    and got

    unused

    Im so confused! Trying to dig up help aswell is proving a nightmare!
  18. #10
  19. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Location
    Manchester, UK
    Posts
    34
    Rep Power
    11
    Hi Outcut! I'd actually given up this project as I could no longer afford the time messing around. However I gave your suggestion ago and could not find the line "dhcpHostDN" or line 372 for that matter.

    Can you be more specific?

    Kind Regards
    I came to bring the rain!
  20. #11
  21. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2004
    Posts
    1
    Rep Power
    0

    Talking Ah, had the same problem, needed to upgrade to 4.1


    I figured out by first rem'ing out the lines in the /etc/openldap/schema/suse-email-server.schema file (line 370-2 I think) that I was able to login.

    Then I had another ldap error, googled it, and found that I had neglected to run "/usr/share/doc/packages/imapweb32/tools/update40.sh -a" after installing the server. Ran that, no more problems!

    Rob

IMN logo majestic logo threadwatch logo seochat tools logo