Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRjWH-0007fV-25 for pgsql-general@arkaria.postgresql.org; Thu, 23 Apr 2020 21:36:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jRjWF-0001kr-RN for pgsql-general@arkaria.postgresql.org; Thu, 23 Apr 2020 21:36:27 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jRjWF-0001kf-JW for pgsql-general@lists.postgresql.org; Thu, 23 Apr 2020 21:36:27 +0000 Received: from mail-io1-xd42.google.com ([2607:f8b0:4864:20::d42]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jRjW9-0006xa-EL for pgsql-general@lists.postgresql.org; Thu, 23 Apr 2020 21:36:26 +0000 Received: by mail-io1-xd42.google.com with SMTP id e9so8085549iok.9 for ; Thu, 23 Apr 2020 14:36:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=T9QJjq1CIQaNwHmWtg4SFDFrI53Pb4pwm2w7wkvbtHI=; b=WS8BExxxO4Dc4LG3Fz/16wqnbRKL+BCmZ6iPAUJGYlhexjtdnmnTgeN0rh2JU/uHcS goIRxKYXl2ohWNl8z9/a2NYMz68p3DLe0ayEA7Zt058t6LpLSGP24vDMBXE4mwIfBYj7 3mtcuhBHiPnAmzyYYhovnxrlmoN7aiqgd9pIyPHK0PtfMQ2iwMfJHrr+Mt91cJEQPMLu BhcmiNp5SfM0ZnYiZBC3Lytd+wd7z5mFAWD0ksItchRQYN1rdSTCs1qsQzfxUvmisC4M SJOycz6TDdWASusHMAkP1Cq4Dza4B6kNfmyQ+VHMQI62aXlo0c1/IQAWjP3GqXuN4CIs nkLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=T9QJjq1CIQaNwHmWtg4SFDFrI53Pb4pwm2w7wkvbtHI=; b=eqBgiuQuFNfBpFA27TcMYT5DhZ4q2leaQIN9HWgYoQ9Ih98iQe+oMJr6CjUkdfyLOQ 8wX36ALScanfjPLyUPC3INvfK51TrXdsbwZw9/hwBq/5j7jgK00kBXuGsIrGt4c3SexY o4rsyEkTwlDdTbF1G5wRjM5SebBf67znVMKD77rVBp3ovptejcBuCpvEK5TqaGTsB8kY rU46IkA1KoVdP1CAKzChDKSGTUX6CzCIYOFWn3h3xiIJkhMQH2LpHk/45jaf5/KM/1AU cxpwSwdvVD0c972hX9Q76wrptgqvuM+4z4rweUdNtcoe0iT2GozXWqEpFLsO31s5URt0 UE/A== X-Gm-Message-State: AGi0PuZ6q/gCoc05XMYusNwBG5E35hrjbqQt/40GH4ug79SLQiRGXBdf d9yUooPeKOEOx7wv1t1XG7XerRueOpk= X-Google-Smtp-Source: APiQypK0nxec/x5ZlkiQ4xagM33iOHIH5NUWgfFBzG+Cn0DSSxVAzlzx8nQytoIC76411IGA+hNa1w== X-Received: by 2002:a6b:a14:: with SMTP id z20mr5678603ioi.182.1587677780336; Thu, 23 Apr 2020 14:36:20 -0700 (PDT) Received: from ?IPv6:2601:681:5500:dde0:49ef:d15:cc02:739b? ([2601:681:5500:dde0:49ef:d15:cc02:739b]) by smtp.gmail.com with ESMTPSA id m5sm1294850ilg.15.2020.04.23.14.36.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Apr 2020 14:36:19 -0700 (PDT) Subject: Re: Fw: Re: Could Not Connect To Server To: pgsql-general@lists.postgresql.org References: <0d2591c4-4dfb-ef41-6329-016509cd3a00@aklaver.com> <7b6777a3-770d-3d5b-4cdb-2d9c141efc9c@aklaver.com> <29a84aed-7713-a3f4-deca-fb85981d5826@aklaver.com> From: Rob Sargent Message-ID: <7f02bdde-f132-610b-fd6d-cf00088936be@gmail.com> Date: Thu, 23 Apr 2020 15:36:19 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <29a84aed-7713-a3f4-deca-fb85981d5826@aklaver.com> Content-Type: multipart/alternative; boundary="------------8EA02BFFB3E1E9566C7772C3" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------8EA02BFFB3E1E9566C7772C3 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 4/23/20 3:26 PM, Adrian Klaver wrote: > On 4/23/20 1:37 PM, Dummy Account wrote: >>  From the Finder, I think that is the same a File Explorer on Widows. >>   From Finder, it's locked; I cannot access it.  Could I use the >> command line and change ownership or access privledges?  And then get >> access? > > Why not from the command line use a text editor to view the file(s)? > >> Thanks > Does this work for you in a terminal? sudo su - postgres cd /Library/PostgreSQL find . -name log From your first post, that ought to find the "log" mentioned in the output (and possible more than one if you have multiple installations).  As Peter pointed out that's a directory.  The logs will be in there. cd ls -ltr Should show the most recent file last.  That's likely the file of interest. > > --------------8EA02BFFB3E1E9566C7772C3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

On 4/23/20 3:26 PM, Adrian Klaver wrote:
On 4/23/20 1:37 PM, Dummy Account wrote:
 From the Finder, I think that is the same a File Explorer on Widows.   From Finder, it's locked; I cannot access it.  Could I use the command line and change ownership or access privledges?  And then get access?

Why not from the command line use a text editor to view the file(s)?

Thanks

Does this work for you in a terminal?
sudo su - postgres
<your login password>
cd /Library/PostgreSQL
find . -name log
From your first post, that ought to find the "log" mentioned in the output (and possible more than one if you have multiple installations).  As Peter pointed out that's a directory.  The logs will be in there.
cd <dir found from find command>
ls -ltr
Should show the most recent file last.  That's likely the file of interest.





--------------8EA02BFFB3E1E9566C7772C3--