Day 17: PostgreSQL service is failing

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.

Could you please check and fix the lab setup?

I am also facing the same issue. Could you please check and provide an update?

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

I just completed this task :slight_smile:

1 Like

Thanks bro just completed the task

1 Like

@Matheesha001 can find solutions here when you stuck it might help 100-days-of-devops-solutions-doc

1 Like

you can check this it helps me : 100-Days-Of-DevOps-KodeKloud-Challenges-Solutions