With FreeBSD, you should really use the port; it saves you much grief. I
recommend it! cd /usr/ports/databases/postgresql && make install (with
a fresh ports tree, which you get with "cvsup
/usr/share/examples/cvsup/ports-supfile").
Regards,
Palle
"Allan C. Lemos" wrote:
>
> Hi,
> I'm running FreeBSD 2.8 and I downloaded and installed PostgreSQL 6.4. I
> can start postmaster (-i), but when I try to run createdb, to create a
> database, I get a output saying:
> Connection to database 'template1' failed.
> pqReadData() --backend closed the channel unexpectedly.
> This probably means the backend terminated abnormally before or while
> processing the request.
> createdb: database creation failed on userxx
>
> -------------------------------------------------------------------------------
> Allan Cardech de Lemos e-mail: allan@ufrrj.br
> Univ. Federal Rural do Rio de Janeiro http://www.ufrrj.br
> Coordenadoria de Informatica Phone (+55) (21) 6821349
> Rodovia Br. 465 Km 7 - Seropedica Fax (+55) (21) 6821070
> CEP 23890-000
> -------------------------------------------------------------------------------