messages error can not open module /usr/lib/security/pam_unix_session.so.1


 
Thread Tools Search this Thread
Operating Systems Solaris messages error can not open module /usr/lib/security/pam_unix_session.so.1
# 1  
Old 03-25-2009
messages error can not open module /usr/lib/security/pam_unix_session.so.1

Hi,

I always receive the following intermittent error on the /var/adm/messages, can someone help me please on what to do and what to check for these errors to disappear? What can be the problem with my ftp? Please see details of solaris below. Thanks in advance!

Code:
SunOS 5.10 Generic_127111-08 sun4v sparc SUNW,Sun-Fire-T200

Code:
Mar 25 09:55:37 tn-00 ftpd[25223]: [ID 487707 auth.error] load_modules: can not open module /usr/lib/security/pam_unix_session.so.1
Mar 25 09:55:47 tn-00 ftpd[25323]: [ID 776383 auth.error] open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory
Mar 25 09:55:47 tn-00 ftpd[25323]: [ID 487707 auth.error] load_modules: can not open module /usr/lib/security/pam_unix_session.so.1
Mar 25 09:55:57 tn-00 ftpd[25419]: [ID 776383 auth.error] open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory
Mar 25 09:55:57 tn-00 ftpd[25419]: [ID 487707 auth.error] load_modules: can not open module /usr/lib/security/pam_unix_session.so.1
Mar 25 09:56:07 tn-00 ftpd[25702]: [ID 776383 auth.error] open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory
Mar 25 09:56:07 tn-00 ftpd[25702]: [ID 487707 auth.error] load_modules: can not open module /usr/lib/security/pam_unix_session.so.1
Mar 25 09:56:12 tn-00 ftpd[25704]: [ID 776383 auth.error] open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory
Mar 25 09:56:12 tn-00 ftpd[25704]: [ID 487707 auth.error] load_modules: can not open module /usr/lib/security/pam_unix_session.so.1
Mar 25 09:56:17 tn-00 ftpd[25709]: [ID 776383 auth.error] open_module: stat(/usr/lib/security/pam_unix_session.so.1) failed: No such file or directory

# 2  
Old 03-25-2009
Your system is enabled with ftp? does this file exists /usr/lib/security/pam_unix_session.so.1? Maybe you want want to comment out a similar entry like this and monitor the system further. (check with your guys if you're allowed to do so)

in /etc/pam.conf
other session required pam_unix_session.so.1
# 3  
Old 03-25-2009
These messages appear when the DefaultRoot configuration directive is in effect. This directive causes a user to be confined using the chroot(2) system call. This call, however, affects other system utilities, such as PAM. In this case, PAM's configuration is causing the PAM library to attempt to open PAM modules using a path that is no longer valid, thus the errors. This happens on logout because the chroot has already happened by that point; on login, the PAM modules are successfully found and loaded before the chroot, so no errors. These are merely cosmetic reporting errors, and do not really affect the functionality or security of the server
# 4  
Old 03-25-2009
messages error can not open module /usr/lib/security/pam_unix_session.so.1

Hi incredible,

Thanks for replying! Yes, ftp is enabled and I already checked before that file /usr/lib/security/pam_unix_session.so.1 exist. Please see details below

Code:
-rwxr-xr-x   1 root     bin        25648 Aug 16  2007 /usr/lib/security/pam_unix_session.so.1*
lrwxrwxrwx   1 root     root          23 Aug 24  2008 /usr/lib/security/pam_unix_session.so -> ./pam_unix_session.so.1*

If I comment other session required pam_unix_session.so.1 in from /etc/pam.conf, what will be the effect? Thanks!
# 5  
Old 03-26-2009
make a backup of the file, comment it first then see
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Cannot open module /usr/lib/security

Dear All After powering on my Netra120 Solaris server and waiting for all of the installed processes to be started , when trying for login I am getting : "can not open module /usr/lib/security/pam_authtok_get.so.1" Can you please let me know what has happened to my server and how can I reach... (3 Replies)
Discussion started by: hadimotamedi
3 Replies

2. BSD

FreeBSD: /usr/bin/ld not looking in /usr/local/lib

I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries. I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble: $ ./autogen.sh checking... (2 Replies)
Discussion started by: AntumDeluge
2 Replies

3. UNIX for Advanced & Expert Users

/usr/lib/libv12n.so

Hi, I want to use the function "v12n_domain_uuid" on solaris box. The library "libv12n" is present in /usr/lib but i can't locate the header "libv12n.h" anywhere in the box. How do i run the API "v12n_domain_uuid" (4 Replies)
Discussion started by: skyineyes
4 Replies

4. Shell Programming and Scripting

Cron job fails with [DataDirect][ODBC lib] Connection not open error

Hi, When run the script directly...it executes as expected. But when put it in crontab the job fails with this error: Connection not open 08003: Connection not open Unable to connect to the database... how come it is not able to connect when cron job fires?... Do I need to... (7 Replies)
Discussion started by: nuthakki
7 Replies

5. UNIX for Dummies Questions & Answers

Macintosh build error: dyld: Library not loaded: /usr/local/lib/libpcre.0.dylib

Hi all, my first post here. I'm trying to load hypermail on my Mac (Tiger 10.4.11). It seemed to install just fine, but when I run the test build I get this error: dyld: Library not loaded: /usr/local/lib/libpcre.0.dylib Referenced from: /Users/sstark/Desktop/hypermail/tests/../src/hypermail... (4 Replies)
Discussion started by: slugger415
4 Replies

6. UNIX for Dummies Questions & Answers

use of /usr/lib/nsr

Hello, I have this folder on my one of the machine but not on other. /usr/lib/nsr can anyone tell me for what this folder is used ? Thanks (2 Replies)
Discussion started by: yatrik007
2 Replies

7. Solaris

/usr/lib/snmp/snmpdx: can't open the file - Error Messages while rebooting

I have an X4500 server running solaris 10 and when I reboot my system it displays the following errors messages. Could someone help me with this ??? NOTICE: pci8086,1011 - e1000g : Adapter 100Mbps full duplex copper link is up. Nov 8 17:41:46 /usr/lib/snmp/snmpdx: can't open the file Nov 8... (2 Replies)
Discussion started by: bharu_sri
2 Replies

8. UNIX for Dummies Questions & Answers

/usr/lib/32/32-> Question

Hello UNIX people. I was just cruising around my UFS and came across the directory /usr/lib/32. This directory continues up many directories (/usr/lib/32/32/32/32->). Each level of 32/ directory seems to be a copy of the previous one. I have been working with UNIX for a little while now, but I... (3 Replies)
Discussion started by: shaggy
3 Replies
Login or Register to Ask a Question