These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Features and Plugins not working on the new forum.
Hi.
I installed nginx and when i navigate to Virtualmin -> System Settings -> Features and Plugins
its getting the below error
"Require nginx/virtual_feature.pl failed : Died at (eval 194) line 1. "
Wats wrong at my end ???
Howdy,
Do you see any errors in /var/webmin/miniserv.error?
Also, are you by chance using OpenVZ?
-Eric
i can see the following in miniserv.error .. Btw im using a dedicated server from Secured Servers ...
[26/Jun/2013:11:56:03 -0700] Reloading configuration
[26/Jun/2013:11:56:07 -0700] Reloading configuration
[26/Jun/2013:11:56:08 -0700] Reloading configuration
[26/Jun/2013:11:56:09 -0700] Reloading configuration
[26/Jun/2013:11:56:14 -0700] Reloading configuration
[26/Jun/2013:11:56:19 -0700] Reloading configuration
restarting miniserv
[26/Jun/2013:11:56:37 -0700] Restarting
[26/Jun/2013:11:56:37 -0700] miniserv.pl started
[26/Jun/2013:11:56:37 -0700] Using MD5 module Digest::MD5
[26/Jun/2013:11:56:37 -0700] 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 17) line 1.
BEGIN failed--compilation aborted at (eval 17) line 1.
Hmm, normally the PAM module isn't required, though it seems to be particularly upset about that not being available.
Did you by chance configure Webmin to use PAM authentication, rather than just using the default /etc/passwd authentication?
That could cause the problem you're seeing there... fixing it should just be a matter of installing the Authen::PAM module though.
What distro/version are you using?
-Eric
Heey Eric,
Im a newbie :) dnt know much abt u r asking.. i used "install.sh" for installation ..
My distro is Cent OS 6.4 x86_64
installed PAM... now that PAM error is gone..but still in "/var/webmin/miniserv.error" its showing
Error: Require nginx/virtual_feature.pl failed : Died at (eval 197) line 1.
Is your system configured to use Nginx as a webserver, rather than Apache?
It appears to be trying to load some Nginx code, but failing.
-Eric
Yes.. Its Nginx ..
also have a file in /usr/libexec/webmin/nginx/virtual_feature.pl
do a re-install solves the problem ?
heey i fixed it.. removed "nginx" folder inside "/usr/libexec/webmin/" and installed the following
yum install wbm-virtualmin-nginx wbm-virtualmin-nginx-ssl
now i can see Virtualmin -> System Settings -> Features and Plugins
Thank you Eric for the clues :)