ответ выходит следующая ошибка:
* Starting PostgreSQL 10 database server * Removed stale pid file.
Error: /usr/lib/postgresql/10/bin/pg_ctl /usr/lib/postgresql/10/bin/pg_ctl start -D /var/lib/postgresql/10/main -l /var/log/postgresql/postgresql-10-main.log -s -o -c config_file="/etc/postgresql/10/main/postgresql.conf" exited with status 1:
pg_ctl: another server might be running; trying to start server anyway
2019-03-13 19:03:25.128 +05 [84962] FATAL: could not remove old lock file "postmaster.pid": Permission denied
2019-03-13 19:03:25.128 +05 [84962] HINT: The file seems accidentally left over, but it could not be removed. Please remove the file by hand and try again.
pg_ctl: could not start server
Examine the log output.
Кто нибудь может помочь ?
2019-03-13 19:03:25.128 +05 [84962] FATAL: could not remove old lock file "postmaster.pid": Permission denied 2019-03-13 19:03:25.128 +05 [84962] HINT: The file seems accidentally left over, but it could not be removed. Please remove the file by hand and try again.
Решилось изменением прав на 0700 директории pgdata
Обсуждают сегодня