1

Topic: PG socket is not created if locale ru

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: Deb 8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): pgsql
- Web server (Apache or Nginx):nginx
- Manage mail accounts with iRedAdmin-Pro? n
- Related log if you're reporting an issue:
====
Hello.
First of all sorry my english.
Pg socket is not created if locale RU.
But simple install PG all is ok.
I think problem is about start\restart service and init db after install.
I could not find the error yourself.
On locale EN all is ok.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: PG socket is not created if locale ru

master wrote:

Pg socket is not created if locale RU.

*) Do you mean PostgreSQL service is not running?
*) Any error in file iRedMail-0.9.5-1/runtime/install.log?

iRedMail defines 'LC_ALL=C' in file 'iRedMail-0.9.5-1/conf/global', so during iRedMail installation, it should be EN locale.

3

Re: PG socket is not created if locale ru

ZhangHuangbin wrote:
master wrote:

Pg socket is not created if locale RU.

*) Do you mean PostgreSQL service is not running?
*) Any error in file iRedMail-0.9.5-1/runtime/install.log?

iRedMail defines 'LC_ALL=C' in file 'iRedMail-0.9.5-1/conf/global', so during iRedMail installation, it should be EN locale.

1. Service running.
2. the psql: could not connect to the server: No such file or directory
It really works locally and receives
Connection via domain socket "/var/run/postgresql/.s.PGSQL.5432"?

Post's attachments

install.log 14.59 kb, 1 downloads since 2016-06-14 

You don't have the permssions to download the attachments of this post.

4

Re: PG socket is not created if locale ru

Seems PostgreSQL service was not running during iRedMail installation, this causes installation failure.
The sad part is i cannot reproduce this issue, i cannot figure it out with local testing.

Question: Was this a fresh server before installing iRedMail?

5

Re: PG socket is not created if locale ru

ZhangHuangbin wrote:

Seems PostgreSQL service was not running during iRedMail installation, this causes installation failure.
The sad part is i cannot reproduce this issue, i cannot figure it out with local testing.

Question: Was this a fresh server before installing iRedMail?

Yes, of course.

6

Re: PG socket is not created if locale ru

Any error in PostgreSQL log file? It should be in user "postgres"s HOME directory, or /var/log/.

7

Re: PG socket is not created if locale ru

ZhangHuangbin wrote:

Any error in PostgreSQL log file? It should be in user "postgres"s HOME directory, or /var/log/.

2016-06-14 11:29:35 MSK [21546-1] postgres @ postgres IMPORTANT: The user "postgres" has not passed authentication (password)
2016-06-14 11:29:35 MSK [21546-2] postgres @ postgres DETAILS: Connection is line 100 in pg_hba.conf: "local all all md5"

8

Re: PG socket is not created if locale ru

This log is helpless. sad

is it possible for you to reinstall server OS and install iRedMail again? Let's see whether or not it's a temporary issue, or a bug in iRedMail.

9

Re: PG socket is not created if locale ru

I did it again 5-6 times wink

10

Re: PG socket is not created if locale ru

Is it possible to let me try to install iRedMail on this server for testing? It must be a fresh server.
Once we figure out what the problem is, you can install it yourself with your domain names, etc.

11

Re: PG socket is not created if locale ru

ZhangHuangbin wrote:

Is it possible to let me try to install iRedMail on this server for testing? It must be a fresh server.
Once we figure out what the problem is, you can install it yourself with your domain names, etc.

How to send PM?

12

Re: PG socket is not created if locale ru

master wrote:

How to send PM?

Mail me directly please: zhb _at_ iredmail.org