X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0646A52871 for ; Mon, 20 Jun 2005 01:38:09 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 16167-05 for ; Mon, 20 Jun 2005 04:37:59 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by svr1.postgresql.org (Postfix) with ESMTP id 8F3C252809 for ; Mon, 20 Jun 2005 01:37:58 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id 37so523408wra for ; Sun, 19 Jun 2005 21:37:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PbDzY9aBim8bBqy+Ejm5Ci9dxNM7+EbNMQo8RHr/SOM6Q5fQzsxnFXrZuEIPrB99F6oxHBX5A83LYcMpuE0nVZFnU5/E4emiUp8DilZZLX5mk08pP85p8MQqDeZCyYZw8AZuLbP+8kZo4l9pozAhEOrzLlyc9rRA9mjp6meuDwU= Received: by 10.54.2.42 with SMTP id 42mr2288317wrb; Sun, 19 Jun 2005 21:37:58 -0700 (PDT) Received: by 10.54.104.15 with HTTP; Sun, 19 Jun 2005 21:37:58 -0700 (PDT) Message-ID: <714bb51a050619213769e62b19@mail.gmail.com> Date: Sun, 19 Jun 2005 23:37:58 -0500 From: Nahum Castro Reply-To: Nahum Castro To: Steph Frias Subject: Re: AYUDA CON LA INSTALACION DEL POSTGRESQL Cc: pgsql-sql@postgresql.org In-Reply-To: <20050612205624.40132.qmail@web41014.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050612205624.40132.qmail@web41014.mail.yahoo.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.043 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200506/243 X-Sequence-Number: 21844 2005/6/12, Steph Frias : >=20 >=20 > Inicie la instalacion del PostgreSQL 7.3.10 como dice > el install: >=20 > ./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 Verifica que hayas arrancado el postgres. arranca mejor con pg_ctl start para arrancar o stop para parar Solamente existe el usuario postgres y si sigues como root no te va a dejar hacer nada. ahi te va el procedimiento: # comando como root $ comando como postgres $ tar xvzf postgresql.tar.gz $ cd postgresql $ ./configure --enable-nls=3D'es' --with-perl $ gmake # gmake install # adduser postgres # passwd postgres $ cd $ mkdir datos $ /usr/local/pgsql/bin/initdb -E UNICODE -D /home/postgres/datos $ export PG_DATA=3D/home/postgres/datos $ PATH=3D$PATH:/usr/local/pgsql/bin $ pg_ctl start $ createuser -P nombredetuusuariounix $ createlang plpgsql template1 $ su - nombredetuusuariounix $ createdb prueba $ psql prueba .............. > Pero al llegar a la penultima linea me sale: > [postgres@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 >=20 > Que es lo que debo hacer? > TanX Suscribete mejor a la lista en espa=F1ol, que esta en la misma p=E1gina donde te inscribiste a esta lista. Saludos.=20 --=20 Nahum Castro Gonz=E1lez Le=F3n, Guanajuato, M=E9xico