Re: server will not start (Debian)

"Peter J. Holzer" <[email protected]>
Newsgroups gmane.comp.db.postgresql.general
Message-ID <[email protected]>
On 2019-12-10 12:03:30 -0500, stan wrote:
> OK, here is the latets. If I do sudo systemctl start postgresql@12-main
> 
> the instance starts and works fine.
> 
> However, if I reboot the machine, the instance is not started.

Check whether the service is enabled in systemd:

# systemctl status [email protected][email protected] - PostgreSQL Cluster 12-main
   Loaded: loaded (/lib/systemd/system/[email protected]; enabled-runtime; vendor preset: enabled)
                                                            ^^^^^^^

If it isn't, enable it:

# systemctl enable [email protected]

	hp



-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | [email protected]         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl32RIEACgkQ8g5IURL+
KF3kMhAAnLioy6CncGffE4/SDtColHaLobBPeXY2WsVF/SoiaRJV/CRSmFAzp7vJ
g31SGl67IWIMg//ocnkfommhe9LHKqlQxnIRi1xeZbAPY5bp3ILYsZpZBnHzgyPU
xnT7RsMqQ+f3oplJE2/vaM8HYSdwl2jtuER5RrotbZQKJHQO4wnc3pRgLdP+uQwg
rCGU8CfJ52HndUHxClLaOUt/k43Y2os54ZV7zilWJ3lHyXXNOLM5gWGYS6/p88ky
QtJFE0f85rGWQkxV8lLuE2BctN0PfkzZF+URNVjEWgwhqADbRFFYlG38Q1/L5sb3
BvkVX2BN08NP5ZyHU1NvYz4JBHANBV+XFLf7ktS+qpemmHoNOD4sRKQlU+1ZSQXV
dofpS9v0QMP+4pH19FVc0lJ0iKdkXl2DI66M3G6BzjdArEJn9CleqcRnQTzdhr6Y
VXn4IdvPfOl9l/tszZjenbPnrKoObDOY3WYZJdiWHPxDRtGMJgQpbz6v7Xkvz/mH
xl5H6ghbiXVS7mUQysD1a2wYaKTSqN8ChLWIlYPxQdOYsRxMsnkT7N6bg1CO2Clz
6zoK1CYYXVI6a/Ht/Ukq/M0C6C+wkRBboCjgcd7P16aGIBoNXb20cvwP8/cYAizx
g7LxDbaknJkhPxCmsSyBynPLx83v8cNMjf+WmOt89XRQqvd98WA=
=zXDi
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.