View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005436 | SOGo | with SOGo | public | 2021-11-29 15:40 | 2021-12-03 17:45 |
Reporter | Sam | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | [Server] Linux | OS | Debian | OS Version | 8 (Jessie) |
Product Version | 5.3.0 | ||||
Summary | 0005436: failed to acquire channel for URL: postgresql://sogo:sogo@127.0.0.1:5432/sogo/sogo_user_profile | ||||
Description | It's a new install. I just finish create database and modify the configuration file /var/lib/pgsql/data/pg_hba.conf like explained on the configuration guide. I had made install on nightly buid version, then move to production build but no change. Here is my sogo.conf part : And /etc/postgresql/13/main/pg_hba.conf : ( up on the file, just after some comments ) It seems like there is no rights to access... | ||||
Tags | No tags attached. | ||||
It's a debian 11 Version. |
|
Is PostgreSQL listening on port 5432? |
|
I think so, in /etc/services I can see : |
|
There is an issue with pg_hba.conf : The line 79 is the first non comment line and the line I add : |
|
You are missing the following as first line: local all postgres peer Without that line as first entry, you can not connect with postgresql tools, and pg_hba.conf needs at least one type "peer" entry. |
|
Hello Christian, Ok I see these line "local all postgres peer" and move "host sogo sogo 127.0.0.1/32 md5" just after that line. Now there is this errors in syslog : Line 93 is always our added line "host sogo sogo 127.0.0.1/32 md5" |
|
Do you have a user sogo and a database sogo in your postgresql already? |
|
Yes, I follow the guide, here is the Sogo database : postgres=# \l |
|
What do you get for |
|
root@sogo:~# netstat -tulpen|grep 5432 |
|
And nothing if I add host sogo sogo 127.0.0.1/32 md5 to /etc/postgresql/13/main/pg_hba.con |
|
Do you thinks it's a Debian 11 new beahavior issue? |
|
I checked documentation for posgres 13 and there where no changes in pg_hba.conf I could see. Could you please check if postgresql is installed completely? dpkg -l |grep postgresql |
|
Here is the result : |
|
That is OK too. Just a feeble hunch. |
|
Good intuition, that was that! |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-11-29 15:40 | Sam | New Issue | |
2021-11-29 15:42 | Sam | Note Added: 0015646 | |
2021-11-29 16:09 | francis | Note Added: 0015647 | |
2021-11-30 07:34 | Sam | Note Added: 0015649 | |
2021-11-30 07:39 | Sam | Note Added: 0015650 | |
2021-11-30 09:45 | Christian Mack | Note Added: 0015651 | |
2021-11-30 10:32 | Sam | Note Added: 0015652 | |
2021-11-30 12:53 | Christian Mack | Note Added: 0015653 | |
2021-11-30 13:32 | Sam | Note Added: 0015655 | |
2021-11-30 13:49 | Christian Mack | Note Added: 0015656 | |
2021-11-30 14:33 | Sam | Note Added: 0015658 | |
2021-11-30 14:35 | Sam | Note Added: 0015659 | |
2021-12-02 07:26 | Sam | Note Added: 0015661 | |
2021-12-02 07:42 | Christian Mack | Note Added: 0015663 | |
2021-12-02 08:56 | Sam | Note Added: 0015664 | |
2021-12-03 08:33 | Christian Mack | Note Added: 0015669 | |
2021-12-03 13:35 | Sam | Note Added: 0015670 | |
2021-12-03 17:45 | francis | Status | new => closed |
2021-12-03 17:45 | francis | Resolution | open => no change required |