Couldn't start postgres, got no logging, ran postgres manually for info-- help?

From: Wells Oliver <wellsoliver(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Couldn't start postgres, got no logging, ran postgres manually for info-- help?
Date: 2013-07-12 02:07:41
Message-ID: CAOC+FBXTnv4rro4Z26ZtaG35gTqO9vviRgH937ubD1BL9d4ZaA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I ran:

pg_ctlcluster 9.1 main start

Received:

The PostgreSQL server failed to start. Please check the log output.

But, hey, in /var/log/postgresql, there was absolutely no logging. Nothing.
After some googling, I tried:

usr/lib/postgresql/9.1/bin/postgres -D /data/postgresql/9.1/main -c
config_file=/etc/postgresql/9.1/main/postgresql.conf

From the command line, which spit out to the terminal:

2013-07-12 02:04:05 GMT [30091]: [1-1] FATAL: data directory
"/data/postgresql/9.1/main" has group or world access

OK, so where the heck did this error message go when I was running
pg_ctlcluster? It would have saved me a lot of time.

--
Wells Oliver
wellsoliver(at)gmail(dot)com

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Wells Oliver 2013-07-12 04:55:14 pg_upgrade (9.1 to 9.2) bombing on casts
Previous Message Wells Oliver 2013-07-11 21:36:05 Re: Creating new cluster by copying directory?