On Thu, Apr 25, 2019 at 2:01 PM Lance Gropper <
[email protected]> wrote:
> I figured out part of it - I only had the postgresql client installed -
> not the server. Now with the server installed:
>
>
>
> [root@guacamole-post system]# systemctl status postgresql.service
>
> ● postgresql.service - PostgreSQL database server
>
> Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled;
> vendor preset: disabled)
>
> Active: failed (Result: exit-code) since Thu 2019-04-25 11:00:10 PDT;
> 10s ago
>
> Process: 5343 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGDATA}
> (code=exited, status=1/FAILURE)
>
>
IIRC you have to initialize the database, first. Where the command is
varies based on Postgres version and distribution, but might be something
as simple as "initdb". Then try starting the service.
-Nick
>