On Thu, Jun 25, 2009 at 01:48:15PM -0700, Ethan Quach wrote: > > > B J Wahl wrote: >> I ran into new errors when creating new 117 services. For the x86 >> image, it seemed to complete successfully, but then I got: >> >> /usr/lib/installadm/setup-tftp-links[673]: [: 1.new: arithmetic syntax error >> /usr/lib/installadm/setup-tftp-links[673]: [: 1.orig: arithmetic syntax error >> >> For the SPARC image it failed with the following erro: >> >> /var/ai/image-server/cgi-bin does not exist >> >> Are these know errors? More details below. >> > > Is this system 'ai-ether' ? If so, it looks like the delivered > content of SUNWinstalladm-tools on this system is tainted. > pkg verify showed errors that would certainly explain the > Sparc service setup failure (the missing directory stated > above) > > Run 'pkg fix SUNWinstalladm-tools' to fix this, and redo > your Sparc service creation. > > > As for the x86 issue, I'm still not sure what's going on. > Is the service usable? Could you try deleting the service > and recreating it after you fix the pkg as above? > > # installadm delete-service -x x86-b117
This did the trick. Haven't been able to test the sparc service yet, but the delete and recreation of the service went smoothly with no errors. Did test the x86 and I believe the service was actually working with these errors and it was just a really slow ipkg. However, I stopped the install after a few hours, deleted and recreated the service and it completed successfully. BJ >> root at ai-ether:~# installadm create-service -n x86-b117 -s >> /home/bjw/Download/osol-1002-117-ai-x86.iso >> /images/x86/osol-1002-117-ai-x86.iso >> Warning: NWAM is enabled. Please be sure that the IP address for ai-ether is >> static. >> Setting up the target image at /images/x86/osol-1002-117-ai-x86.iso ... >> Registering the service x86-b117._OSInstall._tcp.local >> >> Detected that DHCP is not set up on this server. >> If not already configured, please create a DHCP macro >> named dhcp_macro_x86-b117 with: >> Boot server IP (BootSrvA) : 129.146.228.122 >> Boot file (BootFile) : x86-b117 >> GRUB Menu (GrubMenu) : menu.lst.x86-b117 >> If you are running Sun's DHCP server, use the following >> command to add the DHCP macro, dhcp_macro_x86-b117: >> /usr/sbin/dhtadm -g -A -m dhcp_macro_x86-b117 -d >> :BootSrvA=129.146.228.122:BootFile=x86-b117:GrubMenu=menu.lst.x86-b117: >> >> Additionally, if the site specific symbol GrubMenu >> is not present, please add it as follows: >> /usr/sbin/dhtadm -g -A -s GrubMenu -d Site,150,ASCII,1,0 >> >> Note: Be sure to assign client IP address(es) if needed >> (e.g., if running Sun's DHCP server, run pntadm(1M)). >> /usr/lib/installadm/setup-tftp-links[673]: [: 1.new: arithmetic syntax error >> /usr/lib/installadm/setup-tftp-links[673]: [: 1.orig: arithmetic syntax error >> copying boot file to /tftpboot/pxegrub.I86PC.OpenSolaris-6 >> Service discovery fallback mechanism set up >> >> SPARC >> ----- >> root at ai-ether:~# installadm create-service -n sparc-b117 -s >> /home/bjw/Download/osol-1002-117-ai-sparc.iso >> /images/sparc/osol-1002-117-ai-sparc >> Warning: NWAM is enabled. Please be sure that the IP address for ai-ether is >> static. >> Setting up the target image at /images/sparc/osol-1002-117-ai-sparc ... >> Registering the service sparc-b117._OSInstall._tcp.local >> >> Detected that DHCP is not set up on this server. >> If not already configured, please create a DHCP macro >> named dhcp_macro_sparc-b117 with: >> Boot server IP (BootSrvA) : 129.146.228.122 >> Boot file (BootFile) : >> http://129.146.228.122:5555/cgi-bin/wanboot-cgi >> If you are running Sun's DHCP server, use the following >> command to add the DHCP macro, dhcp_macro_sparc-b117: >> /usr/sbin/dhtadm -g -A -m dhcp_macro_sparc-b117 -d >> :BootSrvA=129.146.228.122:BootFile=\"http://129.146.228.122:5555/cgi-bin/wanboot-cgi\": >> >> Note: Be sure to assign client IP address(es) if needed >> (e.g., if running Sun's DHCP server, run pntadm(1M)). >> /var/ai/image-server/cgi-bin does not exist >> Failed to setup the SPARC configuration file. >> >> >> -- B.J. Wahl Solaris Kernel Development