Features and Plugins not working

10 posts / 0 new
Last post
#1 Wed, 06/26/2013 - 15:02
manujanardhanan

Features and Plugins not working

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 ???

Wed, 06/26/2013 - 17:45
andreychek

Howdy,

Do you see any errors in /var/webmin/miniserv.error?

Also, are you by chance using OpenVZ?

-Eric

Wed, 06/26/2013 - 22:13 (Reply to #2)
manujanardhanan

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.
Thu, 06/27/2013 - 09:33
andreychek

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

Thu, 06/27/2013 - 11:54
manujanardhanan

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

Thu, 06/27/2013 - 12:17
manujanardhanan

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.

Thu, 06/27/2013 - 13:03
andreychek

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

Thu, 06/27/2013 - 13:09
manujanardhanan

Yes.. Its Nginx ..

also have a file in /usr/libexec/webmin/nginx/virtual_feature.pl

Thu, 06/27/2013 - 13:12
manujanardhanan

do a re-install solves the problem ?

Thu, 06/27/2013 - 13:58
manujanardhanan

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 :)

Topic locked