[afnog] RE : Re: PAM Errors

tawanda kavayi kavayit at africaonline.co.zw
Wed Nov 14 19:29:18 UTC 2007


Hi,

After creating the symlink, I now get this error in syslog:

Nov 14 21:25:01 /usr/sbin/cron[3141]: PAM [error:
/lib/security/pam_pwcheck.so: wrong ELF class: ELFCLASS64]

I have verified the version of PAM installed is 64-bit.

Regards,

Tawanda

Kueviakoé kangni Ignace wrote:
> hi
> Are you sure you have installed the correct paquages according to the
> your plateforme?
> If yes , i think you can try to make the symlink as you have said.
>  
> regards,
> @ikk
> 
> 
> */tawanda kavayi <kavayit at africaonline.co.zw>/* a écrit :
> 
>     Hi,
> 
>     There are already some PAM libraries in /lib/security, but the missing
>     ones are in /lib64/security. If symlink the entire /lib/security won't
>     the cause other problems?
> 
>     Tawanda
> 
>     Makan SIMAGA wrote:
>     > Hi,
>     >
>     > Try this:
>     > create a symbolic link in /lib/security/ which point to where the
>     shared
>     > library is (/lib64/security).
>     >
>     > Makan.
>     >
>     >
>     > ----- Original Message ----- From: "tawanda kavayi"
>     >
>     > To:
>     > Sent: Tuesday, November 13, 2007 1:52 PM
>     > Subject: [afnog] PAM Errors
>     >
>     >
>     >> Hi,
>     >>
>     >> I'm running OpenSuSe 10.2 on a x86_64 platform. I've been trying to
>     >> figure out why my logrotate is not working and I've isolated the
>     problem
>     >> down to crond. Whenever crond tries to run the logrotate script,
>     I see
>     >> the following in /var/log/messages:
>     >>
>     >> Nov 13 02:00:01 /usr/sbin/cron[10781]: PAM unable to
>     >> dlopen(/lib/security/pam_unix2.so)
>     >> Nov 13 02:00:01 /usr/sbin/cron[10781]: PAM [error:
>     >> /lib/security/pam_unix2.so: cannot open shared object file:
>     >> No such file or directory]
>     >> Nov 13 02:00:01 /usr/sbin/cron[10781]: PAM adding faulty module:
>     >> /lib/security/pam_unix2.so
>     >> Nov 13 02:00:01 /usr/sbin/cron[10781]: PAM unable to
>     >> dlopen(/lib/security/pam_pwcheck.so)
>     >> Nov 13 02:00:01 /usr/sbin/cron[10781]: PAM [error:
>     >> /lib/security/pam_pwcheck.so: cannot open shared object fil
>     >> e: No such file or directory]
>     >> Nov 13 02:00:01 /usr/sbin/cron[10781]: PAM adding faulty module:
>     >> /lib/security/pam_pwcheck.so
>     >> Nov 13 02:00:01 /usr/sbin/cron[10780]: Module is unknown
>     >> Nov 13 02:00:01 /usr/sbin/cron[10781]: Module is unknown
>     >>
>     >> The libraries in question are actually in /lib64/security. How can
>     >> reconfigure the PAM to include the correct path to the libraries?
>     >>
>     >> Regards,
>     >>
>     >> Tawanda
>     >>
>     >> _______________________________________________
>     >> afnog mailing list
>     >> http://afnog.org/mailman/listinfo/afnog
>     >>
>     >
>     >
> 
> 
>     _______________________________________________
>     afnog mailing list
>     http://afnog.org/mailman/listinfo/afnog
> 
> 
> ------------------------------------------------------------------------
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails
> <http://www.trueswitch.com/yahoo-fr/> vers Yahoo! Mail

-- 
Regards,


Tawanda Kavayi
Network Engineer
Africa Online Zimbabwe (Pvt) Ltd
Tel: +263  4 250890
Fax: +263 4 702203
Email: kavayit at africaonline.co.zw
AIM: tawandakav

A member of the Telkom South Africa Group

Africa Online Disclaimer and Confidentiality Note

This e-mail, its attachments and any rights attaching hereto are,
unless the context clearly indicates otherwise, the property of
Africa Online Holdings (Mauritius) Limited and/or its subsidiaries
("the Group"). It is confidential and intended for the addressee
only. Should you not be the addressee and have received this e-mail
by mistake, kindly notify the sender, delete this e-mail
immediately and do not disclose or use the same in any manner
whatsoever. Views and opinions expressed in this e-mail are those
of the sender unless clearly stated as those of the Group. The
Group accepts no liability whatsoever for any loss or damages,
however incurred, resulting from the use of this e-mail or its
attachments. The Group does not warrant the integrity of this
e-mail, nor that it is free of errors, viruses, interception or
interference. For more information about Africa Online, please
visit our website at http://www.africaonline.com




More information about the afnog mailing list