Stuck in a loop trying to enable 2 factor auth in Webmin

1 post / 0 new
#1 Fri, 08/26/2016 - 15:23
arjones85

Stuck in a loop trying to enable 2 factor auth in Webmin

When trying to enable Google Authenticator on a CentOS 7 box I get:

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.

So I follow the link, it installs it and I get:

Make and install of Authen::OATH successful.

CPAN also reports:

Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/root/.cpan/Metadata'
Database was generated on Thu, 25 Aug 2016 20:29:02 GMT
Authen::OATH is up to date (2.0.0).

However going back to enable Google Authenticator yields the same message as above, telling me that the I need to install the module.

Help me out please!

Thanks :)