or - maybe better .. remove the /lib/security and just specify pam_limits.so and let pam use it's default dir (which might be lib64? not sure - don't have a zLinux distro handy at the minute)
Anyway - look for the pam_limits.so and specify it correctly in /etc/pam.d/login ... Scott On Fri, Jan 30, 2009 at 2:22 PM, Scott Rohling <[email protected]>wrote: > Could it be under /lib64/security instead? I've had that problem before.. > If so - update /etc/pam.d/login with the /lib64 -- or create a symlink under > /lib > > Scott > > > On Fri, Jan 30, 2009 at 2:17 PM, Tom Duerbusch <[email protected] > > wrote: > >> You're right....It is only on the Oracle machines. >> >> And /var/log/messages shows: >> >> >> n[2636]: PAM unable to dlopen(/lib/security/pam_limits.so) >> n[2636]: PAM [error: /lib/security/pam_limits.so: wrong ELF class: >> ELFCLASS32] >> n[2636]: PAM adding faulty module: /lib/security/pam_limits.so >> n[2636]: Module is unknown >> >> >> And then looking at /etc/pam.d/login: >> >> linux63:/etc/pam.d # cat login >> #%PAM-1.0 >> auth required pam_securetty.so >> auth include common-auth >> auth required pam_nologin.so >> account include common-account >> password include common-password >> session include common-session >> session required pam_lastlog.so nowtmp >> session required pam_resmgr.so >> session optional pam_mail.so standard >> session required /lib/security/pam_limits.so >> session required pam_limits.so >> linux63:/etc/pam.d # >> >> Anyway, that is what was in the Oracle 10g documentation. >> >> Tom Duerbusch >> THD Consulting >> >> >> >>> Mauro Souza <[email protected]> 1/30/2009 2:53 PM >>> >> I had this issue after tunning a system to install Oracle. I believe it's >> related to PAM modules. If you're able to logon via SSH, you can get rid >> of >> the changes in limits.conf. >> In /var/log/messages maybe there's some messages telling you what kind of >> module is missing... >> >> Mauro >> http://mauro.limeiratem.com - registered Linux User: 294521 >> Scripture is both history, and a love letter from God. >> >> >> On Fri, Jan 30, 2009 at 6:45 PM, Tom Duerbusch >> <[email protected]>wrote: >> >> > On some of my images (SLES 10 SP 2), when I try to logon from the >> console, >> > I get: >> > >> > Last login: Wed Jan 21 16:20:38 CST 2009 from >> nss-lt-0001.stlouiscity.comon pts >> > /0 >> > You have new mail. >> > >> > Module is unknown >> > >> > >> > Welcome to SUSE Linux Enterprise Server 10 SP2 (s390x) - Kernel >> > 2.6.16.60-0.21-d >> > efault (ttyS0). >> > >> > >> > linux62 login: >> > >> > >> > The "Module is unknown" seems to be a problem. I immediately get signed >> > off and I go back to the logon prompt. >> > >> > I haven't applied any maintenance other then the SP2. And it doesn't >> > happen on all images. What could cause that? >> > >> > Thanks >> > >> > Tom Duerbusch >> > THD Consulting >> > >> > ---------------------------------------------------------------------- >> > For LINUX-390 subscribe / signoff / archive access instructions, >> > send email to [email protected] with the message: INFO LINUX-390 >> or >> > visit >> > http://www.marist.edu/htbin/wlvindex?LINUX-390 >> > >> >> ---------------------------------------------------------------------- >> For LINUX-390 subscribe / signoff / archive access instructions, >> send email to [email protected] with the message: INFO LINUX-390 or >> visit >> http://www.marist.edu/htbin/wlvindex?LINUX-390 >> >> ---------------------------------------------------------------------- >> For LINUX-390 subscribe / signoff / archive access instructions, >> send email to [email protected] with the message: INFO LINUX-390 or >> visit >> http://www.marist.edu/htbin/wlvindex?LINUX-390 >> > > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
