Starting the Server at Boot

Started by Hunter Hillegasalmost 25 years ago4 messagesgeneral
Jump to latest
#1Hunter Hillegas
lists@lastonepicked.com

I tried to check the archives but I couldn't find a way to search...

Anyway, I want to start my Postgres server at boot (7.1). I tried the script
that came with it and it doesn't work. It seems to start the server but it
doesn't accept connections (yes, the -i option is on)... Is there a trick?

I'm using RedHat 6 so it's a SysV boot...

Any help is appreciated.

Hunter

In reply to: Hunter Hillegas (#1)
RE: Starting the Server at Boot

I tried to check the archives but I couldn't find a way to search...

TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl

Tried to configure <your data dir>/pg_hba.conf

?

#3Peter Eisentraut
peter_e@gmx.net
In reply to: Hunter Hillegas (#1)
Re: Starting the Server at Boot

Hunter Hillegas writes:

Anyway, I want to start my Postgres server at boot (7.1). I tried the script
that came with it and it doesn't work. It seems to start the server but it
doesn't accept connections (yes, the -i option is on)... Is there a trick?

Enable it in the postgresql.conf file. (The -i option should work.
Odd...)

--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter

#4Joel Burton
jburton@scw.org
In reply to: Peter Eisentraut (#3)
Re: Starting the Server at Boot

On Thu, 3 May 2001, Peter Eisentraut wrote:

Hunter Hillegas writes:

Anyway, I want to start my Postgres server at boot (7.1). I tried the script
that came with it and it doesn't work. It seems to start the server but it
doesn't accept connections (yes, the -i option is on)... Is there a trick?

Enable it in the postgresql.conf file. (The -i option should work.
Odd...)

Perhaps the reason that -i didn't work is that the scripts use pg_ctl.
Don't the options for that need to be wrapped in -o, as in '-o "-i"'.
It's easy to get that wrong.

--
Joel Burton <jburton@scw.org>
Director of Information Systems, Support Center of Washington