Day 17: In the PostgreSQL lab (Task ID: 680772a2399a2462b6ccc666c), the PostgreSQL service is failing to start in the environment. The instructions mention that PostgreSQL should already be installed and running and also specify not to restart the service. Since the service is failing before I can run any commands, I’m unable to complete the task.
initialize the db and then start the postgresql service
postgres initdb -D /path/to/your/data/directory
once the service is up and running
Switch to the postgres user and perform the task