Can't locate virtualmin-registrar-lib.pl

This is a fresh install Debian 9/Virtualmin. Please go to Webmin section then Networking. Click on "Virtualmin Domain Registration" link. The loaded page will show this error message:

Error - Perl execution failed
Can't locate virtualmin-registrar-lib.pl in @INC (@INC contains: /usr/share/webmin /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/webmin/virtualmin-registrar/index.cgi line 10.

File virtualmin-registrar-lib.pl exists on server /usr/share/webmin/virtualmin-registrar/virtualmin-registrar-lib.pl. It is on the same folder with index.cgi which gives error line 10.

Status: 
Closed (fixed)

Comments

Status: Fixed ยป Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Daymond's picture
Submitted by Daymond on Sun, 06/30/2019 - 16:08

I have this same issue, and I am running the same OS, getting the exact same error message. I have run update on the system attempting to get the bug fix, but the error still occurs. Still a bit green with Virtualmin, so any assistance is greatly appreciated. Oh, not a fresh installation in my case, I have been running this server for at least 1.5 years.

Reading package lists... Done Building dependency tree Reading state information... Done perl is already the newest version (5.24.1-3+deb9u5). webmin-virtual-server is already the newest version (6.06.gpl-2). webmin-virtual-server set to manually installed. python is already the newest version (2.7.13-2).

Daymond's picture
Submitted by Daymond on Sun, 06/30/2019 - 16:21

My apologies, I just followed the link for the code fix, and manually made the change to index.cgi, and everything is working fine now.