Michael F. Biniasz wrote:
> I am attempting to set up an AI server using 2009.06. This server
> had provided DHCP services previously which were manually removed,
> (e.g. dhtadm -R, pntadm -R).
>   

Try "dhcpconfig -U -x" to totally clear out the DHCP server
configuration on this system.

> the creation of the AI service fails due to an issue with dhcpconfig but i
> am not able to determine which exact step is failing. my assumption is that
> a manifest or other flag needs to be cleared in order for the dhcpconfig
> command to complete. the following output shows the error message.
>
> suncs at killer:/export/software/solaris# installadm create-service -n 
> osol0906x86 -i 10.2.19.200 -s 
> /export/software/solaris/osol2009.06/osol-0906-ai-x86.iso 
> /export/software/solaris/osol2009.06/osol-0906-ai-x86
>   

FYI, when specifying -i, you need to also specify -c to give the
number of dhcp addressed you want to associate with this install
service.

> Setting up the target image at 
> /export/software/solaris/osol2009.06/osol-0906-ai-x86 ...
> Registering the service osol0906x86._OSInstall._tcp.local
> Creating DHCP Server
> dhcpconfig: Error - DHCP service is already configured on this server.
> Failed to setup DHCP server
> Failed to setup DHCP server.
>   

This seems like a bug.  If the system was previously set up as a
DHCP server, and you only used "dhtadm -R" to remove the
dhcptab table, but the DHCP service was still configured because
you hadn't run "dhcpconfig -U" yet, installadm shouldn't be
trying to create the DHCP server configuration from scratch,
and hence this error.

Can you please file a bug on this.


thanks,
-ethan


> suncs at killer:/export/software/solaris#
>
> i have pkg uninstalled the SUNWinstalladm-tools pkg to see if this would
> help, it did not.
>
> i can create the DHCP entries manually but want to understand what i have 
> changed incorrectly. i have looked at various logfiles (/var/ai/..., 
> /var/svc/log)
> but have not been able to identify the issue. 
>
> pointers or suggestions for clearing the DHCP service from installadm's
> point of view are greatly appreciated.
>
> thank you,
> mike b.
>   

Reply via email to