{"id":20810,"date":"2023-10-03T14:43:34","date_gmt":"2023-10-03T18:43:34","guid":{"rendered":"https:\/\/certek.com\/kb4\/?post_type=ht_kb&#038;p=20810"},"modified":"2025-05-04T20:34:13","modified_gmt":"2025-05-05T00:34:13","slug":"postgres-service-stopped-running","status":"publish","type":"ht_kb","link":"https:\/\/certek.com\/kb4\/knowledge-base\/postgres-service-stopped-running\/","title":{"rendered":"Postgres Service Stopped Running"},"content":{"rendered":"\n<p>If your Postgres service has stopped working, follow these instructions to learn how to fix this problem.<\/p>\n<p><strong>1.<\/strong> Use the magnifying glass in the upper corner to search for &#8220;<strong>Terminal<\/strong>&#8220;<\/p>\n<p><strong>2.<\/strong> Type &#8220;<strong>cd&#8230;<\/strong>&#8221; which takes your search up one level. Continue this until you see the name of the computer in the root directory. In this example, the name of the computer is &#8220;<strong>posdowntown$<\/strong>&#8220;<\/p>\n<p><a href=\"https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_03.png\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-20815 aligncenter\" src=\"https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_03.png\" alt=\"\" width=\"644\" height=\"412\" srcset=\"https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_03.png 660w, https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_03-300x192.png 300w, https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_03-50x32.png 50w, https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_03-60x38.png 60w, https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_03-100x64.png 100w\" sizes=\"auto, (max-width: 644px) 100vw, 644px\" \/><\/a><\/p>\n<p><strong>3.<\/strong> Now that you&#8217;re at the root directory, type &#8220;<strong>cd library\/postgresql\/14<\/strong>&#8221; <em>(The number &#8220;14&#8221; refers to the version of Postgres you have installed. This might be version 15, 16, etc.)\u00a0<\/em><\/p>\n<p><strong>4<\/strong>. Type &#8220;<strong>sudo u-postgres .\/bin\/pg_ctl &#8211; D data start<\/strong>&#8221; to start <strong>Postgres<\/strong>.<\/p>\n<p><strong>5.<\/strong> To check your Postgres version, select &#8220;<strong>Go<\/strong>,&#8221; then open the &#8220;<strong>Finder<\/strong>&#8221; and type &#8220;<strong>\/library\/postgresql\/<\/strong>&#8220;<\/p>\n<p><a href=\"https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_25-copy.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20818\" src=\"https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_25-copy.png\" alt=\"\" width=\"1627\" height=\"1016\" srcset=\"https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_25-copy.png 1627w, https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_25-copy-300x187.png 300w, https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_25-copy-1024x639.png 1024w, https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_25-copy-768x480.png 768w, https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_25-copy-50x31.png 50w, https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_25-copy-1536x959.png 1536w, https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_25-copy-60x37.png 60w, https:\/\/certek.com\/kb4\/wp-content\/uploads\/2023\/10\/2023-10-03_12h55_25-copy-100x62.png 100w\" sizes=\"auto, (max-width: 1627px) 100vw, 1627px\" \/><\/a><\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If your Postgres service has stopped working, follow these instructions to learn how to fix this problem. 1. Use the magnifying glass in the upper corner to search for &#8220;Terminal&#8220; 2. Type &#8220;cd&#8230;&#8221; which takes your search up one level. Continue this until you see the name of the computer&#8230;<\/p>\n","protected":false},"author":17,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_eb_attr":"","_monsterinsights_skip_tracking":false,"footnotes":"","_members_access_role":[],"_members_access_error":""},"ht-kb-category":[387,391],"ht-kb-tag":[],"class_list":["post-20810","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-postgresql","ht_kb_category-internal-support"],"_links":{"self":[{"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/ht-kb\/20810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/comments?post=20810"}],"version-history":[{"count":7,"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/ht-kb\/20810\/revisions"}],"predecessor-version":[{"id":22591,"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/ht-kb\/20810\/revisions\/22591"}],"wp:attachment":[{"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/media?parent=20810"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/ht-kb-category?post=20810"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/certek.com\/kb4\/wp-json\/wp\/v2\/ht-kb-tag?post=20810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}