Submitted by sgrayban on Thu, 01/16/2014 - 23:55
Getting this error but its wrong as the perl Authen::OATH is installed
Failed to save two-factor authentication : The Perl module Authen::OATH needed for two-factor authentication is not installed. Use the Perl Modules page in Webmin to install it.
Status:
Active
Comments
Submitted by JamieCameron on Fri, 01/17/2014 - 11:08 Comment #1
Perhaps the Perl module is installed but can't be loaded? You can test this by running :
perl -e 'use Authen::OATH'
Submitted by sgrayban on Mon, 01/27/2014 - 21:39 Comment #2
Well I have no idea what is wrong.. I have never had so much a issue with installing any perl mod manually or otherwise until now...
cpan> install Authen::OATH
Authen::OATH is up to date (1.0.0).
perl -e 'use Authen::OATH'
gives nothing and webmin says its not installed.......
Submitted by JamieCameron on Tue, 01/28/2014 - 18:57 Comment #3
Is there perhaps more than one
perl
binary on your system?Does restarting Webmin help?
Submitted by sgrayban on Wed, 01/29/2014 - 11:36 Comment #4
Restarted webmin and rebooted the server doesn't make a difference..
There is only 1 perl version installed
# locate perl |grep bin
/usr/bin/find2perl
/usr/bin/perl
/usr/bin/perl5.8.8
/usr/bin/perlbug
/usr/bin/perlcc
/usr/bin/perldoc
/usr/bin/perlivp
/usr/bin/sperl5.8.8
/usr/bin/suidperl
/usr/lib/perl5/5.8.8/unicore/CombiningClass.pl
/usr/lib/perl5/5.8.8/unicore/lib/gc_sc/InCombin.pl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Tk/bind.pod
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Tk/bindtags.pod
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Tk/demos/widget_lib/bind.pl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Tk/Widget/bindDump.al
[root@pbx1 ~]
# ll /usr/bin/perl
-rwxr-xr-x 2 root root 14984 Oct 1 12:23 /usr/bin/perl
[root@pbx1 ~]
# perl -version
This is perl, v5.8.8 built for i386-linux-thread-multi
Submitted by JamieCameron on Wed, 01/29/2014 - 15:16 Comment #5
Any chance I could login to your system to see what is going wrong here?
Submitted by sgrayban on Thu, 01/30/2014 - 00:13 Comment #6
sure -- you need to ssh into my box and then into the pbx box. Can I just skype you the info ?
Submitted by JamieCameron on Thu, 01/30/2014 - 13:01 Comment #7
That would be great. Can you IM them to me via google talk at jamiecameron@google.com ?
Submitted by sgrayban on Fri, 01/31/2014 - 00:00 Comment #8
OK I added you just waiting for you to authorize it
Submitted by pagio on Sun, 04/30/2017 - 10:41 Pro Licensee Comment #9
Can you please share what is wrong?