container restarted -> postgresql dead but pid file exists

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,
I have a container that runs centos image with a few changes and postgresql installed on it.
Whenever I start my container or restart it, the postgresql(12) starts in the following state : 
postgresql dead but pid file exists

For example : 

[root@my_container_id /]# service postgresql status
postgresql (pid  128) is running...
[root@ my_container_id /]# exit
exit
[root@docker-node]# docker restart my_container_id
my_container_id
[root@ docker-node ]#
[root@ docker-node ]#
[root@ docker-node ]# docker exec -it my_container_id /bin/bash
[root@my_container_id /]# service postgresql status
postgresql dead but pid file exists


It happens since I upgraded my postgresql to version 12.
Does anyone else suffer from the same issue ?



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux