The folloing massage: Feb 28 12:32:08 baby-tux vsftpd: PAM unable to dlopen(/lib/security/pam_userdb.so) Feb 28 12:32:08 baby-tux vsftpd: PAM [dlerror: /lib/security/pam_userdb.so: undefined symbol: dbm_firstkey] Feb 28 12:32:08 baby-tux vsftpd: PAM adding faulty module: /lib/security/pam_userdb.so while i tried to login to the vsftpd ftp server whit a virtual user declared in the a db file created using: db4.1_load -T -t hash -f logins.txt /etc/vsftpd_login.d . Reproducible: Always Steps to Reproduce: 1. setup vsftpd and pam following documentation: /usr/share/doc/vsftpd-1.2.0-r1/examples/VIRTUAL_USERS/README 2. run vsftpd & 3. ftp localhost 10021 Actual Results: I got messages: Feb 28 12:32:08 baby-tux vsftpd: PAM unable to dlopen(/lib/security/pam_userdb.so) Feb 28 12:32:08 baby-tux vsftpd: PAM [dlerror: /lib/security/pam_userdb.so: undefined symbol: dbm_firstkey] Feb 28 12:32:08 baby-tux vsftpd: PAM adding faulty module: /lib/security/pam_userdb.so and couldn't login to ftp server (vsftpd, running on my system) Expected Results: Let me login! Reading username and password from the db file i created (like described in the Vsftpd documentation) =here are the versions of the programs:================ sys-libs/pam-0.77 +berkdb +pwdb -(selinux) sys-apps/pam-login-3.14 +nls -(selinux) sys-libs/db-4.1.25_p1-r3 -doc +java +tcltk net-ftp/vsftpd-1.2.0-r1 +ipv6 +pam +tcpd ------------------------------------------------------- =cat /etc/pam.d/vsftpd================================= #%PAM-1.0 auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/vsftpd/denied_users onerr=succeed auth sufficient /lib/security/pam_userdb.so icase db=/etc/vsftpd_login.db auth required /lib/security/pam_pwdb.so shadow nullok try_first_pass auth required /lib/security/pam_shells.so account required /lib/security/pam_pwdb.so session required /lib/security/pam_pwdb.so ---------------------------------------------------- ==================================================== ----------------------------------------------------- =cat /etc/vsftpd/vsftpd.conf========================= anonymous_enable=NO local_enable=YES write_enable=NO anon_upload_enable=NO anon_mkdir_write_enable=NO anon_other_write_enable=NO chroot_local_user=YES guest_enable=YES guest_username=virtual listen=YES listen_port=10021 xferlog_enable=NO pam_service_name=vsftpd ---------------------------------------------- =emerge info================================== Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3) ================================================================= System uname: 2.6.3-tuxy i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /usr/X11R6/bin/startx /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apache2 apm avi berkdb bidi bonobo cdr crypt cups curl dga directfb dvd encode esd evo firebird flac flash foomaticdb gb gdbm gif gnome gpm gtk gtk2 imlib ipv6 java jpeg ldap libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl pam pcmcia pdflib perl png pwdb python quicktime readline samba scanner sdl slang spell ssl tcltk tcpd truetype usb x86 xinerama xml2 xmms xv zlib"
no one change the summary until the bugzilla peeps can figure out what's up with it
i fixed the problem by: emerge -C db emerge pam emerge db :o) now everything works! http://forums.gentoo.org/viewtopic.php?t=134374&highlight=vsftpd
Looks fixed by the user, this bug is 8 months old anyways. Bugger if it is recurring. -Jeffrey