查看Webmin错误日志:/var/webmin/miniserv.error
显示错误:Failed to initialize SSL connection
Webmin Error: Perl module Authen::PAM needed for PAM is not installed
If you guys are getting this error on your Webmin log file /var/webmin/miniserv.error here’s how I solved the problem.
miniserv.pl started
Perl module Authen::PAM needed for PAM is not installed : Can't locate Authen/PAM.pm in @INC (@INC contains: /usr/libexec/webmin /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl .) at (eval 10) line 1.
Log in as root.
su -
Then go to /tmp and place the file there.
cd /tmp
wget http://www.perl.com/CPAN/authors/id/N/NI/NIKIP/Authen-PAM-0.16.tar.gz
Next step would be extracting the contents of Authen-PAM-0.16.tar.gz.
tar xvzf Authen-PAM-0.16.tar.gz
After that, go to Authen-PAM-0.16 which is the directory that is created once you’ve extracted the contents of Authen-PAM-0.16.tar.gz.
cd Authen-PAM-0.16
We’ll then generate a make file.
perl Makefile.PL
If it returned no errors we can then proceed to executing the following commands.
make
make install
After that everything should be fine now. To check whether the module has been loaded or not do the following command.
perl -e 'use Authen::PAM; print "Installation succestul.\n"'
After that restart Webmin.
restarting miniserv
Restarting
miniserv.pl started
PAM authentication enabled
OK。
显示错误:Failed to initialize SSL connection
SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
* Closing connection #0
curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 104
Webmin Error: Perl module Authen::PAM needed for PAM is not installed
If you guys are getting this error on your Webmin log file /var/webmin/miniserv.error here’s how I solved the problem.
miniserv.pl started
Perl module Authen::PAM needed for PAM is not installed : Can't locate Authen/PAM.pm in @INC (@INC contains: /usr/libexec/webmin /usr/lib64/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib64/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl .) at (eval 10) line 1.
BEGIN failed--compilation aborted at (eval 10) line 1.
Log in as root.
su -
Then go to /tmp and place the file there.
cd /tmp
wget http://www.perl.com/CPAN/authors/id/N/NI/NIKIP/Authen-PAM-0.16.tar.gz
Next step would be extracting the contents of Authen-PAM-0.16.tar.gz.
tar xvzf Authen-PAM-0.16.tar.gz
After that, go to Authen-PAM-0.16 which is the directory that is created once you’ve extracted the contents of Authen-PAM-0.16.tar.gz.
cd Authen-PAM-0.16
We’ll then generate a make file.
perl Makefile.PL
If it returned no errors we can then proceed to executing the following commands.
make
make install
After that everything should be fine now. To check whether the module has been loaded or not do the following command.
perl -e 'use Authen::PAM; print "Installation succestul.\n"'
After that restart Webmin.
service webmin restart
restarting miniserv
Restarting
miniserv.pl started
PAM authentication enabled
OK。