Your message dated Fri, 12 Aug 2016 21:41:34 +0200
with message-id <[email protected]>
and subject line Re: Bug#787615: systemd does not start postgresql on boot
has caused the Debian Bug report #787615,
regarding systemd does not start postgresql on boot
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
787615: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=787615
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: postgresql-common
Version: 168.pgdg70+1

Hi,

I'm experiencing the same issue as this (archived) bug:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755894

postgresql is not running on boot. In a vagrant box, with the latest
version of postgresql-common:

$ sudo systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
   Loaded: loaded (/lib/systemd/system/postgresql.service; disabled)
   Active: inactive (dead)

$ dpkg -l postgresql-common
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                   Version
Architecture             Description
+++-======================================-========================-========================-==================================================================================
ii  postgresql-common                      168.pgdg70+1
all                      PostgreSQL database-cluster manager

If I start it manually, it's fine.

$ sudo systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
   Loaded: loaded (/lib/systemd/system/postgresql.service; disabled)
   Active: active (exited) since Wed 2015-06-03 10:33:00 UTC; 11min ago
  Process: 1354 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
 Main PID: 1354 (code=exited, status=0/SUCCESS)

Please let me know if there's anything I can do to help investigate.

Thanks,

Graham

--- End Message ---
--- Begin Message ---
Re: Graham Hay 2015-09-14 
<caabecy19b5m5f35iew1xeb9ozj_4hzdqnwxsbdhpcmztirp...@mail.gmail.com>
> No, I don't think so. But you're right about the "disabled" being the
> problem. If I manually enable the service, then it starts on boot, as
> expected.
> 
> I don't think our provision script does anything beyond installing the
> package with apt-get, but I'll see what happens on a clean vagrant box.

Closing the bug now.

Christoph

--- End Message ---
_______________________________________________
Pkg-postgresql-public mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public

Reply via email to