I tried to install virtualmin after installing a PERL 5.30.0 via Perlbrew.
This is installed in path /root/perl/* and bash variable set current as system shows my current Perl as 5.30.0
But i get the following errror. - Can't locate Virtualmin/Config.pm in @INC (you may need to install the Virtualmin::Config module) (@INC contains: /root/perl5/perlbrew/perls/perl-5.30.0/
▣▣▣ Phase 3 of 3: Configuration Can't locate Virtualmin/Config.pm in @INC (you may need to install the Virtualmin::Config module) (@INC contains: /root/perl5/perlbrew/perls/perl-5.30.0/l ib/site_perl/5.30.0/x86_64-linux /root/perl5/perlbrew/perls/perl-5.30.0/lib/site_perl/5.30.0 /root/perl5/perlbrew/perls/perl-5.30.0/lib/5.30.0/x86_64-linu x /root/perl5/perlbrew/perls/perl-5.30.0/lib/5.30.0) at /usr/bin/virtualmin-config-system line 9. BEGIN failed--compilation aborted at /usr/bin/virtualmin-config-system line 9. ▣▣▣ Cleaning up
[WARNING] The following errors occurred during installation:
◉ Postinstall configuration returned an error. [WARNING] The last few lines of the log file were: Installing Virtualmin and all related packages: Success. Spin pid is: 9222 Loaded plugins: fastestmirror Cleaning repos: base centos-sclo-rh centos-sclo-sclo elrepo epel extras : mariadb-main mariadb-maxscale mariadb-tools nginx remi-php71 : remi-safe updates virtualmin virtualmin-universal Cleaning up list of fastest mirrors Other repos take up 10 M of disk space (use --verbose for details) Cleaning up software repo metadata: Success. Spin pid is: 9259 Installing updates to Virtualmin-related packages: Success. [2019-08-23 20:36:43 CEST] [DEBUG] Phase 3 of 3: Configuration [2019-08-23 20:36:43 CEST] [DEBUG] Cleaning up temporary files in /tmp/.virtualmin-4364. [2019-08-23 20:36:43 CEST] [WARNING] The following errors occurred during installation: [2019-08-23 20:36:43 CEST] [WARNING] The last few lines of the log file were: [root@srv srv]# ^C [root@srv srv]#
So in a sense, It finds my correct perl path and tries to install but fails somehow in the post installation.
What is also baffling is even with failed post install completion i login into the system and navigate to Webmin->others->Perl Modules . I see Perl version 5.16.3 (this is the version shipped with the OS) not the new version in my $env path. Image is attached.
I am stuck now and need help.
How have you guys used virtualmin with custom perl version? Am i missing something?