From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Dummy Account <dummyaccount4u@mail.com>
To: pgsql-general <pgsql-general@postgresql.org>
To: David G. Johnston <david.g.johnston@gmail.com>
Subject: Re: Fw: Re: Could Not Connect To Server
Date: Thu, 23 Apr 2020 13:27:14 -0700
Message-ID: <7b6777a3-770d-3d5b-4cdb-2d9c141efc9c@aklaver.com> (raw)
In-Reply-To: <trinity-82585037-9cd4-46b8-905c-1cc12a728eb4-1587673466514@3c-app-mailcom-lxa16>
References: <trinity-a1f39fea-ffcd-4e01-943d-0ac58bf7094a-1587665923182@3c-app-mailcom-lxa16>
<CAKFQuwaP7OSwc214Q+AxW7e9FRbg=HS+HejGS4dBuyN4dh=00A@mail.gmail.com>
<trinity-feffac82-333a-4ff4-85b1-35842d2ec777-1587667715403@3c-app-mailcom-lxa16>
<CAKFQuwYaq6zCw=F3soEBQDo1VRzb9e0ZV7AvQVa0W=Yzv8_2KQ@mail.gmail.com>
<trinity-8cd0a71f-5141-4035-8782-45d149bc8a0f-1587669151008@3c-app-mailcom-lxa16>
<0d2591c4-4dfb-ef41-6329-016509cd3a00@aklaver.com>
<trinity-c92caf44-4098-42df-bf51-b4040cc32c9f-1587670372096@3c-app-mailcom-lxa16>
<trinity-82585037-9cd4-46b8-905c-1cc12a728eb4-1587673466514@3c-app-mailcom-lxa16>
On 4/23/20 1:24 PM, Dummy Account wrote:
> Hey Everyone,
> I did find loggin.h and insallation_summary.log. Neither of which look
> to include the info you may want.
> Please advise as to what log file you want to see.
Did you look under:
/Library/PostgreSQL/12/data
directory for sub-directory?:
log/
And under it for log files?
> Thanks
> *Sent:* Thursday, April 23, 2020 at 2:32 PM
> *From:* "Dummy Account" <dummyaccount4u@mail.com>
> *To:* "Adrian Klaver" <adrian.klaver@aklaver.com>
> *Cc:* "David G. Johnston" <david.g.johnston@gmail.com>, "pgsql-general"
> <pgsql-general@postgresql.org>
> *Subject:* Re: Could Not Connect To Server
> Hey David,
> Can you tell me the exact name of the log file? Then I can search for it.
> Thanks
> *Sent:* Thursday, April 23, 2020 at 2:25 PM
> *From:* "Adrian Klaver" <adrian.klaver@aklaver.com>
> *To:* "Dummy Account" <dummyaccount4u@mail.com>, "David G. Johnston"
> <david.g.johnston@gmail.com>
> *Cc:* "pgsql-general" <pgsql-general@postgresql.org>
> *Subject:* Re: Could Not Connect To Server
> On 4/23/20 12:12 PM, Dummy Account wrote:
> > Hi David,
> > When I backed-up, I don't know if the server was offline? I can say
> > that I was not running pgAdmin. For instance, I backed up the Operating
> > System and all of its applications. If I go run other application,
> > including other servers, they work. As a matter of fact, if I boot into
> > the old hard drive while it is outside of the laptop, it still works
> > just as it did before I took it out of the laptop.
> > As far as your question of "And the relevant content from the log
> > directory log file?": what are you asking for? That *is* the entire and
> > complete log after that command.
>
> Those are the messages sent to the screen. There are also messages sent
> to the Postgres server log. Not sure where the OS X install puts that,
> but I would start under /Library/PostgreSQL/12/data.
>
> > Thanks, I appreciate the help.
> > *Sent:* Thursday, April 23, 2020 at 1:55 PM
> > *From:* "David G. Johnston" <david.g.johnston@gmail.com>
> > *To:* "Dummy Account" <dummyaccount4u@mail.com>
> > *Cc:* "pgsql-general" <pgsql-general@postgresql.org>
> > *Subject:* Re: Could Not Connect To Server
> > On Thu, Apr 23, 2020 at 11:48 AM Dummy Account <dummyaccount4u@mail.com
> > <mailto:dummyaccount4u@mail.com>> wrote:
> >
> > But here they are:
> >
> > waiting for server to start....2020-04-22 15:57:51.766 CDT [5255]
> > LOG: starting PostgreSQL 12.2 on x86_64-apple-darwin, compiled by
> > Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn), 64-bit
> > 2020-04-22 15:57:51.766 CDT [5255] LOG: listening on IPv6 address
> > "::", port 5432
> > 2020-04-22 15:57:51.766 CDT [5255] LOG: listening on IPv4 address
> > "0.0.0.0", port 5432
> > 2020-04-22 15:57:51.768 CDT [5255] LOG: listening on Unix socket
> > "/tmp/.s.PGSQL.5432"
> > 2020-04-22 15:57:51.782 CDT [5255] LOG: redirecting log output to
> > logging collector process
> > 2020-04-22 15:57:51.782 CDT [5255] HINT: Future log output will
> > appear in directory "log".
> >
> > And the relevant content from the log directory log file?
> >
> > stopped waiting
> > pg_ctl: could not start server
> > You might be misunderstanding where I said restore, I did not backup
> > the database, I restored an Operating System because I changed out
> > my hard drive for a solid state drive; therefore, I had to restore
> > my Operating System from Time Machine/(backup).
> >
> > And was that Time Machine backup made while the server was offline? If
> > not, and you didn't take any explicit steps to backup and restore the
> > database itself, then your database may be corrupted and thus unable to
> > boot. The log file should indicate whether that is the case.
> > David J.
>
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, dummyaccount4u@mail.com, david.g.johnston@gmail.com
Subject: Re: Fw: Re: Could Not Connect To Server
In-Reply-To: <7b6777a3-770d-3d5b-4cdb-2d9c141efc9c@aklaver.com>
References: <trinity-a1f39fea-ffcd-4e01-943d-0ac58bf7094a-1587665923182@3c-app-mailcom-lxa16> <CAKFQuwaP7OSwc214Q+AxW7e9FRbg=HS+HejGS4dBuyN4dh=00A@mail.gmail.com> <trinity-feffac82-333a-4ff4-85b1-35842d2ec777-1587667715403@3c-app-mailcom-lxa16> <CAKFQuwYaq6zCw=F3soEBQDo1VRzb9e0ZV7AvQVa0W=Yzv8_2KQ@mail.gmail.com> <trinity-8cd0a71f-5141-4035-8782-45d149bc8a0f-1587669151008@3c-app-mailcom-lxa16> <0d2591c4-4dfb-ef41-6329-016509cd3a00@aklaver.com> <trinity-c92caf44-4098-42df-bf51-b4040cc32c9f-1587670372096@3c-app-mailcom-lxa16> <trinity-82585037-9cd4-46b8-905c-1cc12a728eb4-1587673466514@3c-app-mailcom-lxa16> <7b6777a3-770d-3d5b-4cdb-2d9c141efc9c@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox