前幾天某一外點同事發問說『為什麼無法連到伺服器的共享資料夾?』一時間還以為是網路設定跑掉了;但在重新設定後 ( netsh ),狀況依然。他還提到一個點『一台電腦可以、另一台不行』!
想起他不能連線的電腦的ip是屬於某一個分享器的,針對那台分享器去測試後發現某些帳號可以 (管理者帳號),某些帳號不行;可是在另一台卻是完全可以的。在向廠商求救後,廠商給予了大概可以進行的檢查:ip設定、port轉送的問題。再把可以的那台ip範圍給也在不行的那台測試後,就可以正常使用了。原來一切原因是 ip衝突 的關係,ip衝突也不會有任何警告,真是一個要注意的地方。
MIS 不是萬能與全知,但我們處於有谷哥神可以拜的世代,網路上給的資訊不一定能解決100%,但至少有6成以上是可用的,接下來補齊4成左右,事情就解決啦!提供一些在工作上會碰到的問題和事情的解法,給大家做個參考,謝謝大家!
2019年8月23日 星期五
2019年8月14日 星期三
【伺服器】如何修復 Server 2008
原始參考文章來源:https://www.dell.com/support/article/tw/zh/twdhs1/sln167714/windows-server-%E5%A6%82%E4%BD%95%E4%BF%AE%E5%A4%8D%E5%BC%95%E5%AF%BC%E6%96%87%E4%BB%B6%E5%9C%A8windows-server2008%E6%88%962008r2%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8D%E5%90%AF%E5%8A%A8?lang=zh
最近公司的伺服器又開不起來,依照 Dell 的教學方式在第一次掛點時可以正常的依文件裡的指示操作;but,人生就是這個 but 這次怎麼按 "修復選項" 也沒有用。
詢問伺服器續簽的廠商說『由於最先不是不找他們簽約,現在這個問題沒辦法幫忙,請問微軟…』(看來只剩下換硬碟的功能,下次乾脆錢省下來,除了主要的那台,其他的自己修)
想說怎麼進個指令模式 (command prompt) 怎麼這麼難,開機後按F8一直都進不了 (當時有接外接硬碟),後來拔掉外接硬碟後,以原本的系統重開機就能以安全模式+指令模式的方式來操作…。
在第11步驟時,由於 copy f:\BootMgr c:\ 是為了要確認 c:\ 下面的檔案在不在而不是要覆蓋,但我不小心的按到 Y ,當場有點傻眼。接下來的步驟 bootrec 的指令都無法用...(應該是用修復光碟開機才會有的指令)。索性直接重開機試試,沒有想到就正常了…還好!
原始參考文章來源:https://www.dell.com/support/article/tw/zh/twdhs1/sln167714/windows-server-%E5%A6%82%E4%BD%95%E4%BF%AE%E5%A4%8D%E5%BC%95%E5%AF%BC%E6%96%87%E4%BB%B6%E5%9C%A8windows-server2008%E6%88%962008r2%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8D%E5%90%AF%E5%8A%A8?lang=zh
===========文章來源備份(Dell網站) 分隔線=======================
Figure 1: Illustration of Drive lettering in Windows and WinRE (English only)Note: If there is no System Reserved partition. It is okay to select the drive containing the Windows folder.
Restoring Boot Files
Note: The media can be a CD, DVD, or USB storage device
Figure 2: DiskPart result (english only)
Figure 3: Result when no OS is found (English only)
This means that one of the following is true:
最近公司的伺服器又開不起來,依照 Dell 的教學方式在第一次掛點時可以正常的依文件裡的指示操作;but,人生就是這個 but 這次怎麼按 "修復選項" 也沒有用。
詢問伺服器續簽的廠商說『由於最先不是不找他們簽約,現在這個問題沒辦法幫忙,請問微軟…』(看來只剩下換硬碟的功能,下次乾脆錢省下來,除了主要的那台,其他的自己修)
想說怎麼進個指令模式 (command prompt) 怎麼這麼難,開機後按F8一直都進不了 (當時有接外接硬碟),後來拔掉外接硬碟後,以原本的系統重開機就能以安全模式+指令模式的方式來操作…。
在第11步驟時,由於 copy f:\BootMgr c:\ 是為了要確認 c:\ 下面的檔案在不在而不是要覆蓋,但我不小心的按到 Y ,當場有點傻眼。接下來的步驟 bootrec 的指令都無法用...(應該是用修復光碟開機才會有的指令)。索性直接重開機試試,沒有想到就正常了…還好!
原始參考文章來源:https://www.dell.com/support/article/tw/zh/twdhs1/sln167714/windows-server-%E5%A6%82%E4%BD%95%E4%BF%AE%E5%A4%8D%E5%BC%95%E5%AF%BC%E6%96%87%E4%BB%B6%E5%9C%A8windows-server2008%E6%88%962008r2%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8D%E5%90%AF%E5%8A%A8?lang=zh
===========文章來源備份(Dell網站) 分隔線=======================
Windows Server: How to Repair the Boot Files in Windows Server 2008 or 2008 R2 if the Server Won't Boot
There are a number of possible causes for the failure of a server to boot into Windows. This article deals with a problem in the boot files and demonstrates how to repair them.
Introduction
When booting to the Windows Recovery Environment (WinRE), the drive letters are assigned on a first-come, first-serve basis. For example, the C: drive in Windows will often have a different letter in WinRE. The DiskPart utility can be used to keep track of the drives and what is stored on them.
- First Partition: 100 MB System Reserved (No drive letter)
- Second Partition: 60 GB (C:) OS
- Third Partition: 1.5 TB (D:) Data
- DVD Drive: E:
Figure 1: Illustration of Drive lettering in Windows and WinRE (English only)Note: If there is no System Reserved partition. It is okay to select the drive containing the Windows folder.
Restoring Boot Files
Note: The media can be a CD, DVD, or USB storage device
Figure 2: DiskPart result (english only)
Figure 3: Result when no OS is found (English only)
This means that one of the following is true:
- Boot to the Windows Server DVD.
- Open the command prompt.
- Server 2008 R2:
- If no driver is needed, press Shift-F10 to open the command prompt.
- Continue with step 3.
- Server 2008 (or 2008 R2 if a driver is required)
- Click Next at the first screen.
- Click Repair your computer.
- If no driver is needed, click Next and proceed to step vii below.
- If a driver is needed, click Load Drivers.
- Insert the media containing the needed driver.
- Navigate to the folder containing the driver, select it, and click Open.
- Click Command Prompt.
- The command prompt appears.
- Type DiskPart at the command prompt.
- Type List vol at the DiskPart prompt.
- Write down the drive letter of the DVD drive. In this example, it is F.
- Write down the drive letter of the system reserved drive. In this example, it is C.
- Type Select vol 1 (assuming volume 1 is the System Reserved volume, as it is here).
- Type active. This sets the selected volume as active.
- Type exit to return to the command line.
- Type Copy f:\BootMgr c:\ at the command prompt. One of two things will happen:
- If the file Bootmgr already exists on C:, type N to avoid overwriting it.
- If the file Bootmgr doesn't already exist on C:, it will automatically be copied.
- Type Bootrec /Fixmbr at the command prompt.
- Type Bootrec /Fixboot at the command prompt.
- Type Bootrec /rebuildBCD at the command prompt.
- If no OS is found, the following appears:
- The boot configuration database (BCD) already exists.
- The OS is not there.
- The OS is damaged beyond the ability of BootRec to recognize it.
- If BootRec /RebuildBCD succeeds, it will list any installations of Windows that it found. Press Y to accept and add them to the BCD.
- The server is now configured to boot from the proper partition. Close the command prompt and reboot the system into normal mode.
訂閱:
文章 (Atom)