Service

Postgresql 伺服器無法啟動

  • June 11, 2010

我在 Windows 7 上。我重新啟動了電腦。然後我嘗試連接到數據庫並收到錯誤。我不記得具體是哪一個,但這是一些連接問題。我決定嘗試重新啟動伺服器,所以我從開始菜單中點擊了“重新啟動伺服器”。這堵住了。幾分鐘後,我終止了該程序並再次嘗試,只是得到“服務正在啟動或停止。請稍後再試。” 資訊。

我再次重新啟動電腦,嘗試再次啟動,並得到同樣的錯誤。我終止了該pg_ctl程序並嘗試手動啟動它,但這也不起作用:

C:\Users\DrClaud>cscript "C:\Program Files\PostgreSQL\8.3\scripts\serverctl.vbs"
start wait
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.


The PostgreSQL Server 8.3 service is starting...................................
.......................................
The PostgreSQL Server 8.3 service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.

The start command returned an error (2)

有任何想法嗎?

您需要檢查您的日誌($PGDATA\pg_log 中的 PostgreSQL 日誌或 Windows 事件日誌),然後您最好在 pgsql-general 郵件列表上報告此問題以獲得快速答案,除非日誌消息使你很清楚問題是什麼。

引用自:https://serverfault.com/questions/150168