quiritt | 28 Feb 15:21 2005

Problems starting MON

Hi,

I´m having problems to start mon on the host server of a ha cluster.

When I try to start the mon it gives me following error:

Starting mon daemon: cf error: could not use PAM authentication: Can´t
locate Authen/AM.pm in  <at> INC ( <at> INC contains:
/usr/lib/perl5/5.8.1/i386-linux-thread-multi /usr/lib/perl5/5.8.1
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl .) at (eval 4) line 1, <CFG> line 14.
Begin failed--compilation aorted at (eval 4) line1, <CFG> line 14

the cluster consists of 2 isp1100 running Mandrake9.2

I have no idea what i´m missing here or doing wrong.

Regards,
John
David Nolan | 28 Feb 16:18 2005
Picon

Re: Problems starting MON


--On Monday, February 28, 2005 3:21 PM +0100 quiritt <at> fragnations.com wrote:

> Hi,
>
> I´m having problems to start mon on the host server of a ha cluster.
>
> When I try to start the mon it gives me following error:
>
> Starting mon daemon: cf error: could not use PAM authentication: Can´t
> locate Authen/AM.pm in  <at> INC ( <at> INC contains:
         ^^^^^^^^^^^^
Is that a typo in your copying of the error message, or the actual output 
of mon?  Mon should be trying to old Authen::PAM, which should be trying to 
locate Authen/PAM.pm.

If its a typo, you probably don't have Authen::PAM installed but you're 
trying to enable it.  Install that perl module on your system from CPAN.

If its not a typo, then theres something screwey going on and Mon is 
somehow ending up to old Authen::AM.  Check to see if your copy of mon has 
a typo in the eval statement where it tries to load that module.

-David Nolan
 Network Software Designer
 Computing Services
 Carnegie Mellon University
quiritt | 1 Mar 09:10 2005

Re: Problems starting MON

The Authen/PAM.pm is not a typo, it is the actual output.

I have looked but couldn't find where mon tries to load that module, where
do I find it?

Don't think though there is a problem with my version as I used the mon
that was delivered with my distribution. Any other clues about what it
could be?

Regards,
John

---------------------------- Original Message ----------------------------
Subject: Problems starting MON
From:    quiritt.fragnations.com <at> linuxsystems.be
Date:    Mon, February 28, 2005 3:21 pm
To:      mon <at> linux.kernel.org
--------------------------------------------------------------------------

Hi,

I´m having problems to start mon on the host server of a ha cluster.

When I try to start the mon it gives me following error:

Starting mon daemon: cf error: could not use PAM authentication: Can´t
locate Authen/AM.pm in  <at> INC ( <at> INC contains:
/usr/lib/perl5/5.8.1/i386-linux-thread-multi /usr/lib/perl5/5.8.1
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl
(Continue reading)

Jim Trocki | 1 Mar 13:17 2005

Re: Problems starting MON

On Tue, 1 Mar 2005 quiritt <at> fragnations.com wrote:

> The Authen/PAM.pm is not a typo, it is the actual output.

the output in your mail said "Authen/AM.pm", not "Authen/PAM.pm", that's why
david asked if it was a type. the name of the perl module is Authen::PAM, and
if you're going to use PAM authentication with mon you'll need it installed.
to find out if you have it installed you can do this:

perl -MAuthen::PAM -e exit

and if it complaints, then you don't have it installed. either install it from
cpan or be sure you don't have the setting "authtype pam" in your mon.cf file.

Gmane