Solaris 手動刪除建立失敗的ZONE

如果在install新的zone或configuration有問題時,zone的狀態會在incomplete,
此時可能會有無法uninstall、delete、重新設定等問題,此時就必須以手動刪除失敗的zone。

1. remove the zone entry in /etc/zones/index(假設失敗的是zone3,就把該行字串刪除):
        global:installed:/
        zone1:installed:/zones/zone1
        zone2:installed:/zones/zone2
        zone3:incomplete:/zones/zone3          

2. delete the xml file associated with the zone under /etc/zones

3. delete the directory associated with the zone (if it has been created)

Oracle Data Gurad Archive Gap