Closed GoogleCodeExporter closed 9 years ago
You probably forgot to configure Apache to load the mod_authn_otp module.
See http://httpd.apache.org/docs/2.2/mod/mod_so.html#loadmodule or whatever
mechanism Debian uses to configure Apache modules.
Original comment by archie.c...@gmail.com
on 17 Sep 2010 at 5:55
Thanks, but I can't load this module anyway.
cat /etc/apache2/mods-available/authn_otp.load
LoadModule mod_authn_otp /usr/lib/apache2/modules/mod_authn_otp.so
then
/etc/init.d/apache2 restart
Can't locate API module structure `mod_authn_otp' in file
/usr/lib/apache2/modules/mod_authn_otp.so:
/usr/lib/apache2/modules/mod_authn_otp.so: undefined symbol: mod_authn_otp
failed!
no matter what is written instead of "mod_authn_otp" in authn_otp.load
The modul is enabled.
Stan
Original comment by stask...@gmail.com
on 22 Sep 2010 at 1:15
Looks like there is some kind of problem with the way the module gets built
and/or installed on Debian. I'm sorry I can't help as I don't know much about
Debian... see if you can find someone who does and update this issue with any
fixes to the build process. Thanks.
Original comment by archie.c...@gmail.com
on 22 Sep 2010 at 1:34
I have exactly the same problem.
running ubuntu 10.04 x64
Original comment by r.vlooth...@gmail.com
on 24 Sep 2010 at 11:24
[deleted comment]
Try to write in "/etc/apache2/mods-available/authn_otp.load"
LoadModule authn_otp_module /usr/lib/apache2/modules/mod_authn_otp.so
Path to the module must be of course yours.
Its works for me on Debian with self-compiled Apache.
Stan
Original comment by stask...@gmail.com
on 24 Sep 2010 at 11:57
Also: see if there is the "a2enmod" program on Debian. This program ships with
Apache on some systems and is used to enable modules.
Original comment by archie.c...@gmail.com
on 24 Sep 2010 at 2:22
I've the same problem, under centos 6/64
Starting httpd: httpd: Syntax error on line 219 of /etc/httpd/conf/httpd.conf:
Can't locate API module structure `mod_authn_otp' in file
/etc/httpd/modules/mod_authn_otp.so: /etc/httpd/modules/mod_authn_otp.so:
undefined symbol: mod_authn_otp
:(
could someone please help me sorting it out?
Original comment by cedi...@gmail.com
on 21 Nov 2011 at 8:58
Comment 6 works here thanks Stan, problem was the spelling in the load module.
Needs to be authn_otp_module not mod_authn_otp.
Works Apache2 Hardy
vi /etc/apache2/mods-available/mod_authn_otp.load
LoadModule authn_otp_module /usr/lib/apache2/modules/mod_authn_otp.so
:wq #to save
ln -s /etc/apache2/mods-available/mod_authn_otp.load
/etc/apache2/mods-enabled/mod_authn_otp.load
Or you can use a2enmod as well to do the linking
Original comment by ja...@zenoxlaw.com
on 28 Feb 2012 at 5:27
Issue 15 has been merged into this issue.
Original comment by archie.c...@gmail.com
on 28 Feb 2012 at 5:49
Original issue reported on code.google.com by
stask...@gmail.com
on 17 Sep 2010 at 2:54