Good day to all.

Put postgresql for 1c on Debian. Installed without errors. I tried to connect - wrote that he did not see the server on port 5432.

netstat -pant | grep postgres or 5432 do not display anything. Judging by the conclusions, the postgres port is not listening at all. At the same time 1c everything is OK.

There are no rules. The car is fresh. I tried to open the port in iptables, the rules are created, the postgres also does not listen to the port. I can not understand what the trouble is.

When displaying service, postgresql status issues

Active: active (exited)

Full output:

● postgresql.service - PostgreSQL RDBMS Loaded: loaded (/lib/systemd/system/postgresql.service; enabled) Active: active (exited) since Mon 2017-04-17 09:35:13 MSK; 19min ago Process: 469 ExecStart = / bin / true (code = exited, status = 0 / SUCCESS) Main PID: 469 (code = exited, status = 0 / SUCCESS) CGroup: /system.slice/postgresql.service

Apr 17 09:35:13 1c-test systemd [1]: Starting PostgreSQL RDBMS ... Apr 17 09:35:13 1c-test systemd [1]: Started PostgreSQL RDBMS.

Closed due to the fact that off-topic participants aleksandr barakin , αλεχολυτ , Mikhail Vaysman , m9_psy , Denis Bubnov 24 Apr '17 at 14:53 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - aleksandr barakin, αλεχολυτ, Mikhail Vaysman, m9_psy, Denis Bubnov
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • one
    The issue was resolved. The problem was in the wrong entries in the pg_hba.conf file - Ishimiru
  • Write expanded in the answer, which records were incorrect. While this question is useless for other visitors. - ߊߚߤߘ

0