|From:||Lasse Westh-Nielsen <lassewesth(at)gmail(dot)com>|
|To:||Stuart Bishop <stuart(at)stuartbishop(dot)net>|
|Cc:||"List, Postgres" <pgsql-general(at)postgresql(dot)org>|
|Subject:||Re: Service not starting on Ubuntu 15.04|
|Views:||Raw Message | Whole Thread | Download mbox|
You are a life-saver!
With those two commands inserted into the cloud-init script, the service
actually starts and can complete my CREATE command.
On Mon, Oct 26, 2015 at 2:31 PM, Stuart Bishop <stuart(at)stuartbishop(dot)net>
> On 26 October 2015 at 18:21, Lasse Westh-Nielsen <lassewesth(at)gmail(dot)com>
> > Hey,
> > I posted to stackoverflow about my problem upgrading from Ubuntu 14.04 to
> > Ubuntu 15.04:
> > 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
> > 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
> > 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
> Stuart Bishop <stuart(at)stuartbishop(dot)net>
|Next Message||Rob Sargent||2015-10-26 15:12:16||Re: Recursive Arrays 101|
|Previous Message||Lasse Westh-Nielsen||2015-10-26 15:04:46||Re: Service not starting on Ubuntu 15.04|