Strona 1 z 1

postgres - status active (exited)

: 01 gru 2016, 13:45
autor: gsq70653
Cześć, uruchamiam dzisaj ubuntu i nastał mnie problem. Postgres nie chce mi nasluchiwać. Mimo, że wczoraj działał a nie przypominam sobie żebym od wczoraj coś robił co by go zepsuło.

Kod: Zaznacz cały

service postgresql status
● postgresql.service - LSB: PostgreSQL RDBMS server
   Loaded: loaded (/etc/init.d/postgresql; bad; vendor preset: enabled)
   Active: active (exited) since czw 2016-12-01 12:57:21 CET; 6min ago
     Docs: man:systemd-sysv-generator(8)

Kod: Zaznacz cały

pg_lsclusters 
Ver Cluster Port Status Owner    Data directory               Log file
9.5 main    5432 down   postgres /var/lib/postgresql/9.5/main /var/log/postgresql/postgresql-9.5-main.log

Re: postgres - status active (exited)

: 01 gru 2016, 21:39
autor: gsq70653
ok pojawily sie nowe poszlaki.
w /run/postgres/ nie ma katalogu 9.5-main.pg_stat_tmp
gdy go utworze postgres smiga, jednak po reboot systemu znowu tego katalogu nie ma

Re: postgres - status active (exited)

: 02 gru 2016, 19:34
autor: mario_7
Sprawdź pliki konfiguracyjne - może jednak coś zmieniłeś.

Re: postgres - status active (exited)

: 05 gru 2016, 09:51
autor: gsq70653
wlasnie nic tam nie grzebalem. ale to pomoglo:
https://github.com/dalibo/PAF/issues/17