Re: AYUDA CON LA INSTALACION DEL POSTGRESQL

From: jose ricardo <joripeca(at)yahoo(dot)com(dot)ar>
To: psql <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: AYUDA CON LA INSTALACION DEL POSTGRESQL
Date: 2005-06-13 15:21:52
Message-ID: 20050613152152.5205.qmail@web60925.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

debes iniciar el motor de postgres
su postgres
/usr/local/pgsql/bin/postmaster -i -D
/usr/local/pgsql/data

la opcion -i es para indicarle al motor que acepte
conexionses externa, y la opcion -D le indica la ruta
donde se encuentra el closter de la bd.

recurda siempre logearte como usuario postgres ya que
como root el motor no se ejecutara por seguridad.
--- Steph Frias <lero999(at)yahoo(dot)com> escribió:

>
>
> Inicie la instalacion del PostgreSQL 7.3.10 como
> dice
> el install:
>
> ./configure
> gmake
> su
> gmake install
> adduser postgres
> mkdir /usr/local/pgsql/data
> chown postgres /usr/local/pgsql/data
> su - postgres
> /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
> /usr/local/pgsql/bin/postmaster -D
> /usr/local/pgsql/data >logfile 2>&1 &
> /usr/local/pgsql/bin/createdb test
> /usr/local/pgsql/bin/psql test
>
> Pero al llegar a la penultima linea me sale:
> [postgres(at)C41-13 postgres]$
> /usr/local/pgsql/bin/createdb test
> psql: could not connect to server: No existe el
> fichero o el directorio
> Is the server running locally and accepting
> connections on Unix domain socket
> "/tmp/.s.PGSQL.5432"?
> createdb: database creation failed
>
> Que es lo que debo hacer?
> TanX
>
>
>
>
> __________________________________
> Discover Yahoo!
> Find restaurants, movies, travel and more fun for
> the weekend. Check it out!
> http://discover.yahoo.com/weekend.html
>
>
> ---------------------------(fin del
> mensaje)---------------------------
> TIP 10: visita nuestro canal de IRC #postgresql-es
> en irc.freenode.net
>

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Armando Skertchly 2005-06-13 15:40:45 Procedimientos en PlpgSQL
Previous Message dkuroki 2005-06-13 15:20:07 Re: Procedimientos en PlpgSQL