pam_mysql - something went wrong when invoking crypt()
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have this error to authenticate the postfix + mysql...
Code:
pam_mysql - something went wrong when invoking crypt() - No such file or directory
You are missing some library ?
Read the Question Guidelines link in my posting signature. When you don't provide any useful details, there is no way anyone can help you. You don't say what version/distro of Linux you're using, version of postfix, MySQL, what you've done/tried, etc. What, exactly, do you think we'll be able to tell you???
root@protus:/etc/postfix/sasl# dpkg --list | grep mysql
ii libdbd-mysql-perl 4.025-1 amd64 Perl5 database interface to the MySQL database
ii libmysqlclient18:amd64 5.5.47-0ubuntu0.14.04.1 amd64 MySQL database client library
ii libpam-mysql 0.7~RC1-4ubuntu1 amd64 PAM module allowing authentication from a MySQL server
ii mysql-client-5.5 5.5.47-0ubuntu0.14.04.1 amd64 MySQL database client binaries
ii mysql-client-core-5.5 5.5.47-0ubuntu0.14.04.1 amd64 MySQL database core client binaries
ii mysql-common 5.5.47-0ubuntu0.14.04.1 all MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server 5.5.47-0ubuntu0.14.04.1 all MySQL database server (metapackage depending on the latest version)
ii mysql-server-5.5 5.5.47-0ubuntu0.14.04.1 amd64 MySQL database server binaries and system database setup
ii mysql-server-core-5.5 5.5.47-0ubuntu0.14.04.1 amd64 MySQL database server binaries
ii php5-mysql 5.5.9+dfsg-1ubuntu4.14 amd64 MySQL module for php5
ii postfix-mysql 2.11.0-1ubuntu1 amd64 MySQL map support for Postfix
root@protus:/etc/postfix/sasl# dpkg --list | grep libpam
ii libpam-cap:amd64 1:2.24-0ubuntu2 amd64 PAM module for implementing capabilities
ii libpam-modules:amd64 1.1.8-1ubuntu2.2 amd64 Pluggable Authentication Modules for PAM
ii libpam-modules-bin 1.1.8-1ubuntu2.2 amd64 Pluggable Authentication Modules for PAM - helper binaries
ii libpam-mysql 0.7~RC1-4ubuntu1 amd64 PAM module allowing authentication from a MySQL server
ii libpam-runtime 1.1.8-1ubuntu2.2 all Runtime support for the PAM library
ii libpam-systemd:amd64 204-5ubuntu20.18 amd64 system and service manager - PAM module
ii libpam0g:amd64 1.1.8-1ubuntu2.2 amd64 Pluggable Authentication Modules library
ii libpam0g-dev:amd64 1.1.8-1ubuntu2.2 amd64 Development files for PAM
root@protus:/etc/postfix/sasl# dpkg --list | grep mysql
ii libdbd-mysql-perl 4.025-1 amd64 Perl5 database interface to the MySQL database
ii libmysqlclient18:amd64 5.5.47-0ubuntu0.14.04.1 amd64 MySQL database client library
ii libpam-mysql 0.7~RC1-4ubuntu1 amd64 PAM module allowing authentication from a MySQL server
ii mysql-client-5.5 5.5.47-0ubuntu0.14.04.1 amd64 MySQL database client binaries
ii mysql-client-core-5.5 5.5.47-0ubuntu0.14.04.1 amd64 MySQL database core client binaries
ii mysql-common 5.5.47-0ubuntu0.14.04.1 all MySQL database common files, e.g. /etc/mysql/my.cnf
ii mysql-server 5.5.47-0ubuntu0.14.04.1 all MySQL database server (metapackage depending on the latest version)
ii mysql-server-5.5 5.5.47-0ubuntu0.14.04.1 amd64 MySQL database server binaries and system database setup
ii mysql-server-core-5.5 5.5.47-0ubuntu0.14.04.1 amd64 MySQL database server binaries
ii php5-mysql 5.5.9+dfsg-1ubuntu4.14 amd64 MySQL module for php5
ii postfix-mysql 2.11.0-1ubuntu1 amd64 MySQL map support for Postfix
root@protus:/etc/postfix/sasl# dpkg --list | grep libpam
ii libpam-cap:amd64 1:2.24-0ubuntu2 amd64 PAM module for implementing capabilities
ii libpam-modules:amd64 1.1.8-1ubuntu2.2 amd64 Pluggable Authentication Modules for PAM
ii libpam-modules-bin 1.1.8-1ubuntu2.2 amd64 Pluggable Authentication Modules for PAM - helper binaries
ii libpam-mysql 0.7~RC1-4ubuntu1 amd64 PAM module allowing authentication from a MySQL server
ii libpam-runtime 1.1.8-1ubuntu2.2 all Runtime support for the PAM library
ii libpam-systemd:amd64 204-5ubuntu20.18 amd64 system and service manager - PAM module
ii libpam0g:amd64 1.1.8-1ubuntu2.2 amd64 Pluggable Authentication Modules library
ii libpam0g-dev:amd64 1.1.8-1ubuntu2.2 amd64 Development files for PAM
Great...so now again, what have you done/tried???? What instructions/guides have you attempted to follow, and what is the WHOLE error message (say, including the file name in question??)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.