Re: Fw: Re: Could Not Connect To Server

From: "Dummy Account" <dummyaccount4u(at)mail(dot)com>
To: "Adrian Klaver" <adrian(dot)klaver(at)aklaver(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Subject: Re: Fw: Re: Could Not Connect To Server
Date: 2020-04-23 20:37:29
Message-ID: trinity-eb2c7ba8-d1e9-400e-b345-626ae81c0e35-1587674249947@3c-app-mailcom-lxa16
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>&nbsp;</div>

<div>
<div>From the Finder, I think that is the same a File Explorer on Widows. &nbsp;From Finder, it&#39;s locked; I cannot access it. &nbsp;Could I use the command line and change ownership or access privledges? &nbsp;And then get access?</div>

<div>&nbsp;</div>

<div>Thanks</div>

<div>&nbsp;
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Sent:</b>&nbsp;Thursday, April 23, 2020 at 3:27 PM<br/>
<b>From:</b>&nbsp;&quot;Adrian Klaver&quot; &lt;adrian(dot)klaver(at)aklaver(dot)com&gt;<br/>
<b>To:</b>&nbsp;&quot;Dummy Account&quot; &lt;dummyaccount4u(at)mail(dot)com&gt;, &quot;pgsql-general&quot; &lt;pgsql-general(at)postgresql(dot)org&gt;, &quot;David G. Johnston&quot; &lt;david(dot)g(dot)johnston(at)gmail(dot)com&gt;<br/>
<b>Subject:</b>&nbsp;Re: Fw: Re: Could Not Connect To Server</div>

<div name="quoted-content">On 4/23/20 1:24 PM, Dummy Account wrote:<br/>
&gt; Hey Everyone,<br/>
&gt; I did find loggin.h and insallation_summary.log. &nbsp;Neither of which look<br/>
&gt; to include the info you may want.<br/>
&gt; Please advise as to what log file you want to see.<br/>
<br/>
Did you look under:<br/>
<br/>
/Library/PostgreSQL/12/data<br/>
<br/>
directory for sub-directory?:<br/>
<br/>
log/<br/>
<br/>
And under it for log files?<br/>
<br/>
&gt; Thanks<br/>
&gt; *Sent:*&nbsp;Thursday, April 23, 2020 at 2:32 PM<br/>
&gt; *From:*&nbsp;&quot;Dummy Account&quot; &lt;dummyaccount4u(at)mail(dot)com&gt;<br/>
&gt; *To:*&nbsp;&quot;Adrian Klaver&quot; &lt;adrian(dot)klaver(at)aklaver(dot)com&gt;<br/>
&gt; *Cc:*&nbsp;&quot;David G. Johnston&quot; &lt;david(dot)g(dot)johnston(at)gmail(dot)com&gt;, &quot;pgsql-general&quot;<br/>
&gt; &lt;pgsql-general(at)postgresql(dot)org&gt;<br/>
&gt; *Subject:*&nbsp;Re: Could Not Connect To Server<br/>
&gt; Hey David,<br/>
&gt; Can you tell me the exact name of the log file? &nbsp;Then I can search for it.<br/>
&gt; Thanks<br/>
&gt; *Sent:*&nbsp;Thursday, April 23, 2020 at 2:25 PM<br/>
&gt; *From:*&nbsp;&quot;Adrian Klaver&quot; &lt;adrian(dot)klaver(at)aklaver(dot)com&gt;<br/>
&gt; *To:*&nbsp;&quot;Dummy Account&quot; &lt;dummyaccount4u(at)mail(dot)com&gt;, &quot;David G. Johnston&quot;<br/>
&gt; &lt;david(dot)g(dot)johnston(at)gmail(dot)com&gt;<br/>
&gt; *Cc:*&nbsp;&quot;pgsql-general&quot; &lt;pgsql-general(at)postgresql(dot)org&gt;<br/>
&gt; *Subject:*&nbsp;Re: Could Not Connect To Server<br/>
&gt; On 4/23/20 12:12 PM, Dummy Account wrote:<br/>
&gt; &gt; Hi David,<br/>
&gt; &gt; When I backed-up, I don&#39;t know if the server was offline? &nbsp;I can say<br/>
&gt; &gt; that I was not&nbsp;running pgAdmin. &nbsp;For instance, I backed up the Operating<br/>
&gt; &gt; System and all of its applications. &nbsp;If I go run other application,<br/>
&gt; &gt; including other servers, they work. &nbsp;As a matter of fact, if I boot into<br/>
&gt; &gt; the old hard drive while&nbsp;it is outside of the laptop, it still works<br/>
&gt; &gt; just as it did before I took it out of the laptop.<br/>
&gt; &gt; As far as your question of &quot;And the relevant content from the log<br/>
&gt; &gt; directory log file?&quot;: what are you asking for?&nbsp; That *is* the entire and<br/>
&gt; &gt; complete log after that command.<br/>
&gt;<br/>
&gt; Those are the messages sent to the screen. There are also messages sent<br/>
&gt; to the Postgres server log. Not sure where the OS X install puts that,<br/>
&gt; but I would start under /Library/PostgreSQL/12/data.<br/>
&gt;<br/>
&gt; &gt; Thanks, I appreciate the help.<br/>
&gt; &gt; *Sent:*&nbsp;Thursday, April 23, 2020 at 1:55 PM<br/>
&gt; &gt; *From:*&nbsp;&quot;David G. Johnston&quot; &lt;david(dot)g(dot)johnston(at)gmail(dot)com&gt;<br/>
&gt; &gt; *To:*&nbsp;&quot;Dummy Account&quot; &lt;dummyaccount4u(at)mail(dot)com&gt;<br/>
&gt; &gt; *Cc:*&nbsp;&quot;pgsql-general&quot; &lt;pgsql-general(at)postgresql(dot)org&gt;<br/>
&gt; &gt; *Subject:*&nbsp;Re: Could Not Connect To Server<br/>
&gt; &gt; On Thu, Apr 23, 2020 at 11:48 AM Dummy Account &lt;dummyaccount4u(at)mail(dot)com<br/>
&gt; &gt; &lt;mailto:dummyaccount4u(at)mail(dot)com&gt;&gt; wrote:<br/>
&gt; &gt;<br/>
&gt; &gt; But here they are:<br/>
&gt; &gt;<br/>
&gt; &gt; waiting for server to start....2020-04-22 15:57:51.766 CDT [5255]<br/>
&gt; &gt; LOG: &nbsp;starting PostgreSQL 12.2 on x86_64-apple-darwin, compiled by<br/>
&gt; &gt; Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn), 64-bit<br/>
&gt; &gt; 2020-04-22 15:57:51.766 CDT [5255] LOG: &nbsp;listening on IPv6 address<br/>
&gt; &gt; &quot;::&quot;, port 5432<br/>
&gt; &gt; 2020-04-22 15:57:51.766 CDT [5255] LOG: &nbsp;listening on IPv4 address<br/>
&gt; &gt; &quot;0.0.0.0&quot;, port 5432<br/>
&gt; &gt; 2020-04-22 15:57:51.768 CDT [5255] LOG: &nbsp;listening on Unix socket<br/>
&gt; &gt; &quot;/tmp/.s.PGSQL.5432&quot;<br/>
&gt; &gt; 2020-04-22 15:57:51.782 CDT [5255] LOG: &nbsp;redirecting log output to<br/>
&gt; &gt; logging collector process<br/>
&gt; &gt; 2020-04-22 15:57:51.782 CDT [5255] HINT: &nbsp;Future log output will<br/>
&gt; &gt; appear in directory &quot;log&quot;.<br/>
&gt; &gt;<br/>
&gt; &gt; And the relevant content from the log directory log file?<br/>
&gt; &gt;<br/>
&gt; &gt; &nbsp;stopped waiting<br/>
&gt; &gt; pg_ctl: could not start server<br/>
&gt; &gt; You might be misunderstanding where I said restore, I did&nbsp;not backup<br/>
&gt; &gt; the database, I restored an Operating System because I changed out<br/>
&gt; &gt; my hard drive for a solid state drive; therefore, I had to restore<br/>
&gt; &gt; my Operating System from Time Machine/(backup).<br/>
&gt; &gt;<br/>
&gt; &gt; And was that Time Machine backup made while the server was offline?&nbsp; If<br/>
&gt; &gt; not, and you didn&#39;t take any explicit steps to backup and restore the<br/>
&gt; &gt; database itself, then your database may be corrupted and thus unable to<br/>
&gt; &gt; boot.&nbsp; The log file should indicate whether that is the case.<br/>
&gt; &gt; David J.<br/>
&gt;<br/>
&gt;<br/>
&gt; --<br/>
&gt; Adrian Klaver<br/>
&gt; adrian(dot)klaver(at)aklaver(dot)com<br/>
<br/>
<br/>
--<br/>
Adrian Klaver<br/>
adrian(dot)klaver(at)aklaver(dot)com</div>
</div>
</div>
</div></div></body></html>

Attachment Content-Type Size
unknown_filename text/html 6.1 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2020-04-23 21:16:12 Re: Question on banner display after PG initial connection
Previous Message Adrian Klaver 2020-04-23 20:27:14 Re: Fw: Re: Could Not Connect To Server