Re: Error message "psql: could not connect to server: No such file or directory"

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Stefan Schwarzer <stefan(dot)schwarzer(at)unep(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error message "psql: could not connect to server: No such file or directory"
Date: 2012-06-25 08:04:58
Message-ID: 4FE81BAA.6030902@ringerc.id.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 06/25/2012 02:50 PM, Stefan Schwarzer wrote:
> Craig Ringer wrote:
>> I'm puzzled about why you don't appear to be looking at the server error logs (/usr/local/pgsql-9.1/data/pg_log) during troubleshooting. They're your main source of info.
>
> Hmm, I guess it's because I didn't think of it, I was't really aware of it (although I tried to use the Console Error Messages to find any errors), and wouldn't have been sure how to access it (as it belongs to the _postgres user). But then, it doesn't exist. I see pg_clog and pg_xlog...

Perhaps your install places it somewhere else. Sorry, I don't really do
mac. The PostgreSQL log directory can be found by examining
postgresql.conf in the data directory. The 'log_directory' parameter
specifies where Pg writes its logs to.

--
Craig Ringer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stefan Schwarzer 2012-06-25 08:21:45 Re: Error message "psql: could not connect to server: No such file or directory"
Previous Message Stefan Schwarzer 2012-06-25 06:50:56 Re: Error message "psql: could not connect to server: No such file or directory"