Re: createdb error - Mailing list pgsql-general

From Christian
Subject Re: createdb error
Date
Msg-id 3d1c62d3$0$200$4d4eb98e@read.news.fr.uu.net
Whole thread Raw
In response to createdb error  ("Krummenacher, Gabriel" <krum@zellweger.ch>)
List pgsql-general
""Krummenacher, Gabriel"" <krum@zellweger.ch> wrote in message
news:AF7AB615A12AD411942C00508BACA90102040CDB@SLC230B...
> Hello,
>
> when trying to create a database with 'createdb test' i get the following
> error message:
> psql: could not create socket: No such file or directory
> createdb: database creation failed
>
> postmaster is started and says:
> DEBUG:  database system was shut down at 2003-03-16 20:05:19 cet
> DEBUG:  checkpoint record is at 0/109BB4
> DEBUG:  redo record is at 0/109BB4; undo record is at 0/0; shutdown TRUE
> DEBUG:  next transaction id: 89; next oid: 16556
> DEBUG:  database system is ready
>
> I am using postgreSQL 7.2.1 on QNX 6.1 x86. Has anyone an idea of what I
> could be doing wrong? 'netstat -a' does not show any ports belonging to
> postgreSQL...
>

Have you started postmaster with the -i option so that it uses TCP sockets
instead of unix sockets ? Then, 'netstat -na' should show TCP port 5432
listening for connections.

Christian




pgsql-general by date:

Previous
From: Daryl Beattie
Date:
Subject: Re: What is a tuple?
Next
From: "joemono"
Date:
Subject: Foreign Key Constraints