重灌SQL常見故障處理

2022-09-15 07:00:16 字數 3053 閱讀 2113

windows registry editor version 5.00

[-hkey_local_machine/software/microsoft/mssqlserver]

[-hkey_local_machine/software/microsoft/microsoft sql server]

[-hkey_local_machine/software/microsoft/search]

[-hkey_local_machine/system/currentcontrolset/services/mssqlserver]

[-hkey_local_machine/system/currentcontrolset/services/mssqlserveradhelper]

[-hkey_local_machine/system/currentcontrolset/services/sqlserveragent]

[-hkey_local_machine/system/currentcontrolset/services/msftpsvc]

[-hkey_local_machine/system/currentcontrolset/services/msscntrs]

[-hkey_local_machine/system/currentcontrolset/services/mssearch]

[-hkey_local_machine/system/currentcontrolset/services/mssgatherer]

[-hkey_local_machine/system/currentcontrolset/services/mssgthrsvc]

[-hkey_local_machine/system/currentcontrolset/services/mssindex]

以上儲存為 .reg登錄檔檔案,雙擊就可以刪了。  b、刪除安裝目錄下的sql檔案,重啟電腦再重灌sql。

手動更改相應的登錄檔項。

在[hkey_local_machine/software/microsoft/windows nt/currentversion/perflib]

找到last counter

和last help

兩項根據下述更改相應的值,選擇十進位制

裝中文版

sql:

last counter

值必須等於登錄檔項中

perflib/004

的counter

項的最大值;

last help

值必須等於登錄檔項中

perflib/004

的help

項的最大值;

裝英文版

sql:

last counter

值必須等於登錄檔項中

perflib/009

的counter

項的最大值;

last help

值必須等於以下登錄檔項中

perflib/009

的help

項的最大值。

方法a:

unlodctr w3svc

unlodctr msftpsvc

unlodctr asp

unlodctr inetinfo

lodctr w3ctrs.ini

lodctr ftpctrs.ini

lodctr axperf.ini

lodctr infoctrs.ini

在執行這些命令之後,您必須重新啟動計算機才能使更改生效。  在執行此操作之前,必須確定用於載入計數器的 .ini 檔案;  1.    開啟乙個命令提示符視窗。

2.    在命令提示符處,鍵入 cd %systemroot%/system32,然後按 enter。

3.    在命令提示符處,鍵入 findstr drivername *.ini,然後按 enter。

4.    注意列表中每個驅動程式名稱所對應的 .ini 檔名。

5.    在命令提示符處,鍵入下面一行,然後按 enter:

lodctr inifile

6.    為列表中的所有 .ini 檔案重複第 5 步。

7.    重新啟動計算機。

方法b在 「開始」-->

「執行」中輸入regedit

,開啟登錄檔編輯器。

[hkey_local_machine/software/microsoft/windows nt/currentversion/perflib

處,在右邊的樹形目錄下可以看到perflib

目錄下有004

和009

兩個子目錄。

開啟004

目錄中的內容,

分別雙擊 「counter

」 項 和 「help

」 項,察看其中的最後的數字

到perflib目錄下,並注意檢查右邊視窗的 「laster counter」項和「laster help」項的值,並把laster counter的值改成剛才記錄下的counter值,把laster help 的值改成剛才記下的 help的值。

要注意的是,修改數字的時候,輸入的時候必須選則基數是 「十進位制」,否則數字將不匹配

關閉登錄檔編輯器,開始安裝 sql server 2005 ,可以安裝成功。

3、當我們裝sql2000時,遇到檔案掛起,可以按以下方法解決:

1.不用退出sql2000安裝程式,直接切換到桌面.

2.開啟登錄檔編輯器(在「執行」中敲入「regedit」之後回車即可),定位到登錄檔的hkey_local_machine/system/currentcontrolset/control/session manager節點.

3.單擊「session manager」這個節點,然後在右側的視窗中找到「pendingfilerenameoperations」選項,雙擊開啟(或右鍵單擊後選擇「修改」也可以),然後,將其下面空白欄中的值去掉(清空/刪除)即可

4.關掉登錄檔編輯器,切換回sql2000安裝程式,後退一步,然後再點下一步即可解決!

其他方法參照

常見故障處理

硬碟 故障現象一 開機後螢幕顯示 device error 或者顯示 non system disk or disk error,replace and strike any key when ready 說明硬碟不能啟動,用軟盤啟動後,在a 後鍵入c 螢幕顯示 invalid drive spec...

CPU常見故障

cpu是電腦中重要配件,是一台電腦的心臟。同時它也是整合度很高的配件,可靠性較高,正常使用時故障率並不高。但是倘若安裝或使用不當則可能帶來很多意想不到的麻煩。與cpu有關的故障是比較判斷的,cpu出現問題時,一般情況下是無法開機 xp系統之家官網 系統沒有任何反應,即按下電源開關,機箱喇叭無任何鳴叫...

Openstack neutron 常見故障分析

1.節點down了,如圖1 12所示 圖1 12 剛剛部署完了,一看上去全部是down掉了,down掉了怎麼辦?我要查整個部署。一查沒有部署這個沒有部署那個,這時日誌很關鍵。所以在部署的時候要統一日誌收集,你在上面就可以看到各種日誌。看rabbitmq,檔案控制代碼太少了,或者是硬碟太小了,都會影響...