Thread: vsftpd / PAM / NSS issues
ok, apologize in advance if wrong place thread.
having problem getting vsftpd running correctly using pam , nss on ubuntu 10.04.3 server 64 bit. use virtual users contained in postgres database.
these libraries work ssh, telnet , our shell console replacement. worked running on ubuntu 9.04 server 32 bit well.
now, symptoms. when try ftp server using valid login (works on console , through telnet), filezilla:
in auth.log see error:code:trace: ccontrolsocket::doclose(64) trace: ccontrolsocket::doclose(64) status: connecting 192.168.30.73:21... status: connection established, waiting welcome message... trace: cftpcontrolsocket::onreceive() response: 220 sentry power manager trace: cftpcontrolsocket::sendnextcommand() command: user admn trace: cftpcontrolsocket::onreceive() response: 331 please specify password. trace: cftpcontrolsocket::sendnextcommand() command: pass **** trace: crealcontrolsocket::onclose(0) trace: ccontrolsocket::doclose(64) trace: cftpcontrolsocket::resetoperation(66) trace: ccontrolsocket::resetoperation(66) error: not connect server trace: cfilezillaengineprivate::resetoperation(66)
in kern.log (and syslog):code:<date> ubuntu vsftpd: pam unable dlopen(/lib/security/pam_spm.so): libsasl2.so.2: failed map segment shared object: cannot allocate memory <date> ubuntu vsftpd: pam adding faulty module: /lib/security/pam_spm.so
there comment in source code @ each entry point in shared object, , none of comments of either nss or pam shared objects print out. however, every other security triggering event works fine.code:<date> ubuntu kernel: [ 7102.179824] vsftpd[16650]: segfault @ 940 ip 00007f1f3fc154e0 sp 00007fff1798fdf0 error 4 in libpthread-2.11.1.so[7f1f3fc10000+18000]
@ loss explain , appreciate advice / help.
not novice @ moving around ubuntu, use of pam , nss new me, feel 1 @ moment. not expert either ...
i doing in virtual machine, , have increased memory based on other google search suggestions of similar problems. don't think lack of memory problem.
have been playing /etc/pam.d/vsftpd , have noticed change name of shared module claims not allocate memory. so, instead of "libsasl2.so.2: failed map segment share object: cannot allocate memory" errors, can libgnutls.so.26 or libk5crypto.so.3 objects producing exact same error.
suppose don't understand difference between using ssh ftp regards pam , nss configurations.
code:free -m total used free shared buffers cached mem: 2009 307 1702 0 11 79 -/+ buffers/cache: 216 1792 swap: 5883 0 5883
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] vsftpd / PAM / NSS issues
Ubuntu
Comments
Post a Comment