Hi Bing,
On 03/05/09 03:40, Bing Zhao - Sun Microsystems wrote: > Hi All: > > When I want to setup an AI server according to > http://www.opensolaris.org/os/project/caiman/auto_install/AI_install_server_setup.html. > I met a problem when I ran installadm. > > installadm create-service -n x86_install_service -i 10.13.21.2 -c 5 -s > /images/osol-0811-rc2-ai.iso /server/images/ > /*usr/lib/installadm/setup-image[219]: [: argument expected* > <----------did I miss some arguments? You provided correct list of arguments. Looking at the script, you might be hitting 6386 installadm return this error : /usr/lib/installadm/setup-image[225]: [: argument expected In order to obtain more detailed information, could you please edit /usr/lib/installadm/setup-image and change line 1 from: #!/bin/sh to #!/bin/sh -x and run the create-service command again. Then please include/attach the output from the command. Thank you. Also, could you please attach output of following command ? # /usr/sbin/df -k /server/images > Setting up the target image at /server/images/ ... > *ln: target `/var/ai/image-server/images//server/images/' is not a > directory: No such file or directory* <-------Need I create this dir > first? No, it is not necessary, you are likely hitting issue 3773 installadm output ln link error message Please try to remove trailing '/' from /server/images/, e.g. # installadm create-service -n x86_install_service -s /images/osol-0811-rc2-ai.iso /server/images > Registering the service x86_install_service._OSInstall._tcp.local > Added network macro to dhcptab - 10.0.0.0. > Created network table. > > Then I went to /server/images and found there has been some files: > root at opensolaris:/server/images# ls > bin dev jack pkg.zlib proc root solaris.zlib tmp > boot devices mnt platform reconfigure solarismisc.zlib system > But I can't run create-client successfully as follows: > root at opensolaris:/server/images# installadm create-client -e > 00:e0:81:58:42:d8 -t /server/images -n x86_install_service > *create-client: Remote image server is not supported at this time. > <---But I didn't input a remote image server at all.* I think, it is likely also another manifestation of 3773 mentioned above. Since link to image was not created, AI server thinks that /server/images doesn't exist. Thank you, Jan > root at opensolaris:/server/images# > > So did I forget something? I am using opensolaris 2008.11 > > Regards, > Bing > > ------------------------------------------------------------------------ > > _______________________________________________ > caiman-discuss mailing list > caiman-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/caiman-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20090305/2040adfc/attachment.html>