Hi,
Starting to learn about server management with a brand new VPS account, so bear with me.
Cannot access Virtualmin using https://my.ip.add.ress:10000 as server timed out. I can ping my IP address ok.
The only thing I've done on a Centos7-64bit VPS is to
Setup new user
Setup root privileges
Add public key authentication
Disable root login
Configure Timezone
Configure NTP Synchronization
I then installed Virtualmin using
wget http://software.virtualmin.com/gpl/scripts/install.sh
sudo sh install.sh
Didn't look at the screen much during install, but on completion tried to access through my browser, no luck.
Now, as I'm using this VPS account as a test to learn, I purchased a 512MB RAM account, not realising this was insufficient. I have now upgraded to 1GB RAM - in the hope I can at least get access and play - still no luck.
So, looking at the virtualmin install log, all seems fine until this part:
--------------------------------------------------------------------------
Setting Webmin theme
Setting Usermin theme
Error occurred while setting Usermin theme: Failed to open PID file at ../web-lib-funcs.pl line 1397.
Configuring Postfix
Enabling Postfix and disabling Sendmail
Setting up freshclam
ClamAV update process started at Mon Jun 22 16:45:06 2015
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.98.5 Recommended version: 0.98.7
DON'T PANIC! Read http://www.clamav.net/support/faq
main.cvd is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo)
WARNING: getfile: daily-19652.cdiff not found on remote server (IP: 150.214.142.197)
WARNING: getpatch: Can't download daily-19652.cdiff from database.clamav.net
Trying host database.clamav.net (78.46.84.244)...
WARNING: getfile: Unknown response from remote server (IP: 78.46.84.244)
WARNING: getpatch: Can't download daily-19652.cdiff from database.clamav.net
nonblock_recv: recv timing out (30 secs)
WARNING: getfile: Error while reading database from database.clamav.net (IP: 66.18.18.59): Operation now in progress
WARNING: getpatch: Can't download daily-19652.cdiff from database.clamav.net
WARNING: Incremental update failed, trying to download daily.cvd
@
@
@
[LOTS MORE OF THESE]
@
@
@
Downloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [ 0%]^MDownloading daily.cvd [
[LOTS MORE OF THIS - CAN'T SEEM TO GET TO THE BOTTOM IN PUTTY CONSOLE AS IT'S ALL ON ONE LINE]
daily.cvd updated (version: 20599, sigs: 1437275, f-level: 63, builder: neo)
Downloading bytecode.cvd [ 10%]^MDownloading bytecode.cvd [ 18%]^MDownloading bytecode.cvd [ 20%]^MDownloading bytecode.cvd [ 31%]^MDownloading bytecode.cvd [ 33%]^MDownloading bytecode.cvd [ 44%]^MDownloading bytecode.cvd [ 48%]^MDownloading bytecode.cvd [ 59%]^MDownloading bytecode.cvd [ 69%]^MDownloading bytecode.cvd [ 78%]^MDownloading bytecode.cvd [ 78%]^MDownloading bytecode.cvd [ 82%]^MDownloading bytecode.cvd [ 86%]^MDownloading bytecode.cvd [ 96%]^MDownloading bytecode.cvd [100%]^MDownloading bytecode.cvd [100%]
bytecode.cvd updated (version: 260, sigs: 47, f-level: 63, builder: shurley)
Database updated (3861547 signatures) from database.clamav.net (IP: 208.72.56.53)
Configuring Dovecot for POP3 and IMAP
Enabling Dovecot POP3 and IMAP servers
Enabling ProFTPd
/bin/sh: /etc/init.d/proftpd: No such file or directory
Enabling SMTP authentication
sh: /usr/lib/sasl2/smtpd.conf: No such file or directory
sh: /usr/lib/sasl2/smtpd.conf: No such file or directory
/bin/sh: /etc/init.d/saslauthd: No such file or directory
Configuring Virtualmin
Configuring Procmail
Configuring Webalizer
Updating /etc/shells
Enabling MySQL and PostgreSQL
Enabling Apache
Configuring and enabling BIND
Configuring resolv.conf to use local DNS server
Configuring and enabling Mailman
warning: %post(virtualmin-base-1.0-69.rh.noarch) scriptlet failed, signal 9
Verifying : clamav-lib-0.98.5-1.el7.centos.vm.x86_64 1/45
Verifying : perl-Switch-2.16-7.el7.noarch 2/45
Verifying : clamav-0.98.5-1.el7.centos.vm.x86_64 3/45
[SEEMS OK FROM HERE TO THE END]
--------------------------------------------------------------------------------------------
Any clues as to whether this log file identifies a my problem?
The contents of miniserv.error following a recent Virtualmin restart
[22/Jun/2015:16:44:35 +0100] miniserv.pl started
[22/Jun/2015:16:44:35 +0100] Using MD5 module Digest::MD5
[22/Jun/2015:16:44: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.
[22/Jun/2015:16:44:38 +0100] Reloading configuration
[22/Jun/2015:16:44:40 +0100] Reloading configuration
[22/Jun/2015:16:44:41 +0100] Reloading configuration
[22/Jun/2015:16:44:42 +0100] Reloading configuration
[22/Jun/2015:16:44:48 +0100] Reloading configuration
[22/Jun/2015:16:44:50 +0100] Reloading configuration
restarting miniserv
[22/Jun/2015:16:44:53 +0100] Restarting
[22/Jun/2015:16:44:53 +0100] miniserv.pl started
[22/Jun/2015:16:44:53 +0100] Using MD5 module Digest::MD5
[22/Jun/2015:16:44:53 +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
Already running
scheduled_collect_system_info : Already running
Already running
scheduled_collect_system_info : Already running
[22/Jun/2015:17:32:38 +0100] miniserv.pl started
[22/Jun/2015:17:32:38 +0100] Using MD5 module Digest::MD5
[22/Jun/2015:17:32:38 +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.
[22/Jun/2015:17:52:10 +0100] miniserv.pl started
[22/Jun/2015:17:52:10 +0100] Using MD5 module Digest::MD5
[22/Jun/2015:17:52:10 +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.
[23/Jun/2015:11:58:11 +0100] miniserv.pl started
[23/Jun/2015:11:58:11 +0100] Using MD5 module Digest::MD5
[23/Jun/2015:11:58:11 +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.
----------------------------------end----------------------------
Ok, I uninstalled and reinstalled Virtualmin - I can now access through my browser and log in.
It might be, I can't quite remember, that I installed Virtualmin as a user not as a root (if that's even possible). Or perhaps it was installing it with only 512MB of RAM.
Anyway all sorted now.
Howdy,
I'm glad you got it working! Something definitely appears to be awry in the install log you shared above, I'm not quite sure what might cause that. But it's good to hear it's working now!
-Eric