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:
Does anybody know what's wrong?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
The only things I changed in the stock lighttpd.conf are enabling the module and adding:
Thanks,Code:auth.backend = "htdigest" auth.backend.htdigest.userfile = "/opt/etc/lighttpd/lighttpd.user" auth.require = ( "/" => ( "method" => "digest", "realm" => "ABC", "require" => "valid-user" ) )
Pim.
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.