From: | William WAISSE <wwaisse(at)esprit-equipe(dot)fr> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: how to create a database |
Date: | 2001-12-10 22:37:37 |
Message-ID: | 200112101632.fBAGWaJ36909@smtp1.cluster.oleane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Le Tuesday 04 December 2001 01:09, ranjitha ullasa a écrit :
> i am encoutering the following error while trying to create a database ,
> kindly provide the solution to this as soon as possible,
> bash-2.05$ createdb sat_demo1
> /Program Files/Mercury Interactive/LoadRunner/bin/sed.exe: Unexpected
hum, so you are not using a _normal_ linux ?
This is a pseudo_linux running under Windows ?
Not sure Everything can work on this kind of _pseudo_linux_
> End-of-file psql: connectDBStart() -- connect() failed: No such file or
> directory Is the postmaster running locally
> and accepting connections on Unix socket '/tmp/.s.PGSQL.5432'?
> createdb: database creation failed
>
This means that the postmaster is not running.
You should launch the postmaster before
( with '/etc/init.d/posgresql start' for example ) see below :
----------------
[root(at)waisse william]# createdb a
psql: connectDBStart() -- connect() failed: No such file or directory
Is the postmaster running at 'localhost'
and accepting connections on Unix socket '5432'?
createdb: database creation failed
[root(at)waisse william]# /etc/init.d/po
portmap postfix postgresql
[root(at)waisse william]# /etc/init.d/pos
postfix postgresql
[root(at)waisse william]# /etc/init.d/postgresql start
Checking postgresql installation: looks good!
Starting postgresql service: postmaster [14253]
[root(at)waisse william]# createdb a
CREATE DATABASE
[root(at)waisse william]#
-----------
This works all the time on a _normal_ linux.
--
cordialement, William WAISSE fpr = 9CCD 7DA2 7050 8805 F471 03D1 DF76 B78C
690B 4E07
--
Computers are like air conditionners. They work better when you close windows.
--
Visitez donc mon site perso (version 0.4 du 29/05/2001) :
http://www.neofutur.net
--
Vous habitez dans l'Essonne et vous aimez les Pingouins ???
visitez donc la GAULE(=LUG91) : http://www.gaule.org
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/MU d- s: a- C++++ UL+++ P+ L++++ E--- W++ N o-- K- w---
O- M- V- PS+ PE-- Y++ PGP++ t+ 5 X++ R++ tv- b+++ DI- D G e++ h* r++ y+++
------END GEEK CODE BLOCK------
From | Date | Subject | |
---|---|---|---|
Next Message | Glen Eustace | 2001-12-10 22:39:22 | Re: Weird problem - possibly a bug. |
Previous Message | Tom Lane | 2001-12-10 22:34:11 | Re: problems doing sub-selects on PostgreSQL 7.1.3 and Solaris 7 |