Re: BUG #16261: Not able to start Postgres - Mailing list pgsql-bugs

From Daniel Gustafsson
Subject Re: BUG #16261: Not able to start Postgres
Date
Msg-id 29275F36-FC96-4D0C-83D0-BB081D5C2233@yesql.se
Whole thread Raw
In response to BUG #16261: Not able to start Postgres  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs

> On 17 Feb 2020, at 13:29, Abhishree hn <abhishreehn@crgroup.co.in> wrote:
>
> Hi Daniel,
>
> please find the logs below.

Please retain all addresses in your reply.

> The files belonging to this database system will be owned by user "postgres".
> This user must also own the server process.
>
> The database cluster will be initialized with locale "en_US.UTF-8".
> The default database encoding has accordingly been set to "UTF8".
> The default text search configuration will be set to "english".
>
> Data page checksums are disabled.
>
> fixing permissions on existing directory /var/lib/pgsql/9.6/data ... ok
> creating subdirectories ... ok
> selecting default max_connections ... 100
> selecting default shared_buffers ... 128MB
> selecting dynamic shared memory implementation ... posix
> creating configuration files ... ok
> running bootstrap script ... ok
> performing post-bootstrap initialization ... ok
> syncing data to disk ... ok
>
> Success. You can now start the database server using:
>
>     /usr/pgsql-9.6/bin/pg_ctl -D /var/lib/pgsql/9.6/data -l logfile start
>
> < 2018-11-02 19:13:03.637 UTC > LOG:  redirecting log output to logging collector process
> < 2018-11-02 19:13:03.637 UTC > HINT:  Future log output will appear in directory "pg_log".
> < 2018-11-02 19:31:50.580 UTC > LOG:  redirecting log output to logging collector process
> < 2018-11-02 19:31:50.580 UTC > HINT:  Future log output will appear in directory "pg_log".
> < 2018-11-02 19:35:07.110 UTC > LOG:  redirecting log output to logging collector process
> < 2018-11-02 19:35:07.110 UTC > HINT:  Future log output will appear in directory "pg_log".
> < 2018-12-04 10:59:50.478 UTC > FATAL:  could not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": No such
fileor directory 
> < 2018-12-04 10:59:50.478 UTC > LOG:  database system is shut down

This log entry might be related to the database not starting.  Does that
directory exist and if so, is it writeable by the process?

cheers ./daniel


pgsql-bugs by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: BUG #16261: Not able to start Postgres
Next
From: GABORIEAU Olivier
Date:
Subject: RE: BUG #16257: 12.2 rpm packages size increase vs 12.1