LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-19-2013, 11:40 AM   #1
keymoo
Member
 
Registered: Jan 2002
Location: UK
Distribution: Desktop - Ubuntu, Server - Debian, CentOS
Posts: 72

Rep: Reputation: 15
Perl module Authen::PAM needed for PAM is not installed


I have installed CentOS 6.3 x64 minimal install. I did

Code:
yum update
Added the webmin repo according to the webmin instructions at www.webmin.org

Code:
yum update
yum install webmin
All OK.

Code:
service webmin status
gives

Code:
Webmin (pid 1217) is running
However I cannot access my webmin server from my workstation. In /var/webmin/miniserv.error I see this:

Code:
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 11) line 1.
BEGIN failed--compilation aborted at (eval 11) line 1.
So I did:

Code:
yum install gcc
yum install make
yum install pam-devel
Rebooted. Still not working. Any ideas?
 
Old 01-19-2013, 11:48 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
You could try
Code:
perl -MCPAN -e shell
install Authen::PAM
exit
If you haven't used CPAN before, you may be prompted for some configuration parameters before the CPAN shell appears. You can safely answer 'yes' to the question about automatic configuration.
 
Old 01-19-2013, 12:15 PM   #3
keymoo
Member
 
Registered: Jan 2002
Location: UK
Distribution: Desktop - Ubuntu, Server - Debian, CentOS
Posts: 72

Original Poster
Rep: Reputation: 15
Code:
perl -MCPAN -e shell
gives

Code:
Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.
 
Old 01-19-2013, 12:37 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
I'm no CentOS/RHEL expert, but it seems there's something wrong with your perl installation. I would recommend reinstalling perl and any related packages.
 
Old 01-19-2013, 01:12 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
CentOS (6.3) : CPAN is a separate package.

# yum install perl-CPAN

And : 'perl-Authen-PAM' is in the EPEL.repo
https://fedoraproject.org/wiki/EPEL
"Extra Packages for Enterprise Linux"
# rpm -Uvh http://ftp.crc.dk/fedora-epel/6/i386...6-7.noarch.rpm
# yum install perl-Authen-PAM


-
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.2 AuthType Digest, PAM Module, MySQL - Configuration & guidance needed.. tomehb Linux - Server 2 02-18-2010 07:20 PM
PAM module:passwd:- how many character validate by pam library amit_pansuria Linux - General 3 10-21-2008 01:19 AM
using Authen::pam of perl module sandiplinux Linux - General 1 03-12-2008 07:30 PM
vsftpd + pam + virtual users - Pam cannot load database file. mdkelly069 Linux - Networking 3 09-22-2004 11:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration