免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1153 | 回复: 3
打印 上一主题 下一主题

使用SystemImage时报错,请高手指点!谢谢! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-29 11:39 |只看该作者 |倒序浏览
我在Imger Server上执行si_getimage命令时,在下面的一步产生了一个错,然后si_getimage就退出了。但我看了一下,Image文件也已经有了,而且,从它报的错来看,也只是在测试的时候没有测试成而已。所以,我就没有再管它,而继续做了下去。

IP Address Assignment
---------------------

There are four ways to assign IP addresses to the client systems on an
ongoing basis:

1) DHCP
   ----------------------------------------------------------------
   A DHCP server will assign IP addresses to clients installed with
   this image.  They may be assigned a different address each time.
   If you want to use DHCP, but must ensure that your clients
   receive the same IP address each time, see "man si_mkdhcpstatic".

2) STATIC
   ----------------------------------------------------------------
   The IP address the client uses during autoinstall will be
   permanently assigned to that client.

3) REPLICANT
   ----------------------------------------------------------------
   Don't mess with the network settings in this image.  I'm using
   it as a backup and quick restore mechanism for a single machine.

Which method do you prefer? [1]: 1
You have chosen method 1 for assigning IP addresses.

Are you satisfied? ([y]/n): y
Undefined subroutine &SystemImager::Server::XMLin called at /usr/lib/systemimager/perl/SystemImager/Server.pm line 1456, <STDIN> line 4.
# Looks like your test died before it could output anything.


然后我在Imger Server上执行si_addclients时,首先它给了我下面这样一个提示:

Welcome to the SystemImager "si_addclients" utility  
--------------------------------------------------------------------------------

This utility has 3 sections.  


"Section 1" will ask you for your hostname information.


"Section 2" will allow you to create softlinks from each client hostname to
your "master" script in the "/var/lib/systemimager/scripts" directory.  

  Example: www297.sh -> web_server_image_v1.master


"Section 3" will ask you for IP address information that will be combined
with the hostname information provided in Section 1 to create entries in
"/etc/hosts" for each of these same clients.  New entries will be appended
to the end of "/etc/hosts".  If you specify new hostnames for existing IP
addresses, those entries will be re-written in place to reflect the new
host names.

然后我就按照提示一步步做下去,可在第二步的时候,产生了这样一个错:

si_addclients -- Section 2 (soft links to master script)
--------------------------------------------------------------------------------

Would you like me to create soft links to a "master" script so that hosts:

  imclient01 through imclient05

can be autoinstalled with that image? ([y]/n): y

Here is a list of available autoinstall scripts:

ls: *: No such file or directory

Which script would you like these hosts to be installed with?
[ls: *: No such file or directory]:

意思好像是说,创建软连接的时候有错。然后就做不下去了,我找了找,在"/var/lib/systemimage/scripts"目录中只有两个目录"post-install/"和"pre-install/",的确是没有别的什么文件了。

请高手指点!
谢谢!

论坛徽章:
0
2 [报告]
发表于 2005-12-30 15:02 |只看该作者
请用过SystemImager的高手指点!
谢谢!

论坛徽章:
0
3 [报告]
发表于 2005-12-31 10:31 |只看该作者
怎么这么没有人气呢?难道就真的没有人用过吗?

论坛徽章:
0
4 [报告]
发表于 2006-01-02 10:52 |只看该作者
有人吗?
我真的很急用。
谢谢了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP