Login failure

This is a new installation of virtualmin pro on centos 7

The installation appeared to run OK.

When I try to login on localhost:10000, the login fails. Using the standard root credentials and also tried a new admin user.

Very odd since this was a completely vanilla install on a new server. Any advice appreciated. .



Howdy -- you should normally be able to log into Webmin using the same root password that works from SSH and the console.

Are you able to log in as root via SSH?

Hi Andy

I was trying to login with the same root credentials as for SSH, which works fine.

Since raising this I thought to look at the log. Turns out there was an error in the installation connected with a missing PAM module, and a consequent compilation failure.

The installation just carried on to its conclusion, so I wasn't aware of this.

I have now trashed the Centos install (virtualmin uninstall didn't uninstall sufficiently for a new install to work) and started again. This time I will make sure pam-devel and anything else from PAM which looks revevant is installed before installing virtualmin.

Not sure how vanilla the Centos 7 install is - I am using a packaged version on a soyoustart (ovh) dedicated server.

There might be a need for the virtualmin installer to check the pam prerequisites

I will let you know how I get on.


Did you happen to capture the error message from the installer regarding PAM?

Installed pam-devel and pam module for authentication with ssh-agent prior to virtualmin install, but still get error:

from /var/webmin/miniserv.error

Pre-loaded WebminCore [05/Jan/2015:18:55:35 +0100] miniserv.pl started [05/Jan/2015:18:55:35 +0100] Using MD5 module Digest::MD5 [05/Jan/2015:18:55:35 +0100] Perl module Authen::PAM needed for PAM is not installed : Can't locate Authen/PAM.pm in @INC (@INC contains: /usr/libexec/webmin /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 13) line 1. BEGIN failed--compilation aborted at (eval 13) line 1.

Failed to initialize SSL connection Failed to initialize SSL connection [05/Jan/2015:18:55:37 +0100] Reloading configuration [05/Jan/2015:18:55:39 +0100] Reloading configuration [05/Jan/2015:18:55:40 +0100] Reloading configuration [05/Jan/2015:18:55:41 +0100] Reloading configuration [05/Jan/2015:18:55:42 +0100] Reloading configuration [05/Jan/2015:18:55:51 +0100] Reloading configuration [05/Jan/2015:18:55:55 +0100] Reloading configuration restarting miniserv

Normally that missing module isn't needed, but it Webmin were configured to use PAM, it would indeed prevent logins. It might be worth a shot installing the Authen::PAM module to see if that corrects the problem you're seeing.

To do that, run this command from the command line as root:

cpan -i Authen::PAM

Then restart Webmin:

/etc/init.d/webmin restart

Once you do that, are you able to log into Webmin/Virtualmin as root?

Found myself on slippery slope:

cpan not installed

installed cpan, but that had errors. Googled errors but went around in circles.

Decided to abaandon installing on Centos 7

Installed virtualmin on Centos 6.6 - worked first time

Thanks for your help, but (and this isn't my first encounter with it) Centos 7 seems too much trouble.

Difficult to believe, but (at least in my experience) it doesn't seem ready for production use