Windows主機IIS7恢複實戰

來源:互聯網
上載者:User

癥狀:administrator帳號打不開c:/inetpub目錄

原因:因為伺服器被掛馬,引起伺服器異常所有的網頁檔案都放在c:/inetpub,於是造成網站全部崩潰

策略:掛起一塊新磁碟作為系統,然後掃描磁碟殺死病毒和木馬,恢複原磁碟的檔案管理許可權,切換到源磁碟啟動

administrator帳號打不開c:/inetpub目錄,增加administrator賬戶,賦予完全許可權,然後可以開啟該目錄

 

但此時iis打不開,根據提示需要開啟was和w3svc

 

於是定位到電腦-》管理-》service-》world wide web publishing service-》start,出現下面的錯誤

 

 

這時我們需要開啟另一個程式,windows process Acivation service->start結果出現下的錯誤。

 

http://technet.microsoft.com/en-us/library/cc734935%28WS.10%29.aspx

微軟官網給出下面的解決方案:

The Windows Process Activation Service (WAS) generates temporary application pool configuration 

files that it stores in the %SystemDrive%inetpubtempappPoolsdirectory by default. If you change this

 location, WAS may not be able to find the directory.

To resolve this issue, make sure that the appPools directory meets the following requirements:

· The directory must exist.

· The directory cannot be on a UNC path.

· The directory must be available to WAS and should have the following permissions: 

o SYSTEM: Full Access

o Administrators: Full Access

o IIS_IUSRS: Read

 

執行上面的步驟之後,按倒序開啟上面的服務,依次ok,於是伺服器恢複正常。

 

經過此次宕機告訴我們伺服器的安全防護是這麼的重要。

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.