Re: BUG #5423: problems installing postgresql-8.4 deleted folder / .s.PGSQL.lock not initiate the connecti

From: Scott Mead <scott(dot)lists(at)enterprisedb(dot)com>
To: Alex Soto Paez <ALEJANDRO(dot)SOTO666(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5423: problems installing postgresql-8.4 deleted folder / .s.PGSQL.lock not initiate the connecti
Date: 2010-04-15 12:51:25
Message-ID: n2td3ab2ec81004150551nb3248c03vdd0e674e7924644d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Apr 14, 2010 at 8:15 PM, Alex Soto Paez <ALEJANDRO(dot)SOTO666(at)gmail(dot)com
> wrote:

>
> The following bug has been logged online:
>
> Bug reference: 5423
> Logged by: Alex Soto Paez
> Email address: ALEJANDRO(dot)SOTO666(at)GMAIL(dot)COM
> PostgreSQL version: 8.4
> Operating system: linux 9.10
> Description: problems installing postgresql-8.4 deleted folder /
> .s.PGSQL.lock not initiate the connecti
> Details:
>
> problems installing postgresql-8.4 deleted folder / var / run / postgresql
> /
> .s.PGSQL.lock not initiate the connection to port 5432
>
> when installing postgresql-8.4 is installed correctly while running the
> command:
>
> $ Service postgresql-8.4 status
>
> Published online defautl port 5432, but at reboot the machine no longer
> seems in line appears down and restart the server payable are parachute
> with
> the error:
>
>
> $sudo /ect/init.d/postgresql-8.4 restart
>
> The PostgreSQL server failed to start. Please check the log output:
> 2010-04-14 18:48:24 CDT FATAL: could not lock file </ var / run /
> postgresql
> / .s.PGSQL.lock>>: no such file? directory
>
>
> [Fail]
>
> run and hand it to guide the pid file and everything goes well but when you
> see another restart the computer I get the same error described above. not
> save the folder with the Pid and does not connect to port 5432
>
> Someone can help me
>
> In advance thank you very much.
>
>
Does the '/var/run/postgresql' directory exist and is it writeable by the
postgres user? If it is not, I would say it's a bug for the packager of
this install of postgres. Typically, postgres puts its lock / sockets in
'/tmp'. You say linux, but don't say which linux, by your version string
(9.10) I'm guessing that this is ubuntu?

--Scott

> --
> Sent via pgsql-bugs mailing list (pgsql-bugs(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ben Madin 2010-04-15 13:43:17 Re: BUG #5418: psql exits after using tab-completion with error message
Previous Message Pavel Golub 2010-04-15 07:43:33 Re: Bug in CREATE FUNCTION with character type