From: | Stuart Bishop <stuart(at)stuartbishop(dot)net> |
---|---|
To: | Lasse Westh-Nielsen <lassewesth(at)gmail(dot)com> |
Cc: | "List, Postgres" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Service not starting on Ubuntu 15.04 |
Date: | 2015-10-26 14:31:47 |
Message-ID: | CADmi=6P9heREX6zeix_+B_MnAMJe8+8YKpM_GWGaBv7BrCwWQg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 26 October 2015 at 18:21, Lasse Westh-Nielsen <lassewesth(at)gmail(dot)com> wrote:
> Hey,
>
> I posted to stackoverflow about my problem upgrading from Ubuntu 14.04 to
> Ubuntu 15.04:
> http://stackoverflow.com/questions/33306475/ubuntu-15-04-postgresql-doesnt-start
>
> Tl;dr: postgresql service does not start properly when installed as a
> package using cloud-init.
>
> And I can't figure out if I am doing something wrong, if the AMI is no good,
> if the package has problems, ... I reckon I cannot be the first person to
> use Postgres on Ubuntu Vivid, but I have been hammering my head against the
> wall with this for hours.
>
> Any help greatly appreciated!
I'd be trying 'pg_ctlcluster --force 9.4 main stop' and
'pg_ctlcluster 9.4 main start' instead of service start/stop. If it
works, you have narrowed down the problem to systemd and/or the
startup scripts. If it doesn't work, the problem is elsewhere (eg.
some required path like /var/run or /tmp or /var/log/postgresql
doesn't exist or has peculiar permissions). If nothing else, you
should get more informative output rather than systemd hiding it away
somewhere.
--
Stuart Bishop <stuart(at)stuartbishop(dot)net>
http://www.stuartbishop.net/
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Nasby | 2015-10-26 14:43:42 | Re: Recursive Arrays 101 |
Previous Message | Lasse Westh-Nielsen | 2015-10-26 14:08:25 | Re: Service not starting on Ubuntu 15.04 |