Chinaunix

标题: solaris11 创建AI安装服务失败 [打印本页]

作者: homecdhw    时间: 2014-09-04 19:55
标题: solaris11 创建AI安装服务失败
-bash-4.1# installadm create-service -a sparc

Creating service from: pkg:/install-image/solaris-auto-install
OK to use subdir of /export/auto_install to store image? [y/N]: y
The specified data source, pkg:/install-image/solaris-auto-install,
for the service is not a path to an existing ISO image.

Attempting to create the service from pkg(5) package, pkg:/install-
image/solaris-auto-install, failed for the following reasons:

The following pattern(s) did not match any allowable packages.  Try
using a different matching pattern, or refreshing publisher information:

        pkg:/install-image/solaris-auto-install

这个怎么办?
作者: DC_楚楚    时间: 2014-09-04 22:14
pkg publisher  看看你的发布
作者: homecdhw    时间: 2014-09-05 08:19
-bash-4.1# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F http://100.115.5.38:80/
-bash-4.1# svcs svc:/system/install/server:default
STATE          STIME    FMRI
online         20:35:07 svc:/system/install/server:default
-bash-4.1#
作者: homecdhw    时间: 2014-09-05 08:19
回复 2# DC_楚楚
-bash-4.1# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F http://100.115.5.38:80/
-bash-4.1# svcs svc:/system/install/server:default
STATE          STIME    FMRI
online         20:35:07 svc:/system/install/server:default
-bash-4.1#


   
作者: DC_楚楚    时间: 2014-09-05 13:43
回复 4# homecdhw


    看看服务的属性:
# svcprop -p all_services svc:/system/install/server:default
作者: homecdhw    时间: 2014-09-05 13:56
回复 5# DC_楚楚
-bash-4.1# svcprop -p all_services svc:/system/install/server:default
all_services/default_imagepath_basedir astring /export/auto_install
all_services/exclude_networks boolean false
all_services/manage_dhcp boolean true
all_services/port integer 5555
all_services/networks net_address_v4 100.115.0.0/16
-bash-4.1#


   
作者: 有朋相聚    时间: 2014-10-23 16:36
你可以检测一下 你的publisher是否配置正确。
安装一个包来验证上诉命令是否有效:
#pkg install developer/vala
#pkg info developer/vala

作者: 有朋相聚    时间: 2014-10-23 16:36
你可以检测一下 你的publisher是否配置正确。
安装一个包来验证上诉命令是否有效:
#pkg install developer/vala
#pkg info developer/vala





欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2