You are not logged in.

#1 2012-06-05 09:29:19

kcy29581
Member
From: CA
Registered: 2004-12-23
Posts: 231

[SOLVED] Webmin - Perl/PAM issue

Hi all,

I have Webmin installed and when I try to add a user via the interface I get the following error:

Can't locate timelocal.pl in @INC (@INC contains: /opt/webmin /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl . /opt/webmin/ ..) at /opt/webmin/useradmin/edit_user.cgi line 6.

After checking the /var/log/webmin/miniserv.error log, this is what I see:

[04/Jun/2012:19:16:08 -0700] miniserv.pl started
[04/Jun/2012:19:16:08 -0700] Perl module Authen::PAM needed for PAM is not installed : Can't locate Authen/PAM.pm in @INC (@INC contains: /opt/webmin /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at (eval 13) line 1.
BEGIN failed--compilation aborted at (eval 13) line 1.

[04/Jun/2012:19:17:50 -0700] [127.0.0.1] /useradmin/edit_user.cgi : Perl execution failed : Can't locate timelocal.pl in @INC (@INC contains: /opt/webmin /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl . /opt/webmin/ ..) at /opt/webmin/useradmin/edit_user.cgi line 6.

I have PAM and perl installed:

[root@bolvar ~]# pacman -Qs pam
local/pam 1.1.5-3
    PAM (Pluggable Authentication Modules) library
local/shadow 4.1.5-4 (base)
    Password and account management tool suite with support for shadow files and PAM
[root@bolvar ~]# pacman -Qs perl
local/lib32-pcre 8.30-1
    A library that implements Perl 5-style regular expressions (32-bit)
local/pcre 8.30-1
    A library that implements Perl 5-style regular expressions
local/perl 5.16.0-2 (base)
    A highly capable, feature-rich programming language
local/perl-error 0.17017-1
    Perl/CPAN Error module - Error/exception handling in an OO-ish way
local/perl-net-ssleay 1.48-2
    Perl extension for using OpenSSL
local/perl-xml-parser 2.41-3
    Expat-based XML parser module for perl
local/perl-xml-simple 2.18-4
    Simple XML parser for perl

Any clue as to what I can do?

Thanks

Last edited by kcy29581 (2012-07-24 18:34:14)


There is no spoon in Arch...

Offline

#2 2012-06-05 15:13:43

Stebalien
Member
Registered: 2010-04-27
Posts: 1,227
Website

Re: [SOLVED] Webmin - Perl/PAM issue

Install perl-authen-pam from the AUR.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#3 2012-06-05 16:26:46

kcy29581
Member
From: CA
Registered: 2004-12-23
Posts: 231

Re: [SOLVED] Webmin - Perl/PAM issue

Stebalien wrote:

Install perl-authen-pam from the AUR.

Thanks, that got rid of the PAM error smile

Now I have this one remaining (which is more similar to the webmin window error:

[05/Jun/2012:02:21:34 -0700] miniserv.pl started                                                  
[05/Jun/2012:02:21:34 -0700] PAM authentication enabled                                           
[05/Jun/2012:02:24:34 -0700] [127.0.0.1] /useradmin/edit_user.cgi : Perl execution failed : Can't locate timelocal.pl in @INC (@INC contains: /opt/webmin /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl . /opt/webmin/ ..) at /opt/webmin/useradmin/edit_user.cgi line 6.

Thanks


There is no spoon in Arch...

Offline

#4 2012-06-08 10:10:35

juster
Forum Fellow
Registered: 2008-10-07
Posts: 195

Re: [SOLVED] Webmin - Perl/PAM issue

You need Perl4::CoreLibs. It needs to be packaged and added as a dep.

Offline

#5 2012-07-24 11:41:04

edke
Member
From: Kosice, Slovakia
Registered: 2011-09-20
Posts: 43

Re: [SOLVED] Webmin - Perl/PAM issue

juster wrote:

You need Perl4::CoreLibs. It needs to be packaged and added as a dep.


Did anyone solve this ?

Offline

#6 2012-07-24 11:42:08

edke
Member
From: Kosice, Slovakia
Registered: 2011-09-20
Posts: 43

Re: [SOLVED] Webmin - Perl/PAM issue

edke wrote:
juster wrote:

You need Perl4::CoreLibs. It needs to be packaged and added as a dep.


Did anyone solve this ?


Wow, installed extra/perl-perl4-corelibs and works !

Offline

Board footer

Powered by FluxBB