Re: Service doesnt UP!!!!

From: Rajesh Kumar Mallah <mallah(at)trade-india(dot)com>
To: Edwin Quijada <listas_quijada(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Service doesnt UP!!!!
Date: 2003-11-08 17:00:04
Message-ID: 3FAD2114.7020904@trade-india.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Edwin Quijada wrote:

> Hi!!!
> I had a break electrical service and my system go down. Now when I try
> to up the postgres service I get this error:
>
> psql: could not connect to server: No such file or directory
> Is the server running locally and accepting
> connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> createdb: database creation failed
>
> I went to directory data and delete postmaster.pid and postmaster.opts
> but nothing happens.
> I have the same error.

You have to start the postmaster also.

try
become root by issuing the command below and entering root
password.

$ su -

now start the postgresql service using command below

# /etc/rc.d/init.d/pgsql start

Hope it solves ur problem , best of luck.

regds
mallah

>
> PLease I need urgent help!!!
>
> I lost my data??
> What can I do to back service up with my data??
>
>
>
>
> *-------------------------------------------------------*
> *-Edwin Quijada
> *-Developer DataBase
> *-JQ Microsistemas
> *-809-747-2787
> * " Si deseas lograr cosas excepcionales debes de hacer cosas fuera de
> lo comun"
> *-------------------------------------------------------*
>
> _________________________________________________________________
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-11-08 17:00:13 Re: pg_autovacuum causes 'create database' to fail when the
Previous Message monu agrawal 2003-11-08 16:38:38 performance: time & disk access measurment