DHCP Jumpstart on Solaris 8
Can someone could help me to find more informations about the new feature of Solaris 8 which could Jumpstart over the network with DHCP (to get bootparams ans network informations)
Thanks for spending some of your time.
Thanks to Gopinath. Here is the solution to JumpStart Sol 8 with DHCP
Use add_install_client -d ...
-d = use DHCP for boootparams
or
Use the feature network_interface in syscfg file:
network_interface=primary { dhcp protocol_ipv6=no }
Note: DHCP under Solaris uses ipv4
( this is in advanced administration Solaris Book 3, p150 - docs.sun.com )
Similar Messages
-
Jumpstart of Solaris 10 halts when "Discovering additional network..."
Installing Solaris 10 using jumpstart from Solaris 9 server, using JASS 4.2 (Solaris Security Toolkit 4.2.0)
However, the install just hangs after the following printout:
Discovering additional network configuration...
I tried snoop on the install server, but that does not catch any packets after the stalling.
The machines are connected via a router, but broadcast should be transmitted and installing Solaris 9 was OK.
Client is added in ethers, using NIS.
Any hints?
Gerhard
~> sudo snoop -o nov.cap november
Using device /dev/bge0 (promiscuous mode)
93384
ok boot net - install
Resett
LOM event: +38d+3h18m33s host reset
ing ...
Sun Netra X1 (UltraSPARC-IIe 500MHz), No Keyboard
OpenBoot 4.0, 512 MB memory installed, Serial #51100009.
Ethernet address 0:3:ba:b:b9:69, Host ID: 830bb969.
Executing last command: boot net - install
Boot device: /pci@1f,0/ethernet@c File and args: - install
Timeout waiting for ARP/RARP packet
SunOS Release 5.10 Version Generic 64-bit
Copyright 1983-2005 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Configuring devices.
Using RPC Bootparams for network configuration information.
Attempting to configure interface dmfe1...
Skipped interface dmfe1
Attempting to configure interface dmfe0...
Configured interface dmfe0
Beginning system identification...
Searching for configuration file(s)...
Using sysid configuration file 10.1.0.51:/opt/SUNWjass/Sysidcfg/Solaris_10/sysidcfg
Search complete.
Discovering additional network configuration...
NFS server app01 not responding still trying
NFS server app01 not responding still tryingThe IP subnets are not technically the same (10.1/16 and 10.2/16), but they are handled by the same router.
Normal operation and Solaris9 jumpstart is fine. I got the same problem when I tried jumpstart in the same subnet as the jumpstart server.
The Solaris10 installer is doing something unexpected when detecting setting. Something like checking that address with DHCP is the same as the one gotten initially ( I do not believe this is the problem, this is just in the area where I believe that there is problems).
Any specific hints? -
Problem jumpstarting a Solaris 9 SPARC from Solaris 10 x86
Hi all,
I'm going to install a couple of servers using Jumpstart, but I've run
into a problem so I'm kinda in panic.
This is the net boot:
Executing last command: boot net - install
Boot device: /pci@1f,0/pci@1,1/network@c,1 File and args: - install
Timeout waiting for ARP/RARP packet
29200 panic - boot: Could not mount filesystem.
Program terminated
ok
I've setup the jumpstart server on my x86 PC, which is Solaris 10 final
with JET 3.7.3. Since I'm jumpstarting Solaris 9 onto a SPARC machine, I
had to do copy_solaris_media over NFS, since I can't mount the SPARC
ISO-CD1 on my x86. The install server seems to be OK, at least it didn't
complain during setup.
The log entry from sniffing the JS server:
3266 1:15:25.48103 aaa -> xxx WHO C port=33345
3267 1:15:25.48427 aaa -> xxx WHO C port=33345
3268 1:15:25.48636 aaa -> xxx WHO C port=33345
3269 1:15:25.48748 aaa -> xxx SYSLOG C port=32775 BAD.FMT:
3270 1:15:25.49044 aaa -> xxx SYSLOG C port=32775 BAD.FMT:
3271 1:15:25.49283 aaa -> xxx SYSLOG C port=32775 BAD.FMT:
3272 1:15:25.49394 aaa -> xxx PORTMAP R GETPORT port=32775
3273 1:15:25.49541 aaa -> xxx PORTMAP R GETPORT port=32775
3274 1:15:25.49673 aaa -> xxx PORTMAP R GETPORT port=32775
3275 1:15:25.49867 aaa -> xxx PORTMAP R GETPORT port=32775
/etc/bootparams:
xxx root=aaa:/opt/install/media/Solaris_9/Solaris_9/Tools/Boot
install=192.168.4.5:/opt/install/media/Solaris_9 boottype=:in
sysid_config=192.168.4.5:/opt/jet/Clients/xxx
install_config=192.168.4.5:/opt/jet rootopts=:rsize
32768
term=:vt100
Any idea what could be wrong? It stops at 29200, wheres Solaris 10 runs
further up to 38000 something.
Jumpstarting the Solaris 10 onto the same SPARC works perfectly, using
the exact same configuration files.
ThanksHi all,
I managed to solve the problem.
This is very weird! can someone explain why this happens?
Output for working Solaris 10 boot:
Executing last command: boot net -v
Boot device: /pci@1f,0/pci@1,1/network@c,1 File and args: -v
38600 Using RARP/BOOTPARAMS...
Internet address is: 192.168.4.6
hostname: xxx
Requesting Ethernet address for: 192.168.4.5
Found 192.168.4.5 @ 0:0:86:1f:f7:92
root server: aaa (192.168.4.5)
root directory: /opt/install/media/Solaris_10/Solaris_10/Tools/Boot
Size: 0x704c8+0x1b8d2+0x2e1ba Bytes
Output for non-working Solaris 9 boot:
Executing last command: boot net -v
Boot device: /pci@1f,0/pci@1,1/network@c,1 File and args: -v
Timeout waiting for ARP/RARP packet
29200 Using RARP/BOOTPARAMS...
Internet address is: 192.168.4.6
hostname: xxx
Found 192.168.4.5 @ 0:0:86:1f:f7:92
root server: aaa (192.168.4.5)
root directory: /opt/install/media/Solaris_9/Solaris_9/Tools/Boot
panic - boot: Could not mount filesystem.
Program terminated
ok
I then replaced /tftpboot/inetboot.SUN4U.Solaris_9-1 with /tftpboot/inetboot.SUN4U.Solaris_10-1 from the Solaris 10 tree, renamed /tftpboot/inetboot.SUN4U.Solaris_10-1 to /tftpboot/inetboot.SUN4U.Solaris_9-1
Voila!
Now works.
inetboot.SUN4U.Solaris_9-1 was not corrupt (must be some internal bootimage bug related to Netra-T1?).
Old bootimage: "inetboot.SUN4U.Solaris_9-1", 152376 bytes, "sum" 3662 and 298.
New bootimage: "inetboot.SUN4U.Solaris_9-1" (Sol 10 image), 214880 bytes, "sum" 53512 and 420.
By the way I was using latest Solaris 9/04, u7 -
Hi,
Iam having an issue with swap file system while doing a jumpstart of solaris 9. It configures swap from cylinder 0 even though in my Internal.profile script i have specified as below
filesys c1t0d0s1 16384 /
filesys c1t0d0s0 8192 swap
The same configuration works fine for other versions like solaris 8 where it creates swap after root. Is there any way to specify somewhere so that root only takes cylinder 0?
When i went through few documents it says from solaris 9 for perfornace swap is taken from 0th cylinder..You can specify cylinder range in your profile.
Eg:
filesys c1t0d0s0 0:4096 /
Check the exact syntax from the jumpstart docs (advanced installation guide)
The reason why they had jumpstart assigning cyl0 to swap is so that seek time would be reduced (for reading/writing from/to swap). IINM, they have changed that with newer releases of Solaris 9 and subsequently with solaris 10. -
Solaris 10 U6 SPARC - DHCP Jumpstart Issues
Got working DHCP server until U6 image has been put in place. Not sure if some thing got changed as far as 'macros' are concerned.
Using DHCP for network configuration information.
Reading ZFS config: done.
Setting up Java. Please wait...
Serial console, reverting to text install
Beginning system identification...
Searching for configuration file(s)...
Using sysid configuration file /sysidcfg
Search complete.
Discovering additional network configuration...
Completing system identification...
Starting remote procedure call (RPC) services: done.
System identification complete.
Starting Solaris installation program...
Searching for JumpStart directory...
/sbin/dhcpinfo: primary interface requested but no primary interface is set
not found
Warning: Could not find matching rule in rules.ok <== FOR SOME REASON IT COMPLAINS
Press the return key for an interactive Solaris install program... <== GOES TO INTERACTIVE, EXPECTING TO HIT ENTER
Executing JumpStart preinstall phase...
Searching for SolStart directory...
Checking rules.ok file... ==> AND FINDS ALL GOOD IN RULES.OK
Using begin script: install_begin
Using finish script: patch_finish
/sbin/dhcpinfo: connect: Connection refused
Executing SolStart preinstall phase...
Executing begin script "install_begin"...
Begin script install_begin execution completed.
And then goes to interactive again. The same macros works seemless without any issues for U5, though.
Wondering if anyone has some answers. Thanks in advance.
-AVI did not remember of the errors, so I recreated my image for testing...and did not get any issues, otherthan the anticipated ones. Please see below.
root@jumplab:/export# pwd
/export
root@jumplab:/export# mkdir /export/mr
root@jumplab:/export# /boot/solaris/bin/root_archive unpackmedia /export/sol10u6 /export/mr
umount: /tmp/mnt22057 busy
rmdir: directory "/tmp/mnt22057": Directory is a mount point or in use
lofiadm: could not unmap file /export/sol10u6/boot/sparc.miniroot: Device busy
rmdir: directory "/tmp/mnt22057": Directory is a mount point or in use
root@jumplab:/export# df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 20G 6.1G 13G 32% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 17G 1.4M 17G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
fd 0K 0K 0K 0% /dev/fd
/dev/md/dsk/d4 30G 18G 12G 60% /var
swap 17G 4.1M 17G 1% /tmp
swap 17G 56K 17G 1% /var/run
swap 17G 0K 17G 0% /dev/vx/dmp
swap 17G 0K 17G 0% /dev/vx/rdmp
/dev/md/dsk/d2 7.9G 4.7G 3.1G 60% /home
/dev/md/dsk/d3 2.0G 240M 1.7G 13% /jumpstart
/dev/vx/dsk/jumpexp-local/jumpexpvol
100G 79G 21G 79% /export-dev
/dev/vx/dsk/jumpexp/jumpexpvol
249G 175G 74G 71% /export
/dev/vx/dsk/testdg1/testvol
100G 19G 80G 20% /export/testdepot-dev
/dev/vx/dsk/testdg/testvol
300G 172G 120G 59% /export/testdepot
/export/tftpboot
249G 175G 74G 71% /tftpboot
/export/sol10x86/boot
249G 175G 74G 71% /tftpboot/I86PC.Solaris_10-1
/export/sol10x86/boot
249G 175G 74G 71% /tftpboot/boot
/dev/odm 0K 0K 0K 0% /dev/odm
/dev/lofi/1 167M 164M 0K 100% /tmp/mnt22057
root@jumplab:/export# cd /export/mr
root@jumplab:/export/mr# ls
a cdrom etc mnt proc system var
bin dev kernel opt reconfigure tmp
boot devices lib platform sbin usr
root@jumplab:/export/mr# cd sbin
root@jumplab:/export/mr/sbin# cp sulogin sulogin.orig
root@jumplab:/export/mr/sbin# export PKG_NONABI_SYMLINKS=true
root@jumplab:/export/mr/sbin# patchadd -C /export/mr /root/138888-03
Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...
Patch 138888-03 has been successfully installed.
See /export/mr/var/sadm/patch/138888-03/log for details
Patch packages installed:
SUNWcakr
SUNWcakr.3
SUNWcakr.2
SUNWckr
SUNWcsd
SUNWcsl
SUNWcslr
SUNWcsr
SUNWcsu
SUNWesu
SUNWmdb
SUNWmdbr
SUNWpd
SUNWroute
SUNWssad
SUNWust1
SUNWust2
root@jumplab:/export/mr/sbin# ls /export/mr/etc/svc/
repository.db volatile
root@jumplab:/export/mr/sbin# ls -l /export/mr/etc/svc/
total 1026
-rw------- 1 root sys 515072 Oct 27 14:53 repository.db
drwxr-xr-x 2 root sys 512 Oct 27 14:39 volatile
root@jumplab:/export/mr/sbin# export SVCCFG_REPOSITORY=/export/mr/etc/svc/repository.db
root@jumplab:/export/mr/sbin# svccfg -s system/manifest-import setprop start/exec = :true
root@jumplab:/export/mr/sbin# svccfg -s system/filesystem/usr setprop start/exec = :true
root@jumplab:/export/mr/sbin# svccfg -s system/identity:node setprop start/exec = :true
root@jumplab:/export/mr/sbin# svccfg -s system/device/local setprop start/exec = :true
root@jumplab:/export/mr/sbin# svccfg -s network/loopback:default setprop start/exec = :true
root@jumplab:/export/mr/sbin# svccfg -s network/physical:default setprop start/exec = :true
root@jumplab:/export/mr/sbin# svccfg -s milestone/multi-user setprop start/exec = :true
root@jumplab:/export/mr/sbin# /Boot/boot/solaris/bin/root_archive packmedia /export/sol10u6 /export/mr
sh: /Boot/boot/solaris/bin/root_archive: not found
root@jumplab:/export/mr/sbin# /boot/solaris/bin/root_archive packmedia /export/sol10u6 /export/mr
root@jumplab:/export/mr/sbin# cd /export/sol10u6/
root@jumplab:/export/sol10u6# ls -lrt
total 960
-r--r--r-- 1 root root 460262 Jul 31 2008 JDS-THIRDPARTYLICENSEREADME
-r--r--r-- 1 root root 6557 Jul 31 2008 Copyright
-rwxr-xr-x 1 root root 257 Oct 27 14:57 installer
drwxr-xr-x 2 root bin 96 Oct 27 15:20 License
drwxr-xr-x 7 root root 8192 Oct 27 15:21 Solaris_10
drwxr-xr-x 5 root root 96 Oct 27 15:21 platform
drwxr-xr-x 2 root root 96 Apr 22 14:33 boot
root@jumplab:/export/sol10u6# cd boot
root@jumplab:/export/sol10u6/boot# ls -lrt
total 364816
-rw-r--r-- 1 root root 8192 Apr 22 14:28 hsfs.bootblock
-rw-r--r-T 1 root root 186777600 Apr 22 14:28 sparc.miniroot
root@jumplab:/export/sol10u6/boot# cd ../
root@jumplab:/export/sol10u6# cd Sol*/Tools/Boot
root@jumplab:/export/sol10u6/Solaris_10/Tools/Boot# ls -lrt
total 216960
drwxr-xr-x 5 root root 96 Oct 27 15:21 platform
-rw-r--r-- 1 root other 14 Mar 24 11:41 netmask
-rw-r--r-- 1 root root 28288762 Apr 22 14:26 pkg_db.cpio.bz2
-rw-r--r-- 1 root root 72364374 Apr 22 14:28 X.cpio.bz2
-rw-r--r-- 1 root root 287385 Apr 22 14:28 X_small.cpio.bz2
-rw-r--r-- 1 root root 10107822 Apr 22 14:28 lu.cpio.bz2
-rw-r--r-- 1 root root 1530 Apr 22 14:28 lu.platforms
root@jumplab:/export/sol10u6/Solaris_10/Tools/Boot#
I hope you followed the instructions correctly. -
How to configure DHCP on linux jumpstart for solaris installation
I have configured jumpstart on linux and able to install solaris on SUN sparcs
using rarp and bootparams files.now im trying to use linux DHCP for solaris clients. I have the done the DHCP setup on linux using this doc http://www.sun.com/bigadmin/content/submitted/setup_dhcp.jsp.
but when im trying to boot the sun spac client with boot net:dhcp - install command it is failing with error "panic - boot: Could not mount filesystem.
Program terminated". exports file is ok and NFS service is also running.
Please help me on this issue.
Thanks in advance.
ShashiDarren,
Thanks for the response.
I tried to install client60001dev (sparc client) from server60060pxe (linux jumpstart) as follows
client60001dev is able to get the IP address from server60060pxe DHCP and then the boot file also, but after that the client is not showing any NFS queries.
{0} ok boot net:dhcp - install
Boot device: /pci@1f,4000/network@1,1:dhcp File and args: - install
Using Onboard Transceiver - Link Up.
Timeout waiting for BOOTP/DHCP reply. Retrying ...
Timeout waiting for BOOTP/DHCP reply. Retrying ...
2aa00
Server IP address: xx.xx.xx.119
Client IP address: xx.xx.xx.111
Subnet Mask : 255.255.255.0
Using Onboard Transceiver - Link Up.
panic - boot: Could not mount filesystem.
Program terminated
tcpdump on server60060pxe
03:16:12.292836 IP server60060pxe.42445 > client60001dev.20759: UDP, len
gth 516
03:16:12.303646 IP client60001dev.20759 > server60060pxe.42445: UDP, len
gth 4
03:16:12.303669 IP server60060pxe.42445 > client60001dev.20759: UDP, len
gth 516
03:16:12.314479 IP client60001dev.20759 > server60060pxe.42445: UDP, len
gth 4
03:16:12.314501 IP server60060pxe.42445 > client60001dev.20759: UDP, len
gth 516
03:16:12.325313 IP client60001dev.20759 > server60060pxe.42445: UDP, len
gth 4
03:16:12.325347 IP server60060pxe.42445 > client60001dev.20759: UDP, len
gth 516
03:16:12.336158 IP client60001dev.20759 > server60060pxe.42445: UDP, len
/var/log/messages on server60060pxe
Feb 26 03:15:35 server60060pxe dhcpd: DHCPDISCOVER from 08:00:20:fe:4a:23 via eth0.
369
Feb 26 03:15:35 server60060pxe dhcpd: DHCPOFFER on xx.xx.xx.111 to 08:00:20:fe:4
a:23 via eth0.369
Feb 26 03:16:08 server60060pxe dhcpd: Dynamic and static leases present for 139.185
.168.111.
Feb 26 03:16:08 server60060pxe dhcpd: Remove host declaration client60001dev or remove
139.185.168.111
Feb 26 03:16:08 server60060pxe dhcpd: from the dynamic address pool for xx.xx.xx
/24
Feb 26 03:16:08 server60060pxe dhcpd: DHCPREQUEST for xx.xx.xx.111 (xx.xx.xx.
119) from 08:00:20:fe:4a:23 via eth0.369
Feb 26 03:16:08 server60060pxe dhcpd: DHCPACK on xx.xx.xx.111 to 08:00:20:fe:4a:
23 via eth0.369
Feb 26 11:16:09 server60060pxe in.tftpd[10266]: RRQ from xx.xx.xx.111 filename 8
BB9A86F
Feb 26 03:22:00 server60060pxe kernel: eth0.369: dev_set_promiscuity(master, -1)
Feb 26 03:22:00 server60060pxe kernel: device eth0 left promiscuous mode
Feb 26 03:22:00 server60060pxe kernel: device eth0.369 left promiscuous mode
Shashi -
Configure DHCP Server in Solaris 10
Hi,
I am trying to configure my Solaris 10 as an DHCP server. I managed get it configured and assigning IP address to my client machines (Windows XPs). However, I can't figure out how to get the "Default Gateway" passed into the Windows XP. Here is what I have done so far:
# /usr/sbin/dhcpconfig -D -r SUNWfiles -p /var/dhcp
# /usr/sbin/dhcpconfig -N 192.168.1.0 -t 192.168.1.1
# pntadm -A 192.168.1.51 -m dns 192.168.1.0
But on the Windows XP clients, I get the right IP address, and netmask, but the default gateway is blank. How do I specify that in my DHCP server so that the default gateway gets sent to the XP clients?
Thanks.Get the apache server from www.sunfreeware.com and install it on your server.
The url will http://hostname-of-your-server
Go to apache.org to get apache documentation. -
Sun Ray / DHCP problems on Solaris 10
All,
I have a Sun v240 running Solaris 10 (03/05) with patches current as of late December 2005. I cannot configure DHCP using the "utadm -a bge1" command as I get the following message:
### Warning: DHCP Service is in the maintenance mode
There could be a problem with the DHCP configuration
### It is strongly recommended to fix the problem and then use:
### "/usr/sbin/svcadm clear svc:/network/dhcp-server:default"
### to get DHCP service out of the maintenance mode before running utadm
Do you want to Continue? (Y/[N]):
I type "n" and than from the command line enter:
svcadm clear svc:/network/dhcp-server:default
But when I run the command "svcs -v" I see the following:
maintenance - 13:48:47 - svc:/network/dhcp-server:default
The output from "svcs -x" is the following:
# svcs -x
svc:/application/print/server:default (LP print server)
State: disabled since Sun Jan 22 13:45:48 2006
Reason: Disabled by an administrator.
See: http://sun.com/msg/SMF-8000-05
See: lpsched(1M)
Impact: 2 dependent services are not running. (Use -v for list.)
svc:/network/dhcp-server:default (DHCP server)
State: maintenance since Sun Jan 22 16:46:52 2006
Reason: Start method failed repeatedly, last exited with status 1.
See: http://sun.com/msg/SMF-8000-KS
See: in.dhcpd(1M)
See: /var/svc/log/network-dhcp-server:default.log
Impact: This service is not running.
In the log mentioned I get the following repeating error:
[ Jan 22 13:46:21 Executing start method ("/usr/lib/inet/in.dhcpd") ]
Datastore status error: Location does not exist
[ Jan 22 13:46:21 Method "start" exited with status 1 ]
[ Jan 22 13:48:47 Leaving maintenance because clear requested. ]
[ Jan 22 13:48:47 Enabled. ]
I cannot get dhcp out of maintenance. I don't know what this "Datastore" status error means. Any ideas?
BobDHCP server has two or three different data store types, normally its a plain text files or binary data files. Its store info of clients connected and some other stuff. Maybe files path is incorrect, just try to unconfig the dhcp server. I dont know the exact comand, but im using grafical tool on my opensolaris box, its under /usr/sadm/admin/bin/ directory, dhcpmgr.
-
Disksuite 4.2.1 wont install via jumpstart on Solaris 8 2/04
Trying to install Disksuite on a Sun Solaris 8 image. The install works on Fujitsu hardware with an even older (2/02) Solaris 8 image for Fujitsu hardware, but for some reason its not working for a Sun V120 with Sun's 2/04 solaris 8 release.
Here's the output from my finish script to install the packages. All other packages install just fine.
==============================================================================
ACI-secure.driver: Finish script: install-disksuite.fin
==============================================================================
Installing DiskSuite
Installing DiskSuite from /a//tmp/jass-packages/DiskSuite_4.2.1/sparc/Packages
==============================================================================
Installing Package: SUNWmdr
Root Directory: /a/
Ask File: /a/tmp/jass-packages/noask_pkgadd
Source Location: /a/tmp/jass-packages/DiskSuite_4.2.1/sparc/Packages
Options:
==============================================================================
Processing package instance <SUNWmdr> from </a/tmp/jass-packages/DiskSuite_4.2.1
/sparc/Packages>
Solstice DiskSuite Drivers
(sparc) 4.2.1,REV=1999.12.03.10.00
Copyright 2000 Sun Microsystems, Inc. All rights reserved.
## Executing checkinstall script.
/a/tmp/jass-packages/DiskSuite_4.2.1/sparc/Packages/SUNWmdr/install/checkinstall
: /tmp/sh141750: cannot create
pkgadd: ERROR: checkinstall script did not complete successfully
Installation of <SUNWmdr> failed.
No changes were made to the system.
==============================================================================
Installing Package: SUNWmdx
Root Directory: /a/
Ask File: /a/tmp/jass-packages/noask_pkgadd
Source Location: /a/tmp/jass-packages/DiskSuite_4.2.1/sparc/Packages
Options:
==============================================================================
Processing package instance <SUNWmdx> from </a/tmp/jass-packages/DiskSuite_4.2.1
/sparc/Packages>
Solstice DiskSuite Drivers(64-bit)
(sparc) 4.2.1,REV=1999.11.04.18.29
Copyright 2000 Sun Microsystems, Inc. All rights reserved.
## Executing checkinstall script.
/a/tmp/jass-packages/DiskSuite_4.2.1/sparc/Packages/SUNWmdx/install/checkinstall
: /tmp/sh142020: cannot create
pkgadd: ERROR: checkinstall script did not complete successfully
Installation of <SUNWmdx> failed.
No changes were made to the system.
==============================================================================
Installing Package: SUNWmdu
Root Directory: /a/
Ask File: /a/tmp/jass-packages/noask_pkgadd
Source Location: /a/tmp/jass-packages/DiskSuite_4.2.1/sparc/Packages
Options:
==============================================================================
Processing package instance <SUNWmdu> from </a/tmp/jass-packages/DiskSuite_4.2.1
/sparc/Packages>
Solstice DiskSuite Commands
(sparc) 4.2.1,REV=1999.11.04.18.29
Copyright 2000 Sun Microsystems, Inc. All rights reserved.
## Executing checkinstall script.
/a/tmp/jass-packages/DiskSuite_4.2.1/sparc/Packages/SUNWmdu/install/checkinstall
: /tmp/sh142290: cannot create
pkgadd: ERROR: checkinstall script did not complete successfully
Installation of <SUNWmdu> failed.
No changes were made to the system./a/tmp/jass-packages/DiskSuite_4.2.1/sparc/Packages/SUNWmdr/install/checkinstall
: /tmp/sh141750: cannot create
pkgadd: ERROR: checkinstall script did not complete successfullyCheckinstall errors usually suggest that the package cannot be read by the user nobody.
The FAQ mentions this with respect to patches, but it can affect packages as well:
http://www.science.uva.nl/pub/solaris/solaris2.html#q5.59
5.59) Patch installation often fails with "checkinstall" errors.
Darren -
Solaris 10 x86 u5 dhcp and jumpstart install fail
hello
I have problem in solaris 10 u5 jumpstart install.
I can use jumpstart install with dhcp and get a static ip address (assigned by dhcp server) before solaris 10 u3.
But now I can't use jumpstart install in solaris 10 u5 without setting up a static ip address in sysidcfg.
I have many x86 machines.
If I have to set up every different sysidcfg for every machine when I install a new machine.
I will get into big trouble.
here is my sysidcfg
###### sysidcfg #######
system_locale=en_US
timeserver=localhost
timezone=Asia/Taipei
terminal=sun-color
security_policy=NONE
root_password=xxxxxxxx
nfs4_domain=example.com
network_interface=primary { hostname=solaris
default_route=192.168.100.254
netmask=255.255.255.0
protocol_ipv6=no}
name_service=DNS {domain_name=example.com
name_server=192.168.100.1
search=example.com}
Edited by: cheung79 on 2008/4/19 ?? 5:29I think that you should modify the script discovery-install, so you'll be able to create the sysidcfg file dynamically. I had the same problem as you and there is a possibility to add some arguments to the boot command that you execute at the ok prompt. These arguments can be defined in the discovery-install script. It's quite easy.
Regards,
Przemek -
Rebooting a Solaris 11 system to PXE/DHCP to completely rinstall the server
Hi, I am working in an education application where we need to reinstall Solaris 11 x86 (or Solaris 8,9,10 or Linux,...) each week. The current approach has been to erase the MBR on the boot hard drive, and therefore let the host "fall-through" to the network boot device, which then initiates a PXE request to DHCP, and continue with Jumpstart, Kickstart or auto-install, as the server has configured at the time.
I cannot determine if finding the bootdrive and erasing the MBR is even feasible on Solaris 11 x86, but thought there might be a better way or at least a recommended way.
btw, The manipulation of GRUB menus to solve this presents a difficulty, as the client will not know in advance which type of reinstallation has been configured without probing the server somhow. This would have to be dynamically determined at each reinstall time. And, (not necessarily a bad thing) that approach would obsolete Jumpstart of Solaris 10 x86 03/05 which used real mode bootloader, not GRUB.
(SPARC is not a problem, as we just reboot -- net:dhcp and that hardware platform support is Solaris-only in any case).
Thanks for ideas.I don't really have a better suggestion than clearing the MBR, it's the lack of ability to control the boot target configuration in the BIOS from the OS that gets in the way of doing more or less what you do on SPARC. You can determine the disk(s) in the root pool using zpool status rpool (assuming you're using the default root pool name rpool) and otherwise do the same things you currently do with Solaris 10.
-
Best way to update a solaris jumpstart OS image.
Hi all,.
Ive been recently building some v240's but have run into trouble with the rather out of date 02/02 instance of Solaris 8 (yes, i did say solaris 8 - it's a political thing..)
Anyhow, I have cd images of Solaris 8 02/04 and have a copy of the Sun Blueprints Jumpstart book by "Howard and Noordergraph".
On page 92, it says to use the "setup_install_server" script with the -b option for /jumpstart/OS/Solaris-xx-xx-xx.
Ive done that without any probs, then it goes on to say if you want an install server do the same command again without the -b switch.
Problem is that it spews out this message.
733 root@bbs00080 # ./setup_install_server -b /jumpstart/OS/Solaris_8_02-2004/
Verifying target directory...
setup_install_server:
The target directory /jumpstart/OS/Solaris_8_02-2004/ is not empty. Please choose an empty
directory or remove all files from the specified directory and run
this program again.
So i chose an empty directory and it goes and does it.
Is this an errata?
I already have /jumpstart/OS/Solaris_8_02-2002/ and I wanted to update the files so that I can boot the v240r.
Except 02/02 doesnt let me do that as it doesnt support the v240r arch.
Sun told me this, but I'm lost because my existing profile for this box, lists all the packages I want to install, but it whinges about not being able to find a .cdrom toc file.
I already have three flash archives which i created from good builds from 02/02, in my rules file which work, but this pesky update for the 240r is getting to be a little tricky.
So far, ive tried copying all the packages from 02/02/Products directory into 02/04/Products but some of them don't install despite being there.
Can anyone suggest the best way to update my 02/02 with the 02/04 boot loader for the v240?
Thanks in advance and sorry for any confusion.
D.I'm sorry. I meant. Say my array of x positions is 3, 4, 9. I change 9 to 30. How can I make the polygon see that change?
-
Jumpstart: Disable user registration in Solaris 10 x86 8/07
Earlier Solaris version let you disable the user registration screen by adding DISABLE=1 to /etc/default/solregis or not installing SUNWsregu. That doesn't work with Solaris 10 x86 8/07. There is no SUNWsregu package.
Can this still be disabled?Confirmed: I just jumpstarted with Solaris 10 x86 (10/09) AKA Update 8, and touched the .nvreg file into existence with a finish script. The system no longer prompts to register at first login.
Finish script code snipit:
if [ -d ${BASEDIR}/usr/lib/breg/data ]; then
touch ${BASEDIR}/usr/lib/breg/data/.nvreg
fi -
Custom jumpstart Solaris 10 5/09 going interactive
Been trying to do a custom jumpstart for Solaris 10 5/09 SPARC and keep getting into interactive mode.
Here is the profile and sysidcfg. Both work for Solaris 10 11/06 SPARC. The target machine is a SunBlade 100.
Profile
install_type initial_install
system_type standalone
partitioning explicit
cluster SUNWCXall
filesys c0t0d0s0 20480 /
filesys c0t0d0s1 2048 swap
filesys c0t0d0s5 10000
filesys c0t0d0s6 4
filesys c0t0d0s7 free /u
sysidcfg
system_locale=C
timezone=US/Pacific
network_interface=primary {hostname=IL02 default_route=192.168.1.1 netmask=255.2
55.255.0 protocol_ipv6=no}
terminal=vt100
security_policy=NONE
root_password=2KF8gF8gF8gF8
name_service=NONE
timeserver=localhost
sysidnfs4=gomonarch.com
Anyone have a similar experience with this release?This release like the previous one require updating "check" script for rules.ok from this release. The notes also indicate your host should have the latest firmware (prom) release. I'd make sure the blade 100 is supported. double check your entries for this host in bootparams to assure you removed the old and re-added this release. Mostly I'd "boot net -v install" so you can see the verbose output which should show you the issue just before dumping you into the menu. I have installed this release via normal jumpstart in V240 and T2000 clients with no issue. However I have an upgrade from 8/07 that fails when checking diskspace so I can't say upgrades work. From your description it almost seems like it's not finding the sysidcfg at all but your verbose boot will show all the details.
good luck, JB -
Windows 2003 DHCP server merge to Solaris 10
Does anyone ever tried to merge a Windows2003 DHCP server to Solaris 10? Especially running this DHCP server in a solaris zone?
I have an old windows 2003 server with 100 DHCP clients that needs be be transported to Solaris so we can get rid of this Windows machine.
Is it possible to read the DHCP backupfile from windows2003 with Solaris?Troy H wrote:
> Hi,
>
> I have an issue where I do not see SLP being deployed successfully from
> a Windows Server's DHCP scope options. All of the other options come
> through.
>
> I followed this MS doc: http://support.microsoft.com/kb/285019
>
> As far as I can tell, it's setup correctly.
> Has anyone else setup SLP Options in MS and gotten them to work?
> Thank you,
> Troy
Okay, more information:
Workstations that are imaged will receive SLP information as long as the
Zen agent hasn't been installed.(using latest Zen7SP1 Postpatch)
Once you install the Zen agent you will no longer receive SLP via DHCP.
Note that the Novell Client version can be 491 to 491 SP3.
However, if you rename the C:\windows\system32\novell\novdhcp.dll file,
you'll resume getting SLP info from DHCP.(TID 10093676)
Pretty strange, eh?
Maybe you are looking for
-
Link to open a file instead of downloading it
Gentlemen, In my application I have included a file upload/download possibility, according to the How-to. I created a custom table, and put my uploaded files into it. It works very well. However I want to create a link (for example on the file name),
-
Open a movie in a frame i wan't
the only part i now is this on (release) { geturl("..\\Menu\\menu.swf") i wanto to open this movie in frame 30 (for exemple) is missing rest some body can help me
-
I try to create DVD using .mov file created by FCPX. I download file, add outputs. "Start Batch" button becomes enabled, I click it, screen changes to "Active" , status=processing. And then nothing happen for hours. Activity monitor shows that proce
-
PageParameterName and multiple portlets on page
Hello, I'm using the pageParameterName (next_page_p1) multipage stuff and it is working fine for 1 portlet. I then add another portlet (different from first) that also uses multipage jsp's (but different pageParameterName than the 1st: next_page_p2).
-
Yoga 13: Adobe Flash crashing with Transitions?
Whenever I have Firefox open and flip from laptop to tent or tablet mode, Adobe Flash crashes. This is a major annoyance because really the only time I go from laptop to tent or tablet mode is when I am watching a video within Firefox. I've searche