Reply is inline.
On 05/06/09 23:38, Evan Layton wrote:
> Avinash K wrote:
>>
>>
>> On 05/05/09 18:54, Sean McGrath wrote:
>>> Avinash K stated:
>>> < Hi,
>>> < < Sorry forgot to attach the var logs. Below are the contents
>>> of the logs.
>>> < And also since it's in maintenance mode since pkg install, as
>>> mentioned I
>>> < am unable to create any install service.
>>> < < root at blr-v20z-1:~#
>>> < root at blr-v20z-1:~# cat
>>> /var/svc/log/system-install-server:default.log
>>> < [ May 5 12:37:40 Disabled. ]
>>> < [ May 5 12:37:40 Rereading configuration. ]
>>> < [ May 5 12:57:18 Stopping for maintenance due to
>>> administrative_request.
>>> < ]
>>> < [ May 5 12:57:18 Stopping for maintenance due to
>>> administrative_request.
>>> < ]
>>> < [ May 5 13:01:50 Disabled. ]
>>> < [ May 5 13:18:07 Stopping for maintenance due to
>>> administrative_request.
>>> < ]
>>> < [ May 5 13:18:07 Stopping for maintenance due to
>>> administrative_request.
>>> < ]
>>> < [ May 5 13:24:59 Leaving maintenance because clear requested. ]
>>> < [ May 5 13:24:59 Enabled. ]
>>> < [ May 5 13:24:59 Executing start method
>>> < ("/lib/svc/method/svc-install-server start"). ]
>>> < No install services are enabled. Incorrect configuration
>>> < < [ May 5 13:24:59 Method "start" exited with status 96. ]
>>> < [ May 5 13:25:37 Leaving maintenance because clear requested. ]
>>> < [ May 5 13:25:37 Enabled. ]
>>> < [ May 5 13:25:37 Executing start method
>>> < ("/lib/svc/method/svc-install-server start"). ]
>>> < No install services are enabled. Incorrect configuration
>>> < < [ May 5 13:25:37 Method "start" exited with status 96. ]
>>> < [ May 5 13:37:21 Leaving maintenance because clear requested. ]
>>> < [ May 5 13:37:21 Enabled. ]
>>> < [ May 5 13:37:21 Executing start method
>>> < ("/lib/svc/method/svc-install-server start"). ]
>>> < No install services are enabled. Incorrect configuration
>>> < < [ May 5 13:37:21 Method "start" exited with status 96. ]
>>> < [ May 5 13:38:41 Leaving maintenance because disable requested. ]
>>> < [ May 5 13:38:41 Disabled. ]
>>> < [ May 5 13:42:09 Enabled. ]
>>> < [ May 5 13:42:43 Executing start method
>>> < ("/lib/svc/method/svc-install-server start"). ]
>>> < No install services are enabled. Incorrect configuration
>>> < < [ May 5 13:42:44 Method "start" exited with status 96. ]
>>> < root at blr-v20z-1:~#
>>> < root at blr-v20z-1:~# installadm create-service -n sparc1 \ -s
>>> < /root/Desktop/osol-0906-111a-ai-sparc.iso <
>>> /export/aiserver/osol-0906-ai-sparc
>>> < NWAM is not disabled. To disable, run # /usr/sbin/svcadm disable
>>> < svc:/network/physical:nwam
>>> < svc:/network/physical:default is not online. Its current state is
>>> < disabled
>>> < To enable, run # /usr/sbin/svcadm enable
>>> svc:/network/physical:default
>>> < Automated Installations will not work with the current server
>>> network
>>> < setup.
>>> < Please check server network settings and try again.
>>> < The installadm SMF service (svc:/system/install/server:default)
>>> is no
>>> < longer online
>>> < because the last install service has been disabled or deleted.
>>> < root at blr-v20z-1:~#
>>>
>>> The output from installadm isn't clear ?
>>>
>>> 'NWAM is not disabled.'
>>> 'Automated Installations will not work with the current server
>>> network setup.'
>>>
>>> You have nwam enabled, your install server (blr-v20z-1) needs to have
>>> a static IP address instead of a dynamic one.
>>>
>>> The output from installadm isn't clear ?
>>>
>>> AI working with NWAM is actually just fixed last Wednesday. Though
>>> I don't
>>> think the updated packages are available yet.
>>> See: Bug 8346 AI should work with NWAM
>>>
>> But previous time it had 2008.11 installed on it and the installadm
>> was working fine. Then also it had same IP and other configurations.
>> So are you suggesting that I need to wait till the build with the
>> necessary fix is released?
>> Is there no workaround for the same? Will disabling nwam cause any
>> issues or solve the problem?
>>
>> Regards,
>> Avinash K
>
> installadm has always required a static IP address and did not work
> correctly with nwam until the fix for 8346. You will either need to
> setup a static IP address for the server or wait for the fix for 8346
> to be available. To use a static IP address you will need to disable
> nwam and manually set up a static IP address.
>
> -evan
Hi Evan/Sean,
Just check the below logs, I have disabled nwam and configured static
IP. But now the error is different, it says '*Unable to determine
OpenSolaris install image type*.'.
So is it problem with the downloaded image or some problem with IP
configuration or anything other issue?
root at blr-v20z-1:~#
root at blr-v20z-1:~# svcs svc:/network/physical
STATE STIME FMRI
disabled 17:10:37 svc:/network/physical:nwam
online 17:10:39 svc:/network/physical:default
root at blr-v20z-1:~#
root at blr-v20z-1:~# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 index 1
inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.12.176.49 netmask ffffff00 broadcast 10.12.176.255
ether 0:9:3d:13:9f:d9
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu
8252 index 1
inet6 ::1/128
root at blr-v20z-1:~#
root at blr-v20z-1:~# svcs -x
svc:/system/install/server:default (Installadm Utility)
State: maintenance since Fri May 08 17:21:18 2009
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
See: http://sun.com/msg/SMF-8000-KS
See: installadm(1M)
See: /var/svc/log/system-install-server:default.log
Impact: This service is not running.
root at blr-v20z-1:~#
root at blr-v20z-1:~# installadm create-service -n sparc1 \ -s
/root/Desktop/osol-0906-111a-ai-sparc.iso
/export/aiserver/osol-0906-ai-sparc
Unable to determine OpenSolaris install image type.
The installadm SMF service (svc:/system/install/server:default) is no
longer online
because the last install service has been disabled or deleted.
root at blr-v20z-1:~#
root at blr-v20z-1:~# cat /var/svc/log/system-install-server:default.log
[ May 5 12:37:40 Disabled. ]
[ May 5 12:37:40 Rereading configuration. ]
[ May 5 12:57:18 Stopping for maintenance due to administrative_request. ]
[ May 5 12:57:18 Stopping for maintenance due to administrative_request. ]
[ May 5 13:01:50 Disabled. ]
[ May 5 13:18:07 Stopping for maintenance due to administrative_request. ]
[ May 5 13:18:07 Stopping for maintenance due to administrative_request. ]
[ May 5 13:24:59 Leaving maintenance because clear requested. ]
[ May 5 13:24:59 Enabled. ]
[ May 5 13:24:59 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 5 13:24:59 Method "start" exited with status 96. ]
[ May 5 13:25:37 Leaving maintenance because clear requested. ]
[ May 5 13:25:37 Enabled. ]
[ May 5 13:25:37 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 5 13:25:37 Method "start" exited with status 96. ]
[ May 5 13:37:21 Leaving maintenance because clear requested. ]
[ May 5 13:37:21 Enabled. ]
[ May 5 13:37:21 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 5 13:37:21 Method "start" exited with status 96. ]
[ May 5 13:38:41 Leaving maintenance because disable requested. ]
[ May 5 13:38:41 Disabled. ]
[ May 5 13:42:09 Enabled. ]
[ May 5 13:42:43 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 5 13:42:44 Method "start" exited with status 96. ]
[ May 5 16:39:40 Leaving maintenance because clear requested. ]
[ May 5 16:39:40 Enabled. ]
[ May 5 16:39:40 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 5 16:39:40 Method "start" exited with status 96. ]
[ May 8 16:59:40 Enabled. ]
[ May 8 17:00:10 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 8 17:00:12 Method "start" exited with status 96. ]
[ May 8 17:05:05 Leaving maintenance because clear requested. ]
[ May 8 17:05:05 Enabled. ]
[ May 8 17:05:05 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 8 17:05:05 Method "start" exited with status 96. ]
[ May 8 17:07:24 Leaving maintenance because disable requested. ]
[ May 8 17:07:24 Disabled. ]
[ May 8 17:10:39 Enabled. ]
[ May 8 17:11:11 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 8 17:11:14 Method "start" exited with status 96. ]
[ May 8 17:12:31 Leaving maintenance because clear requested. ]
[ May 8 17:12:31 Enabled. ]
[ May 8 17:12:31 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 8 17:12:31 Method "start" exited with status 96. ]
[ May 8 17:14:53 Leaving maintenance because clear requested. ]
[ May 8 17:14:53 Enabled. ]
[ May 8 17:14:53 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 8 17:14:53 Method "start" exited with status 96. ]
[ May 8 17:18:56 Leaving maintenance because clear requested. ]
[ May 8 17:18:56 Enabled. ]
[ May 8 17:18:56 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 8 17:18:56 Method "start" exited with status 96. ]
[ May 8 17:19:44 Leaving maintenance because clear requested. ]
[ May 8 17:19:44 Enabled. ]
[ May 8 17:19:44 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 8 17:19:44 Method "start" exited with status 96. ]
[ May 8 17:21:18 Leaving maintenance because clear requested. ]
[ May 8 17:21:18 Enabled. ]
[ May 8 17:21:18 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 8 17:21:18 Method "start" exited with status 96. ]
[ May 8 17:22:57 Leaving maintenance because clear requested. ]
[ May 8 17:22:57 Enabled. ]
[ May 8 17:22:57 Executing start method
("/lib/svc/method/svc-install-server start"). ]
No install services are enabled. Incorrect configuration
[ May 8 17:22:57 Method "start" exited with status 96. ]
root at blr-v20z-1:~#
Please let me know if you need any other logs?
--
Regards,
Avinash K
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/caiman-discuss/attachments/20090508/ac6fadd0/attachment.html>