🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #7707

Otro problema con Postgres

#7707
From: Isidro Merayo Castellano
Date: Sat, 08 Feb 2003 22:01
33 lines
2080 bytes
Hola.
La soluci�n al problema anterior que me pasaba con postgres,  no era 
ninguno de los que me habian comentado.
El problema estaba a la hora de arrancar la BBDD

$ /usr/bin/postmaster -o -i -D /usr/local/pgsql/data &

lo que habia que hacer era quitar la opci�n -o

$ /usr/bin/postmaster -i -D /usr/local/pgsql/data &

Funciona correctamente, bueno +/-

Ahora puedo crear usuarios

$ createuser -d -P
Enter name of user to add: phpBB
Enter password for user "phpBB":
Enter it again:
Shall the new user be allowed to create more new users? (y/n) n
CREATE USER

Ahora el problema viene al premitir al usuario crear una BBDD

$ createdb --username=phpBB -W foros
Password:
FATAL 1:  IDENT authentication failed for user "phpBB"
psql: FATAL 1:  IDENT authentication failed for user "phpBB"

createdb: database creation failed

He puesto las recomendaciones de PUAS the HEDGEHOG en el fichero 
pg_hba.conf (desde aqu� darte las gracias), pero me sigue fallando.
Technical Details
Message-ID: <b23umr$506$1@news.ya.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.rediris.es!bashful.rediris.es!news.ya.com!yacom!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,d9c84d93b47dedfb,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-02-08 14:01:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.rediris.es!bashful.rediris.es!news.ya.com!yacom!not-for-mail
From: Isidro Merayo Castellano <imc@ya.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Otro problema con Postgres
Date: Sat, 08 Feb 2003 23:01:04 +0100
Organization: ya.com internet factory
Lines: 34
Message-ID: <b23umr$506$1@news.ya.com>
NNTP-Posting-Host: 80-36-168-253.adsl.ya.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.ya.com 1044741659 5126 80.36.168.253 (8 Feb 2003 22:00:59 GMT)
X-Complaints-To: newsmaster@ya.com
NNTP-Posting-Date: Sat, 8 Feb 2003 22:00:59 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021223
X-Accept-Language: es
X-Enigmail-Version: 0.71.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime