when i send emails to users i get error message in return: user unknown. Command output: ERR: authdaemon: s_connect() failed: No such file or directory Invalid user specified. in /var/log/mail.err Mar 7 08:38:13 isp1 dovecot: auth-worker(1504): Error: mysql(localhost): Connect failed to database (dbispconfig): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - waiting for 25 seconds before retry
root@isp1:/etc/postfix# systemctl status mysql ● mysql.service - LSB: Start and stop the mysql database server daemon Loaded: loaded (/etc/init.d/mysql; bad; vendor preset: enabled) Active: active (running) since to. 2019-03-07 08:38:23 CET; 17min ago Docs: man:systemd-sysv-generator(8) Process: 1106 ExecStart=/etc/init.d/mysql start (code=exited, status=0/SUCCESS) Tasks: 38 Memory: 161.0M CPU: 2.660s CGroup: /system.slice/mysql.service ├─1284 /bin/bash /usr/bin/mysqld_safe ├─1501 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --skip-log-error --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.s └─1502 logger -t mysqld -p daemon error
Try to restart mysql and ensure that you did not disable networking or name resolving in mysql. And it might be helpful to know what you changed on the server, especially mysql, before the issue started.
I have tried restart of the mysql with no luck. After trying to fix this i get no more emails in return. now i only get this in journalctl: status=bounced (user unknown. Command output: ERR: authdaemon: s_connect() failed: No such file or directory Invalid user specified. )