1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

HTTPD service is failed due to mod_ldap.so

Discussion in 'Apache' started by praveenrajs, Aug 2, 2010.

  1. #1
    Hi friends,

    I have an issue related to Apache HTTPD service, which failed and thrown an exception as show below


    Starting httpd: httpd: Syntax error on line 161 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_ldap.so into server: /etc/httpd/modules/mod_ldap.so: undefined symbol: apr_ldap_ssl_init [FAILED]

    This was working fine before one of our software got updated, which in-turn updated its dependencies such as libapr-1.3.6 and libaprutil-1.3.8.This is a 64bit machine with ROCKS cluster package installed (CentOS 5.2).

    Please see below the libapr* from both /usr/lib and /usr/lib64/

    [root@cluster praveenr]# ls -l /usr/lib/libapr*
    lrwxrwxrwx 1 root root 17 Aug 2 14:49 /usr/lib/libapr-1.so.0 -> libapr-1.so.0.2.7
    -rwxr-xr-x 1 root root 160608 Aug 11 2009 /usr/lib/libapr-1.so.0.2.7
    lrwxrwxrwx 1 root root 21 Aug 2 14:49 /usr/lib/libaprutil-1.so.0 -> libaprutil-1.so.0.2.7
    -rwxr-xr-x 1 root root 115056 Aug 11 2009 /usr/lib/libaprutil-1.so.0.2.7

    [root@cluster praveenr]# ls -l /usr/lib64/libapr*
    -rw-r--r-- 1 root root 297822 Aug 11 2009 /usr/lib64/libapr-1.a
    -rwxr-xr-x 1 root root 810 Aug 11 2009 /usr/lib64/libapr-1.la
    lrwxrwxrwx 1 root root 17 Aug 2 14:42 /usr/lib64/libapr-1.so -> libapr-1.so.0.3.6
    lrwxrwxrwx 1 root root 17 Apr 21 10:27 /usr/lib64/libapr-1.so.0 -> libapr-1.so.0.3.6
    -rwxr-xr-x 1 root root 160936 Aug 11 2009 /usr/lib64/libapr-1.so.0.2.7
    -rwxrwxr-x 1 root root 669093 Jul 14 2009 /usr/lib64/libapr-1.so.0.3.6
    -rwxr-xr-x 1 root root 901 Aug 11 2009 /usr/lib64/libaprutil-1.la
    lrwxrwxrwx 1 root root 21 Apr 21 10:27 /usr/lib64/libaprutil-1.so -> libaprutil-1.so.0.3.8
    lrwxrwxrwx 1 root root 21 Apr 21 10:27 /usr/lib64/libaprutil-1.so.0 -> libaprutil-1.so.0.3.8
    -rwxr-xr-x 1 root root 118568 Aug 11 2009 /usr/lib64/libaprutil-1.so.0.2.7
    -rwxrwxr-x 1 root root 466388 Jul 14 2009 /usr/lib64/libaprutil-1.so.0.3.8

    NB: Please note I'm not interested to disable ldap modules in httpd.conf

    Please help me out with some solutions to this.

    Praveen Raj S.
     
    praveenrajs, Aug 2, 2010 IP
  2. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #2
    Have you tried rebuilding mod_ldap.so and probably Apache?
     
    tolra, Aug 2, 2010 IP
  3. praveenrajs

    praveenrajs Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for the reply

    Answer to your question is NO. but I tried soft linking the lipapr-1.so as suggested by some forums, but nothing worked,

    Please suggest a solution to resolve it.
     
    praveenrajs, Aug 2, 2010 IP
  4. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #4
    I'd rebuild mod_ldap.so as that should make it link against your current version.
     
    tolra, Aug 2, 2010 IP