2011年6月12日 星期日

httpd無法啟動

/etc/init.d /httpd start

Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

http://www.lslnet.com/linux/f/docs1/i02/big5114547.htm

modify httpd.conf
add # in front of Listen 80
then try start httpd again
if ok
modify back
delete # in front of Listen 80

http://tw.myblog.yahoo.com/oracle-hmc/article?mid=206&prev=254&l=f&fid=25

2011年6月9日 星期四

Inpage 操作執行錯誤

隨身碟如果出現
Inpage 操作執行錯誤

有可能硬碟損毀

這樣子處理可救回

開始→執行→cmd→chkdsk g: /f /r

硬碟不小可能需要一段時間,
g 為硬碟編號
/f 修復磁碟錯誤
/r 找出損壞的磁區並復原可讀取的資訊。

2011年4月1日 星期五

如何修復造成 Windows XP 無法啟動的損毀登錄

http://support.microsoft.com/kb/307545

您會啟動「修復主控台」,並建立暫存資料夾,再將現有的登錄檔案備份到新的位置,然後刪除現有位置上的登錄檔案,再從 [Repair] 資料夾中將登錄檔案複製到 System32\Config 資料夾。完成這個程序時,您就建立了可以用來啟動 Windows XP 的登錄。這個登錄原本是在 Windows XP 的初始安裝期間所建立並儲存的。因此,在安裝程式完成之後所進行的任何變更及設定都會遺失。

請依照下列步驟執行,完成第一部分:
將 Windows XP 開機磁片插入軟碟機,或將 Windows XP 光碟插入光碟機,然後重新啟動電腦。
如果出現提示,請選取從光碟機啟動電腦所需要的任何選項。
出現「歡迎使用安裝程式」畫面時,請按 R,啟動「修復主控台」。
如果您的電腦使用雙開機方式或多開機方式,請從「修復主控台」選取您必須使用的安裝。
出現提示時,請輸入系統管理員的密碼。如果系統管理員密碼是空白,請按下 ENTER。
在「修復主控台」的命令提示字元中,輸入下列命令列,並在輸入每行之後按下 ENTER:
md tmp
copy c:\windows\system32\config\system c:\windows\tmp\system.bak
copy c:\windows\system32\config\software c:\windows\tmp\software.bak
copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
copy c:\windows\system32\config\security c:\windows\tmp\security.bak
copy c:\windows\system32\config\default c:\windows\tmp\default.bak

delete c:\windows\system32\config\system
delete c:\windows\system32\config\software
delete c:\windows\system32\config\sam
delete c:\windows\system32\config\security
delete c:\windows\system32\config\default

copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\software c:\windows\system32\config\software
copy c:\windows\repair\sam c:\windows\system32\config\sam
copy c:\windows\repair\security c:\windows\system32\config\security
copy c:\windows\repair\default c:\windows\system32\config\default

輸入 exit 以結束「修復主控台」。您的電腦會重新啟動。
注意 這項程序假設您將 Windows XP 安裝在 C:\Windows 資料夾中。如果是不同位置的話,請務必將 C:\Windows 切換至適當的 windows_folder。

若要節省時間,如果您擁有其他台電腦的存取權,您可以複製步驟 5 中的文字,然後建立一個名為 Regcopy1.txt 的文字檔 (舉例)。若要使用這個檔案,請在啟動「修復主控台」之後執行下列命令:
batch regcopy1.txt
「修復主控台」中的 batch 命令可以讓您依序執行文字檔案中的所有命令。您只要使用 batch 命令,就可以不用手動輸入每一道命令。
第二部分
為了完成本節所描述的程序,您必須以系統管理員或系統管理使用者 (在系統管理員群組中具有帳戶的使用者) 的身分登入。如果您使用的是 Windows XP Home Edition,則可以使用系統管理使用者的身分登入。如果您以系統管理員的身分登入,則必須先以安全模式啟動 Windows XP Home Edition。如果要以安全模式啟動 Windows XP Home Edition 的電腦,請依照下列步驟執行。

注意 在您繼續進行之前,請先將這些指示列印出來。以安全模式重新啟動電腦之後,將無法檢視這些指示。如果您使用的是 NTFS 檔案系統,請將「Microsoft 知識庫」文件 KB309531 中的指示一併列印出來,稍後進行步驟 7 時,您可能會需要參考這份文件。
按一下 [開始],再按一下 [關機] (或按 [電腦關機]),然後按一下 [重新啟動],再按一下 [確定] (或按 [重新啟動])。
按下 F8。

如果您的電腦已設定為多重作業系統開機,則可以在看到 [啟動] 功能表出現時按下 F8 鍵。
使用方向鍵選取適當的「安全模式」選項,然後按下 ENTER。
如果您的系統具有雙重開機或多重開機模式,請使用方向鍵選取您想要存取的安裝版本,再按下 ENTER。

How to Recover a Corrupted Windows XP

I bet most of you would have seen the Bluescreen Windows Error which comes up whenever something unexpected happens but probably most of you did not know that it is called the Blue Screen of Death. It usually comes around after encountering a critical system error which can cause the system to shut down to prevent damage.

Bluescreens can be caused by poorly written device drivers, faulty memory, a corrupt registry, an incompatible Dynamic-link library (DLL), or the computer overheating.

After encountering such a Bluescreen error, most non-tech savvy computer users give up and assume that a serious issue has corrupted Windows and thus it needs a reinstall. However that is not the case mostly and Windows can be recovered into its original state by performing a little tweak called the Disk Checkup.

Requirements

Windows XP installation CD
Patience
Whenever you experience such a Bluescreen error and after many tries you see that Windows is not starting up you can perform a disk checkup following the steps below:

Restart your computer
Boot from your Windows XP installation CD
Press R to open the Windows XP Recovery Console
Type CHKDSK /R and press enter (wait patiently till the whole recover/repair process is completed)
Type BOOTCFG to fix any problems in your boot.ini file
Restart your computer again and press/hold the F8 key
Select “Last Known Good Configuration” and press enter
After this your Windows should work fine and properly.

Note: This tip intends to help you recover a corrupted Windows XP and does not tell you how to repair your Windows XP installation. There is difference in in “recovering” and “repairing” when we are dealing with Windows OS.

http://www.sizlopedia.com/2008/02/10/how-to-recover-a-corrupted-windows-xp/

How to Fix "System32 Corrupt or Missing" Error

http://ezinearticles.com/?How-to-Fix-System32-Corrupt-or-Missing-Error&id=1020079


Fix "System32 Corrupt" Error Yourself

Reboot your PC and press F8 during the booting sequence until you get into the boot menu. Select "Boot Using Last Known Good Configuration". Your PC will now try to startup using a configuration that has worked in the past. If you are still facing the System32 corrupt or missing error, you could try the following but you have to be careful. In case you are not comfortable messing with your system files, skip this part and continue reading the "Quick and Easy Fix" paragraph.

Use the Console to Fix the "System32 Corrupt or Missing" Error

Insert your Windows XP Recovery disk and reboot your PC. If you don't have a recovery disk skip this paragraph. Select the Recovery Console and type the following into the console.
This will recover your windows system but you need to be extremely careful that you are typing correct commands or everything gets even worse.

md tmp

copy C:\windows\system32\config\system C:\windows\tmp\system.bak

delete C:\windows\system32\config\system

copy C:\windows\repair\system C:\windows\system32\config\system




Article Source: http://EzineArticles.com/1020079