Results 1 to 4 of 4

Thread: Lighttpd with authorization: mod_auth.so not loaded

  1. #1

    Lighttpd with authorization: mod_auth.so not loaded

    Hello,

    When I install lighttpd (lighttpd-1.4.15 (ssl), Build-Date: May 22 2007 14:01:18) and enable authorization I get the following error:

    Code:
    Starting web server: lighttpd
    2007-06-05 09:26:22: (plugin.c.165) dlopen() failed for: /opt/lib/lighttpd/mod_auth.so File not found
    2007-06-05 09:26:22: (server.c.594) loading plugins finally failed
    Does anybody know what's wrong?
    The only things I changed in the stock lighttpd.conf are enabling the module and adding:

    Code:
    auth.backend               = "htdigest"
    auth.backend.htdigest.userfile = "/opt/etc/lighttpd/lighttpd.user"
    auth.require = ( "/" =>
      (
        "method"  => "digest",
        "realm"   => "ABC",
        "require" => "valid-user"
      )
    )
    Thanks,
    Pim.

  2. #2

  3. #3
    Quote Originally Posted by greengreen View Post
    Thanks Greengreen, but I found out the problem was not in the .conf file.

    It turned out that the authorization module mod_auth.so depends on openldap-libs, even when you don't enable LDAP authorization.
    After installing that package everything worked fine.

    Regards,
    Pim Borst.

  4. #4
    Quote Originally Posted by Pim Borst View Post
    Thanks Greengreen, but I found out the problem was not in the .conf file.

    It turned out that the authorization module mod_auth.so depends on openldap-libs, even when you don't enable LDAP authorization.
    After installing that package everything worked fine.

    Regards,
    Pim Borst.
    thanks for the name of the missing part
    it solved my problem, bu t i had to force the install

    Code:
    ## to solve the error
    ipkg install openldap-libs
    
    Installing openldap-libs (2.3.43-1) to /opt/...
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/openldap-libs_2.3.43-1_mipsel.ipk
    Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
    openldap-libs_2.3.43 100% |****************************************************************************|   247 KB    00:00 ETA
    Installing libdb (4.2.52-3) to /opt/...
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/libdb_4.2.52-3_mipsel.ipk
    Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
    libdb_4.2.52-3_mipse 100% |****************************************************************************|   383 KB    00:00 ETA
    ipkg: interrupted. writing out status database
    Nothing to be done
    ipkg: gzip aborted
    
    ##retry
    [admin@asusbox root]$ ipkg install -force-depends openldap-libs
    Installing openldap-libs (2.3.43-1) to /opt/...
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/openldap-libs_2.3.43-1_mipsel.ipk
    Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
    openldap-libs_2.3.43 100% |****************************************************************************|   247 KB    00:00 ETA
    Installing libdb (4.2.52-3) to /opt/...
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/libdb_4.2.52-3_mipsel.ipk
    Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
    libdb_4.2.52-3_mipse 100% |****************************************************************************|   383 KB    00:00 ETA
    Installing gdbm (1.8.3-2) to /opt/...
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/gdbm_1.8.3-2_mipsel.ipk
    Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
    gdbm_1.8.3-2_mipsel. 100% |****************************************************************************| 15867       00:00 ETA
    Installing cyrus-sasl-libs (2.1.22-2) to /opt/...
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/cyrus-sasl-libs_2.1.22-2_mipsel.ipk
    Connecting to ipkg.nslu2-linux.org[140.211.169.169]:80
    cyrus-sasl-libs_2.1. 100% |****************************************************************************|   111 KB    00:00 ETA
    Configuring cyrus-sasl-libs
    Configuring gdbm
    Configuring libdb
    Configuring openldap-libs
    Successfully terminated.

Similar Threads

  1. Инсталяция и настройка lighttpd
    By Vollsky in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 425
    Last Post: 09-11-2016, 08:00
  2. Tip: lighttpd & php code in html files
    By rj.2001 in forum WL-500g Q&A
    Replies: 0
    Last Post: 22-05-2007, 20:59
  3. lighttpd with php ??
    By theboy50 in forum WL-500g Custom Development
    Replies: 2
    Last Post: 07-06-2006, 10:11
  4. Installed lighttpd - missing library
    By zainka in forum WL-500g Q&A
    Replies: 0
    Last Post: 01-06-2006, 13:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •