From: Jamie C. <jca...@we...> - 2018-01-14 23:52:52
|
On 13/Jan/2018 13:26 Fabian A. Santiago <fsa...@ga...> wrote .. > On January 13, 2018 3:02:48 PM EST, Jamie Cameron <jca...@we...> wrote: > >On 12/Jan/2018 22:55 Fabian A. Santiago <fsa...@ga...> > >wrote .. > >> On January 13, 2018 1:41:17 AM EST, Jamie Cameron > ><jca...@we...> wrote: > >> >On 11/Jan/2018 14:48 Fabian A. Santiago > ><fsa...@ga...> > >> >wrote .. > >> >> Hello, > >> >> > >> >> I'm running centos 7.4.1708 & webmin 1.870. > >> >> > >> >> I'm trying to setup 2fa w/ google but it keeps complaining I'm > >> >missing perl authen::OATH. > >> >> > >> >> i have installed it already and restarted everything, even the > >server > >> >itself (it's > >> >> a VPS). i have root shell access. i can also run: > >> >> > >> >> perl -e 'use Authen::OATH;' > >> >> > >> >> and it returns nothing which i understand means it's working. > >> >> > >> >> i installed it via CPAN. > >> >> > >> >> Strange thing is I tried this on another server and it worked fine > >> >there. What > >> >> is the difference here? The other server is identical. I installed > >> >webmin from > >> >> the repo via yum on both. > >> >> > >> >> I'm scratching my head and feel lost....haha. Anyway, unsure how > >to > >> >proceed. anyone? > >> >> Thanks. > >> > > >> >That's unusual - can you post the full error message that you're > >> >getting in Webmin? > >> > > >> > >>------------------------------------------------------------------------------ > >> >Check out the vibrant tech community on one of the world's most > >> >engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >> >- > >> >Forwarded by the Webmin mailing list at > >> >web...@li... > >> >To remove yourself from this list, go to > >> >http://lists.sourceforge.net/lists/listinfo/webadmin-list > >> > >> "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." > >> > >> If I try the perl modules pages it tries yum first futilely. Then > >tries Perl but > >> it keeps failing there for missing dependencies. But if I check each > >one, they're > >> installed (I tried the first couple and just assumed the rest and > >stopped). > > > >That may be the real issue - the module is installed, but the > >dependencies are > >missing. If you SSH in as root and run : > > > >perl -MCPAN -e 'install Authen::OATH' > > > >does it work? > > > >------------------------------------------------------------------------------ > >Check out the vibrant tech community on one of the world's most > >engaging tech sites, Slashdot.org! http://sdm.link/slashdot > >- > >Forwarded by the Webmin mailing list at > >web...@li... > >To remove yourself from this list, go to > >http://lists.sourceforge.net/lists/listinfo/webadmin-list > > It claims already installed. > > There were no complaints when I installed it originally. Try forcibly re-installing it with : perl -MCPAN -e 'force install Authen::OATH' |