Topic: [SOLVED] SOGo / MySQL Authentication Error
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Ubuntu Xenial
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Remote MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: /var/log/sogo/sogo.log
====
Salutations iRedMail Team!
First off I'd like to say that you make an absolutely fantastic product. I'm only starting to use it, but in the wild and woolly world of email, your offering is a fantastic addition.
I'm having an issue logging into SOGo groupware:
Sep 29 12:39:59 sogod [1587]: [ERROR] <0x0x556121964e10[SQLSource]> could not run SQL 'c_uid = 'postmaster@travnewmatic.com'': <MySQL4Exception: 0x556121667cf0> NAME:ExecutionFailed REASON:Access denied for user 'sogo'@'192.168.122.186' (using password: YES)
Sep 29 12:39:59 sogod [1587]: SOGoRootPage Login from '69.41.160.254' for user 'postmaster@travnewmatic.com' might not have worked - password policy: 65535 grace: -1 expire: -1 bound: 0
This deployment was done following this guide: http://www.iredmail.org/docs/install.ir … erver.html
Whats puzzling is that if I attempt to login from my mail server to the mysql server using 'mysql -usogo -p -h <ip of db server>' it works:
root@mx:~# mysql -usogo -p -h 192.168.122.175
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 5904
Server version: 5.7.15-0ubuntu0.16.04.1 (Ubuntu)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
But when sogod tries to, it cannot.
What also strange is that when I check connections made to my database server, I see that the sogo is connecting in some way? I think? (see screenshot)
I'll keep googling around to see if i can troubleshoot it myself, though any help would be greatly appreciated!
-Travis
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.