實體機轉虛擬機(P2V, physical 2 Virtual),進行虛擬化,冷轉換是最安全的,最便利的,而Vcenter Convert 即時線上熱轉換,還不用安裝軟體,可以直接轉,根本就是神器。
轉換Windows 作業系統時,沒有遇到任何問題,順利正常完成,裡面是Windows Server 2003+SQL Server 2005及鼎新WorkFlow 3.1 ERP。這個轉換完成,作業系統和資料庫都沒有問題,但是ERP無法順利運作卡在授權中。
但是在轉換Linux Server時,DNS Server正常,但是Webserver卻不正常,出現下面的問題。
Unable to query the live Linux srouce machine. Make sure that you can run sudo without entering a password when logged in to the source over SSH as “xxxx”。

執行Live Linux 線上轉換,唯一執行sudo不要密碼的是root,但是ubuntu預設是管理員登入,不是root。無法執行,與ssh的port無關,也與管理員無關,只跟root有關。
解法
1.sudo passwd root
(輸入2次密碼)
2.vi /etc/ssh/sshd_config
PermitRootLogin 改成yes
PermitRootLogin yes
存檔離開
3.sudo service sshd restart
收工
DNS可以正常運作,
隨機文章
- 出錯的花旗信用卡帳單 (2010-09-22)
- Ubuntu Apache2 使用 Curl (2013-01-18)
- apache port:443 is being used by another application (2016-12-30)
- XenServer 線上備份 online backup (2016-08-14)
- 市場通路優於OLPC 法人:Eee PC具200億美元潛在商機 (2007-11-07)








