From: | microbe(at)chollian(dot)net |
---|---|
To: | Daniel Pider <dpeder(at)infoset(dot)cz> |
Cc: | "'Phil Oelkers'" <Phil(dot)Oelkers(at)experian(dot)com>, "'Pgsql-general(at)postgreSQL(dot)org'" <Pgsql-general(at)postgreSQL(dot)org> |
Subject: | RE: [GENERAL] newbe question |
Date: | 1999-08-25 01:26:36 |
Message-ID: | Pine.LNX.4.10.9908251021590.7221-100000@maldives.rnd.lgchem.co.kr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
If postmaster is really running, su the user who running postmaster
(should not be root).
and run the following two commands.
$ initdb
$ createuser anyuser
According to your Linux distribution, initdb may have been performed.
(my RedHat 6.0 scripts for postgres in rc.d/ directory runs initdb.)
In this case you don't have to run initdb.
On Tue, 24 Aug 1999, Daniel Pider wrote:
> login as the root and at the linux prompt # type following
> =======example=======
> ps aux | grep postmaster
> =====================
>
> then You should get few lines containig one looking like that, notice the text "postmaster" at the end of line:
> =====example===========
> postgres 345 0.0 2.9 3376 904 ? S 12:31 0:00 /usr/bin/postmaster -
> =======================
> if not, then the backend server is not running - so it is not installed
>
> -----Original Message-----
> From: Phil Oelkers [SMTP:Phil(dot)Oelkers(at)experian(dot)com]
> Sent: Tuesday, August 24, 1999 6:00 PM
> To: Pgsql-general(at)postgreSQL(dot)org
> Subject: [GENERAL] newbe question
>
> Ok I'm and old pro at SQL (DB2, Access) but a total Linux/Unix idiot.
>
> I have Mandrake RedHat Linux and think I have postgresql installed.
>
> At the shell I type
>
> psql template1
>
> Linux complains
>
> connectDB() failed: Is postmaster running and accepting conections at
> 'UNIX SOCKET' on port 5432
>
>
> Being a near complete Linux idiot I have no clue what this means.
>
> Anybody care to help?
>
> Thanks
>
> Phil Oelkers
> Database Analyst - Team O
> Experian DirectTech
>
>
>
> ************
>
>
> ************
>
===============================================================================
Science is the game we play with God to find out what his rules are.
-------------------------------------------------------------------------------
Doo Suk Yang
Research Scientist Voice: 82-42-866-2222
LG Chemical Ltd. Research Park
Biotech Research Institute I FAX: 82-42-861-2566
-------------------------------------------------------------------------------
A fool hath no delight in understanding, but that his heart may discover itself.
(Proverbs 18:2)
===============================================================================
From | Date | Subject | |
---|---|---|---|
Next Message | Teodor Cimpoesu | 1999-08-25 03:35:55 | |
Previous Message | Dmitri G. Chtchekine | 1999-08-24 22:50:48 | installation and pq_recvbuf: unexpected EOF |