You are not logged in.
Pages: 1
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
Install perl-authen-pam from the AUR.
Thanks, that got rid of the PAM error
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
You need Perl4::CoreLibs. It needs to be packaged and added as a dep.
Offline
You need Perl4::CoreLibs. It needs to be packaged and added as a dep.
Did anyone solve this ?
Offline
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
Pages: 1