Solaris 11 zone失败求大神指点
以下为三次安装都失败的log第一次安装失败和报错
root@CDHFC02:/# zonecfg -z zone1
zonecfg:zone1> create
Zone zone1 already exists; create anyway (y/)? y
create: Using system default template 'SYSdefault'
zonecfg:zone1> set zonepath=/rpool/zone/
zonecfg:zone1> set autoboot=true
zonecfg:zone1> remove anet
zonecfg:zone1> set ip-type=shared
zonecfg:zone1> add net
zonecfg:zone1:net> set address=172.16.4.89
zonecfg:zone1:net> set physical=ipmp0
zonecfg:zone1:net> end
zonecfg:zone1> verify
zonecfg:zone1> commit
zonecfg:zone1> info
zonename: zone1
zonepath: /rpool/zone
brand: solaris
autoboot: true
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:
fs-allowed:
net:
address: 172.16.4.89
allowed-address not specified
configure-allowed-address: true
physical: ipmp0
defrouter not specified
zonecfg:zone1> exit
root@CDHFC02:/#
报错
oot@CDHFC02:/# zoneadm -z zone1 install
Progress being logged to /var/log/zones/zoneadm.20140411T092559Z.zone1.install
Image: Preparing at /rpool/zone/root.
ERROR: Unable to enable svc:/application/pkg/system-repository, please enable the service manually.
zoneadm: zone 'zone1': ERROR: installation failed:zone switching to configured state
root@CDHFC02:/# svcs -xv
svc:/application/pkg/system-repository:default (IPS System Repository)
State: maintenance since April 11, 2014 05:26:00 PM CST
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://support.oracle.com/msg/SMF-8000-KS
See: man -M /usr/share/man -s 1M pkg.sysrepo
See: /var/svc/log/application-pkg-system-repository:default.log
Impact: This service is not running.
--------------------------------------------------------------------------------------
第二次安装失败和报错
zonecfg:zone1> info
zonename: zone1
zonepath: /data1
brand: solaris
autoboot: true
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:
fs-allowed:
net:
address: 172.16.4.89
allowed-address not specified
configure-allowed-address: true
physical: ipmp0
defrouter not specified
zonecfg:zone1>
报错
oot@CDHFC01:/data1# zoneadm -z zone1 install
/data1 must not be group readable.
/data1 must not be group executable.
/data1 must not be world readable.
/data1 must not be world executable.
changing zonepath permissions to 0700.
Progress being logged to /var/log/zones/zoneadm.20140411T083256Z.zone1.install
Image: Preparing at /data1/root.
ERROR: Unable to enable svc:/application/pkg/system-repository, please enable the service manually.
zoneadm: zone 'zone1': ERROR: installation failed:zone switching to configured state
root@CDHFC01:/data1#
-------------------------------------------------------------------------------------
第三次安装和报错
root@CDHFC01:/export/home# ipadm show-addr
ADDROBJ TYPE STATE ADDR
lo0/v4 static ok 127.0.0.1/8
ipmp0/v4add1 static ok 172.16.4.85/24
vnic1/v4address static ok 172.16.4.89/24
lo0/v6 static ok ::1/128
root@CDHFC01:/export/home# zonecfg -z zone01
Use 'create' to begin configuring a new zone.
zonecfg:zone01> create
create: Using system default template 'SYSdefault'
zonecfg:zone01> set zonepath=/export/home/zone
zonecfg:zone01> set autoboot=true
zonecfg:zone01> set ip-type=exclusive
zonecfg:zone01> add net
zonecfg:zone01:net> set physical=vnic1
zonecfg:zone01:net> end
zonecfg:zone01> verify
info max-sem-ids
zonecfg:zone01> info
zonename: zone01
zonepath: /export/home/zone
brand: solaris
autoboot: true
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
fs-allowed:
net:
address not specified
allowed-address not specified
configure-allowed-address: true
physical: vnic1
defrouter not specified
anet:
linkname: net0
lower-link: auto
allowed-address not specified
configure-allowed-address: true
defrouter not specified
allowed-dhcp-cids not specified
link-protection: mac-nospoof
mac-address: random
mac-prefix not specified
mac-slot not specified
vlan-id not specified
priority not specified
rxrings not specified
txrings not specified
mtu not specified
maxbw not specified
rxfanout not specified
vsi-typeid not specified
vsi-vers not specified
vsi-mgrid not specified
etsbw-lcl not specified
cos not specified
pkey not specified
linkmode not specified
zonecfg:zone01> commit
zonecfg:zone01> exit
root@CDHFC01:/export/home# zoneadm -z zone verify
zoneadm: zone: No such zone configured
root@CDHFC01:/export/home# zoneadm -z zone1 verify
zoneadm: zone 'zone1': zone is incomplete; uninstall required.
root@CDHFC01:/export/home# cd /
root@CDHFC01:/# zoneadm -z zone1 install
zoneadm: zone 'zone1': zone is incomplete; uninstall required.
root@CDHFC01:/# zoneadm -z zone01 install
WARNING: skipping network interface 'vnic1' which is used in the global zone.
The following ZFS file system(s) have been created:
rpool/export/home/zone
Progress being logged to /var/log/zones/zoneadm.20140411T114050Z.zone01.install
Image: Preparing at /export/home/zone/root.
AI Manifest: /tmp/manifest.xml.nNaaZh
SC Profile: /usr/share/auto_install/sc_profiles/enable_sci.xml
Zonename: zone01
Installation: Starting ...
Creating IPS image
Startup linked: 1/1 done
Installing packages from:
solaris
origin:http://localhost:1008/solaris/1f27c7f999901463e7d6e1ae5a56a35ddd08f9eb/
Error occurred during execution of 'generated-transfer-4004-1' checkpoint.
Failed Checkpoints:
Checkpoint execution error:
The following pattern(s) did not match any allowable packages.Try
using a different matching pattern, or refreshing publisher information:
Installation: Failed.See install log at /system/volatile/install.4004/install_log
ERROR: auto-install failed.
root@CDHFC01:/#
木哥,这个还没有解决? 回复 2# zhangyudong1987
:D 已经解决了这问题,IPS设置不正常。~ 本帖最后由 zhangyudong1987 于 2014-04-14 09:54 编辑
回复 3# DC_楚楚
IPS要怎么设置才正常?木子说更新gdm是OK的哇 回复 4# zhangyudong1987
因为globalzone 升级了sru ,publisher里面必须包含有full repo + sru repo;
在安装zone的时候,只导入了一个repo源,因此会报错。
所以安装zone的时候如果没有自己指定的安装模板,就会按照global 的系统版本来安装。
下面显示是故障的;
solaris
origin:http://localhost:1008/solaris/1f27c7f999901463e7d6e1ae5a56a35ddd08f9eb/
下面显示是正常的:
Startup linked: 1/1 done
Installing packages from:
solaris
origin:http://localhost:1008/solaris/3ee2a9cbc9eb9a8062a94cdcf5f2860e25d70a8e/
origin:http://localhost:1008/solaris/b10168857f175b3d43eabb0d382864d74f2a873a/
页:
[1]