Re: Postgresql and Postmaster response

From: Yves Dorfsman <x(at)x(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgresql and Postmaster response
Date: 2000-07-14 18:19:38
Message-ID: _QIb5.75506$ef6.1008598@news1.rdc1.ab.home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sean <salphonse1(at)home(dot)com> wrote:

> I am using PostgreSQL version 7.0.2 with RedHat 6.1. When I start up the
> postmaster at the prompt, I get the following response and the session hangs
> and doesn't return to the prompt but I am able to use my databases and
> PostgreSQL. Is this normal or correct? If not, what should I do to fix this
> problem?

Your session hasn't hung. Basically you are running a server in the
foreground. You really want to run it in the background, so add an '&'
(ampersand) at the end of your line and the server will be sent to the
background. Ideally you want to nohup it too. From the man page:

USAGE
To start postmaster using default values, type:

% nohup postmaster >logfile 2>&1 &

This command will start up postmaster on the default port
(5432). This is the simplest and most common way to start
the postmaster.

By the way, since you are running on Linux, did you install postgreSQL
from a package ? If yes, there probably is a postgres file in /etc/init.d,
or /etc/rc something (not sure what it is on redhat, /etc/rc.d/init.d ??).

Check it, than the best way to sopt/start your server would be:
/etc/..../postgres stop
/etc/..../postgres start

Yves.
----
Yves Dorfsman dorfsmay(at)cuug(dot)ab(dot)ca
http://www.cuug.ab.ca/~dorfsmay

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Charles Tassell 2000-07-14 18:57:51 Re: Escaping parenthesis in regular expressions....
Previous Message Steve Wolfe 2000-07-14 18:00:57 Escaping parenthesis in regular expressions....