From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Rich Shepard <rshepard(at)appl-ecosys(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Move cluster to new host, upgraded version |
Date: | 2018-11-14 15:05:55 |
Message-ID: | ea1d8fbe-3d09-6b92-ad12-1a3a59e093a3@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 11/14/18 6:58 AM, Rich Shepard wrote:
> On Tue, 13 Nov 2018, Adrian Klaver wrote:
>
>> Just realized the question I should have asked is:
>> How did you get the pg_dumpall file processed by Postgres?
>> In other words how did you do it without a password?
>
> As user postgres I entered the command
> $ psql -f dump-all.sql
>
> In any case, I need to back up because I missed something when
> initializing the cluster.
>
> ps ax | grep postgres
>
> shows a number of processes, but psql tells me there's no server running,
> and there is no postmaster.opts or postmaster.pid in the data directory.
>
> I can delete contents of the data directory and re-initdb, or re-install
> the application and start from scratch.
It was running when you did this:
psql -f dump-all.sql
correct?
Seems to me it is a start up script issue.
Have you rebooted the computer since the last time Postgres ran?
Is there a startup script in init.d/ or where ever your scripts are?
Can you start the server manually using pg_ctl?
>
> Advice appreciated,
>
> Rich
>
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2018-11-14 15:31:02 | Re: Move cluster to new host, upgraded version |
Previous Message | Rich Shepard | 2018-11-14 14:58:33 | Re: Move cluster to new host, upgraded version |