Upgrade of Solaris 8 10/01 to Solaris 9 8/03

This is a log of a Solaris upgrade using LiveUpdate.
The hardware is an Ultra 10 with a single 18GB disk in a Unipack attached to c1.
This system was previously LiveUpdated from Solaris 7 to Solaris 8. Because of this, we already have a PBE (Primary Boot Environment) called "solaris8". We also have an ABE (Alternative Boot Environment) called "solaris7". We will be reusing the Solaris 7 slices for Solaris 9, so deleting the "solaris7" ABE and adding a "solaris9" BE. See the LiveUpgrade index for details of the hardware and filesystem layouts, as well as details of the previous LiveUpgrade.

ultra10 console login: root
Password: 
Last login: Thu Apr 22 22:21:23 on console
Apr 23 22:34:20 ultra10 login: ROOT LOGIN /dev/console
Sun Microsystems Inc.   SunOS 5.8       Generic February 2000
# cat /etc/release
                       Solaris 8 10/01 s28s_u6wos_08a SPARC
           Copyright 2001 Sun Microsystems, Inc.  All Rights Reserved.
                           Assembled 12 September 2001
# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c1t0d0s3    2056211  882564 1111961    45%    /
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
mnttab                     0       0       0     0%    /etc/mnttab
/dev/dsk/c1t0d0s6    1018191    9638  947462     2%    /var
swap                  590336       8  590328     1%    /var/run
swap                  590392      64  590328     1%    /tmp
# 
# pkginfo SUNWadmap
system      SUNWadmap      System administration applications
# pkginfo SUNWadmc
system      SUNWadmc       System administration core libraries
# pkginfo SUNWlibC
system      SUNWlibC       Sun Workshop Compilers Bundled libC
# pkginfo SUNWadmfw
system      SUNWadmfw      System & Network Administration Framework
# pkginfo SUNWbzip
system      SUNWbzip       The bzip compression utility
Okay, we have the required packages installed. This is a Solaris 8 10/01 installation with no 8_Recommended patches installed. I really should have installed the 8_Recommended patches.
It was LiveUpdated from Solaris 7, and has existing (Solaris 8) LU packages installed. We need the Solaris 9 8/03 LU packages to upgrade to Solaris 9 8/03:
# pkgrm SUNWluu

The following package is currently installed:
   SUNWluu         Live Upgrade 2.0 10/01 (usr)
                   (sparc) 11.8,REV=2001.08.22.12.53

Do you want to remove this package? y

## Removing installed package instance <SUNWluu>
## Verifying package dependencies.
## Processing package information.
## Removing pathnames in class <none>
/usr/sbin/luupgrade
/usr/sbin/luumount
/usr/sbin/lustatus
/usr/sbin/lurename
/usr/sbin/lumount
/usr/sbin/lumake
/usr/sbin/lufslist
/usr/sbin/ludelete
/usr/sbin/lucurr
/usr/sbin/lucreate
/usr/sbin/lucompare
/usr/sbin/lucancel
/usr/sbin/luactivate
/usr/sbin/lu
/usr/sbin <shared pathname not removed>
/usr/lib/lu/menu/lu.init
/usr/lib/lu/menu/Text.success
/usr/lib/lu/menu/Text.status
/usr/lib/lu/menu/Text.ok
/usr/lib/lu/menu/Text.lockerr
/usr/lib/lu/menu/Text.list
/usr/lib/lu/menu/Text.flash.nomedia
/usr/lib/lu/menu/Text.flash.noarchive
/usr/lib/lu/menu/Text.flash.invalid
/usr/lib/lu/menu/Text.flash.delete
/usr/lib/lu/menu/Text.fail
/usr/lib/lu/menu/Text.err
/usr/lib/lu/menu/Text.current
/usr/lib/lu/menu/Text.cancel
/usr/lib/lu/menu/Sub2Help.flash
/usr/lib/lu/menu/Sub1Help5.compare
/usr/lib/lu/menu/Sub1Help4.copy
/usr/lib/lu/menu/Sub1Help4.compare
/usr/lib/lu/menu/Sub1Help3.copy
/usr/lib/lu/menu/Sub1Help3.compare
/usr/lib/lu/menu/Sub1Help2.rename
/usr/lib/lu/menu/Sub1Help2.create
/usr/lib/lu/menu/Sub1Help2.copy
/usr/lib/lu/menu/Sub1Help2.compare2
/usr/lib/lu/menu/Sub1Help2.compare
/usr/lib/lu/menu/Sub1Help2.activate
/usr/lib/lu/menu/Sub1Help.rename
/usr/lib/lu/menu/Sub1Help.nfs
/usr/lib/lu/menu/Sub1Help.lt
/usr/lib/lu/menu/Sub1Help.list
/usr/lib/lu/menu/Sub1Help.lf
/usr/lib/lu/menu/Sub1Help.ld
/usr/lib/lu/menu/Sub1Help.http
/usr/lib/lu/menu/Sub1Help.flash
/usr/lib/lu/menu/Sub1Help.delete
/usr/lib/lu/menu/Sub1Help.create
/usr/lib/lu/menu/Sub1Help.copy
/usr/lib/lu/menu/Sub1Help.compare2
/usr/lib/lu/menu/Sub1Help.compare
/usr/lib/lu/menu/Sub1Help.activate
/usr/lib/lu/menu/Menu.lu
/usr/lib/lu/menu/Menu.flash.retr
/usr/lib/lu/menu/Menu.flash
/usr/lib/lu/menu/Menu.compare
/usr/lib/lu/menu/Menu.choices
/usr/lib/lu/menu/MainHelp.upgrade
/usr/lib/lu/menu/MainHelp.status
/usr/lib/lu/menu/MainHelp.rename
/usr/lib/lu/menu/MainHelp.list
/usr/lib/lu/menu/MainHelp.flash
/usr/lib/lu/menu/MainHelp.exit
/usr/lib/lu/menu/MainHelp.delete
/usr/lib/lu/menu/MainHelp.current
/usr/lib/lu/menu/MainHelp.create
/usr/lib/lu/menu/MainHelp.copy
/usr/lib/lu/menu/MainHelp.compare2
/usr/lib/lu/menu/MainHelp.compare
/usr/lib/lu/menu/MainHelp.cancel
/usr/lib/lu/menu/MainHelp.activate
/usr/lib/lu/menu/Help
/usr/lib/lu/menu/Form.upgrade
/usr/lib/lu/menu/Form.rename
/usr/lib/lu/menu/Form.list
/usr/lib/lu/menu/Form.flash.nfs
/usr/lib/lu/menu/Form.flash.lt
/usr/lib/lu/menu/Form.flash.lf
/usr/lib/lu/menu/Form.flash.ld
/usr/lib/lu/menu/Form.flash.http
/usr/lib/lu/menu/Form.flash
/usr/lib/lu/menu/Form.delete
/usr/lib/lu/menu/Form.create
/usr/lib/lu/menu/Form.copy
/usr/lib/lu/menu/Form.compare2
/usr/lib/lu/menu/Form.compare
/usr/lib/lu/menu/Form.cancel
/usr/lib/lu/menu/Form.activate
/usr/lib/lu/menu
/usr/lib/lu/luupgrade
/usr/lib/lu/luupdall
/usr/lib/lu/luupd_boot
/usr/lib/lu/luumount
/usr/lib/lu/lutime_valid
/usr/lib/lu/lutabs_get
/usr/lib/lu/lutab_update
/usr/lib/lu/lusync
/usr/lib/lu/lustatus
/usr/lib/lu/lustat_set
/usr/lib/lu/lustat_get
/usr/lib/lu/lurootdev
/usr/lib/lu/lurename
/usr/lib/lu/luprintf
/usr/lib/lu/lupop
/usr/lib/lu/lunewid
/usr/lib/lu/lunames_list
/usr/lib/lu/lunames_get
/usr/lib/lu/luname_valid
/usr/lib/lu/luname_to_id
/usr/lib/lu/lumount
/usr/lib/lu/lumkfs
/usr/lib/lu/lumkboot
/usr/lib/lu/lumk_iconf
/usr/lib/lu/lumedia
/usr/lib/lu/lumake
/usr/lib/lu/lulib
/usr/lib/lu/luids_get
/usr/lib/lu/lufslist
/usr/lib/lu/lufsck
/usr/lib/lu/luedvfstab
/usr/lib/lu/luedmnttab
/usr/lib/lu/lueddumpadm
/usr/lib/lu/ludu
/usr/lib/lu/ludo
/usr/lib/lu/ludevices
/usr/lib/lu/ludelete
/usr/lib/lu/ludefine
/usr/lib/lu/lucurr
/usr/lib/lu/lucreate
/usr/lib/lu/lucopy
/usr/lib/lu/luconfig
/usr/lib/lu/lucompare
/usr/lib/lu/lucomp_size
/usr/lib/lu/lucomm_del
/usr/lib/lu/lucmdk2sd
/usr/lib/lu/lucancel
/usr/lib/lu/luasyncopt
/usr/lib/lu/luactivate
/usr/lib/lu/lu_init_d
/usr/lib/lu/help/C/split.help
/usr/lib/lu/help/C/schedule.help
/usr/lib/lu/help/C/print.help
/usr/lib/lu/help/C/merge.help
/usr/lib/lu/help/C/main.help
/usr/lib/lu/help/C/device.help
/usr/lib/lu/help/C/choice_fstype.help
/usr/lib/lu/help/C
/usr/lib/lu/help
/usr/lib/lu/fstypes
/usr/lib/lu/compare
/usr/lib/lu
/usr/lib <shared pathname not removed>
/usr <shared pathname not removed>
## Updating system information.

Removal of <SUNWluu> was successful.
# pkgrm SUNWlur

The following package is currently installed:
   SUNWlur         Live Upgrade 2.0 10/01 (root)
                   (sparc) 11.8,REV=2001.08.08.14.22

Do you want to remove this package? y

## Removing installed package instance <SUNWlur>
## Verifying package dependencies.
## Processing package information.
## Removing pathnames in class <EtcDefLu>
## Removing pathnames in class <AddNoUpdate>
/etc/lu/optfs
## Removing pathnames in class <none>
/sbin/lusync
/sbin/lurootdev
/sbin/luprintf
/sbin/ludo
/sbin/lucurr
/sbin/lubootdev
/sbin/luactivate
/sbin <shared pathname not removed>
/etc/rc2.d/S10lu
/etc/rc2.d <shared pathname not removed>
/etc/rc1.d/S10lu
/etc/rc1.d <shared pathname not removed>
/etc/rc0.d/K62lu
/etc/rc0.d <shared pathname not removed>
/etc/lu/tmp
/etc/lu/solaris_profile
/etc/lu/rc.d
/etc/lu/lu_transfer_list
/etc/lu/default.upgrade
/etc/lu/compare <non-empty directory not removed>
/etc/lu/arc
/etc/lu/DelayUpdate
/etc/lu <non-empty directory not removed>
/etc/init.d/lu
/etc/init.d <shared pathname not removed>
/etc/default <shared pathname not removed>
/etc <shared pathname not removed>
## Updating system information.

Removal of <SUNWlur> was successful.
Now we install the Solaris 9 8/03 LU packages. I've got a Jumpstart image on a remote server, so we'll mount that via NFS.
# mount 192.168.1.113:/export/install/media/9_803 /mnt
# cd /mnt
# cd Solaris_9/Product
# pkgadd -d . SUNWlur SUNWluu

Processing package instance <SUNWlur> from </mnt/Solaris_9/Product>

Live Upgrade (root)
(sparc) 11.9,REV=2003.04.29.18.46
Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
   10 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of <SUNWlur> [y,n,?] y

Installing Live Upgrade (root) as <SUNWlur>

## Executing preinstall script.
## Installing part 1 of 1.
2161 blocks
/etc/lu/synclist
[ verifying class <AddNoUpdate> ]
Updating /etc/default/lu
[ verifying class <EtcDefLu> ]
## Executing postinstall script.

=========================================================================
                              IMPORTANT NOTICE

The latest Solaris Recommended Patch Cluster for SunOS 5.8 for the sparc
platform must be installed on this system prior to running Live
Upgrade. The latest Solaris recommended Patch Cluster brings the
system up to the currently-supported release level. Live Upgrade may
fail to work properly if the latest Solaris Recommended Patch Cluster
is not installed on this system.
=========================================================================


Installation of <SUNWlur> was successful.

Processing package instance <SUNWluu> from </mnt/Solaris_9/Product>

Live Upgrade (usr)
(sparc) 11.9,REV=2003.04.29.18.46
Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
   5 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
permission during the process of installing this package.

Do you want to continue with the installation of <SUNWluu> [y,n,?] y

Installing Live Upgrade (usr) as <SUNWluu>

## Installing part 1 of 1.
2002 blocks
## Executing postinstall script.

=========================================================================
                              IMPORTANT NOTICE

The latest Solaris Recommended Patch Cluster for SunOS 5.8 for the sparc
platform must be installed on this system prior to running Live
Upgrade. The latest Solaris recommended Patch Cluster brings the
system up to the currently-supported release level. Live Upgrade may
fail to work properly if the latest Solaris Recommended Patch Cluster
is not installed on this system.
=========================================================================


Installation of <SUNWluu> was successful.
This system was originally installed with Solaris 7, then LiveUpgraded to Solaris 8. I want to reuse the old Solaris 7 partitions for Solaris 9. To do this, I have to remove the old Solaris 7 information from the system, so the slices are seen as "available" for Solaris 9.
This is done with the ludelete command. This is necessary otherwise LiveUpgrade would think that the Solaris 7 slices were still useful for another BE I want to preserve.
I could check the filesystems with lufslist solaris7.
# lustatus
Boot Environment           Is       Active Active    Can    Copy      
Name                       Complete Now    On Reboot Delete Status    
-------------------------- -------- ------ --------- ------ ----------
solaris7                   yes      no     no        yes    -         
solaris8                   yes      yes    yes       no     -         
# ludelete solaris7
Determining the devices to be marked free.
Updating boot environment configuration database.
Updating boot environment description database on all BEs.
Updating all boot environment configuration databases.
Boot environment <solaris7> deleted.
# lucreate -m /:/dev/dsk/c1t0d0s0:ufs \
    -m -:/dev/dsk/c1t0d0s1:swap -m / var:/dev/dsk/c1t0d0s5:ufs -n solaris9
Discovering physical storage devices
Discovering logical storage devices
Cross referencing storage devices with boot environment configurations
Determining types of file systems supported
Validating file system requests
Preparing logical storage devices
Preparing physical storage devices
Configuring physical storage devices
Configuring logical storage devices
Analyzing system configuration.
Comparing source boot environment <solaris8> file systems with the file 
system(s) you specified for the new boot environment. Determining which 
file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
Searching /dev for possible boot environment filesystem devices
Updating system configuration files.
Creating configuration for boot environment <solaris9>.
Creating boot environment <solaris9>.
Creating file systems on boot environment <solaris9>.
Creating <ufs> file system for </> on </dev/dsk/c1t0d0s0>.
Creating <ufs> file system for </var> on </dev/dsk/c1t0d0s5>.
Mounting file systems for boot environment <solaris9>.
Calculating required sizes of file systems for boot environment <solaris9>.
Populating file systems on boot environment <solaris9>.
Checking selection integrity.
Integrity check OK.
Populating contents of mount point </>.
Populating contents of mount point </var>.
Copying.
Creating shared file system mount points.
Creating compare databases for boot environment <solaris9>.
Creating compare database for file system </var>.
Creating compare database for file system </>.
Updating compare databases on boot environment <solaris9>.
Making boot environment <solaris9> bootable.
Population of boot environment <solaris9> successful.
Creation of boot environment <solaris9> successful.
Okay, that's done the copy. Let's check it. We've still got the Solaris 9 Jumpstart image mounted on /mnt, so I'll create /mnt2 to check the new environment. Note that we must then umount that filesystem before we can continue.
# mkdir /mnt2
# mount /dev/dsk/c1t0d0s0 /mnt2
# cat /mnt2/etc/release
                       Solaris 8 10/01 s28s_u6wos_08a SPARC
           Copyright 2001 Sun Microsystems, Inc.  All Rights Reserved.
                           Assembled 12 September 2001
# umount /mnt2
# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c1t0d0s3    2056211  886720 1107805    45%    /
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
mnttab                     0       0       0     0%    /etc/mnttab
/dev/dsk/c1t0d0s6    1018191    9638  947462     2%    /var
swap                  582688       8  582680     1%    /var/run
swap                  582744      64  582680     1%    /tmp
192.168.1.113:/export/install/media/9_803
                     17413250 5613479 11625639    33%    /mnt
We are now ready to upgrade to Solaris 9.
# luupgrade -u -n solaris9 -s /mnt

Validating the contents of the media </mnt>.
The media is a standard Solaris media.
The media contains an operating system upgrade image.
The media contains <Solaris> version <9>.
Constructing upgrade profile to use.
Locating the operating system upgrade program.
Checking for existence of previously scheduled Live Upgrade requests.
Creating upgrade profile for BE <solaris9>.
Determining packages to install or upgrade for BE <solaris9>.
Performing the operating system upgrade of the BE <solaris9>.
CAUTION: Interrupting this process may leave the boot environment unstable 
or unbootable.
Upgrading Solaris: 100% completed
Installation of the packages from this the media is complete.
Adding operating system patches to the BE <solaris9>.
The operating system patch installation is complete.
INFORMATION: </var/sadm/system/logs/upgrade_log> contains a log of the 
upgrade operation.
INFORMATION: </var/sadm/system/data/upgrade_cleanup> contains a log of 
cleanup operations required.
WARNING: <2> packages failed to install properly on boot environment <solaris9>.
INFORMATION: </var/sadm/system/data/upgrade_failed_pkgadds> on boot 
environment <solaris9> contains a list of packages that failed to upgrade 
or install properly.
INFORMATION: Review the files listed above on boot environment <solaris9>. 
Before you activate the boot environment, determine if any additional 
system maintenance is required or if additional media of the software 
distribution must be installed.
The Solaris upgrade of the boot environment <solaris9> is partially complete.
# mount /dev/dsk/c1t0d0s0 /mnt2
# mount /dev/dsk/c1t0d0s5 /mnt2/var
# more /mnt2/var/sadm/system/data/upgrade_failed_pkgadds
SUNWsndmr
SUNWsndmu
# pkginfo SUNWsndmr
system      SUNWsndmr      Sendmail root
Note the WARNING message here - 2 packages weren't upgraded properly.
I mount the /var filesystem (for completeness, I mount the root filesystem too) and look at the logs. The packages are for Sendmail.
I can't explain this problem. Sendmail was not configured at all in either Solaris 7 or 8; just a default install. Maybe if the 8_Recommended patches had been applied this problem with upgrading Sendmail would not have occured.
On rebooting into Solaris 9, it listed the Sendmail packages as "partially installed" - see below.
Moving on, let's check that the Solaris 9 BE is ready for us (apart from these Sendmail problems).
# lustatus
Boot Environment           Is       Active Active    Can    Copy      
Name                       Complete Now    On Reboot Delete Status    
-------------------------- -------- ------ --------- ------ ----------
solaris8                   yes      yes    yes       no     -         
solaris9                   yes      no     no        yes    -         
I'd mounted the Solaris 9 images to have a look at the logs; these must be unmounted before I can activate the Solaris 9 image.
Might as well unmount the install image, too.
LiveUpgrade reminds me that there were problems with the upgrade.
# umount /mnt
# umount /mnt2/var
# umount /mnt2
# luactivate solaris9
WARNING: <2> packages failed to install properly on boot environment <solaris9>.
INFORMATION: </var/sadm/system/data/upgrade_failed_pkgadds> on boot 
environment <solaris9> contains a list of packages that failed to upgrade 
or install properly. Review the file before you reboot the system to 
determine if any additional system maintenance is required.


**********************************************************************

The target boot environment has been activated. It will be used when you 
reboot. NOTE: You MUST NOT USE the reboot, halt, or uadmin commands. You 
MUST USE either the init or the shutdown command when you reboot. If you 
do not use either init or shutdown, the system will not boot using the 
target BE.

**********************************************************************

In case of a failure while booting to the target BE, the following process 
needs to be followed to fallback to the currently working boot environment:

1. Enter the PROM monitor (ok prompt).

2. Boot the machine to Single User mode using a different boot device 
(like the Solaris Install CD or Network). Examples:

     At the PROM monitor (ok prompt):
     For boot to Solaris CD:  boot cdrom -s
     For boot to network:     boot net -s

3. Mount the Current boot environment root slice to some directory (like 
/mnt). You can use the following command to mount:

     mount -Fufs /dev/dsk/c1t0d0s3 /mnt

4. Run <luactivate> utility with out any arguments from the current boot 
environment root slice, as shown below:

     /mnt/sbin/luactivate

5. luactivate, activates the previous working boot environment and 
indicates the result.

6. Exit Single User mode and reboot the machine.

**********************************************************************

Activation of boot environment <solaris9> successful.
# lustatus
Boot Environment           Is       Active Active    Can    Copy      
Name                       Complete Now    On Reboot Delete Status    
-------------------------- -------- ------ --------- ------ ----------
solaris8                   yes      yes    no        no     -         
solaris9                   yes      no     yes       no     -         
# cd /
# shutdown -i6 -g0 -y

Shutdown started.    Saturday April 24 00:49:49 BST 2004

Changing to init state 6 - please wait
Broadcast Message from root (console) on ultra10 Sat Apr 24 00:49:50...
THE SYSTEM ultra10 IS BEING SHUT DOWN NOW ! ! !
Log off now or risk your files being damaged

# 
INIT: New run level: 6
The system is coming down.  Please wait.
System services are now being stopped.
Print services stopped.
Apr 24 00:49:09 ultra10 last message repeated 1 time
Apr 24 00:50:01 ultra10 syslogd: going down on signal 15
Live Upgrade: Deactivating current boot environment <solaris8>.
Live Upgrade: Executing Stop procedures for boot environment <solaris8>.
Live Upgrade: Current boot environment is <solaris8>.
Live Upgrade: New boot environment will be <solaris9>.
Live Upgrade: Activating boot environment <solaris9>.
Live Upgrade: The boot device for boot environment <solaris9> is 
</dev/dsk/c1t0d0s0>.
Live Upgrade: Activation of boot environment <solaris9> completed.
The system is down.
syncing file systems... done
rebooting...
Resetting ... 


Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 440MHz), No Keyboard
OpenBoot 3.25, 128 MB (60 ns) memory installed, Serial #13630801.
Ethernet address 8:0:20:cf:fd:51, Host ID: 80cffd51.



Initializing Memory
Rebooting with command: boot
Boot device: /pci@1f,0/pci@1/pci@1/SUNW,isptwo@4/sd@0,0:a  File and args: 
SunOS Release 5.9 Version Generic_112233-07 64-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
configuring IPv4 interfaces: hme0.
Hostname: ultra10
Configuring /dev and /devices
Configuring the /dev directory (compatibility devices)
The system is coming up.  Please wait.
Live Upgrade: Synchronizing new boot environment.
Live Upgrade: Previous boot environment was <solaris8>.
Live Upgrade: Current boot environment is now <solaris9>.
Configuring network interface addresses: hme0 hme1
starting rpc services: rpcbind keyserv done.
Setting netmask of hme0 to 255.255.255.0
Setting default IPv4 interface for multicast: add net 224.0/4: gateway ultra10
syslog service starting.
Apr 24 00:54:04 ultra10 sendmail[1077]: My unqualified host name (ultra10) unknown; sleeping for retry
Apr 24 00:55:04 ultra10 sendmail[1077]: unable to qualify my own domain name (ultra10) -- using short name
WARNING: local host name (ultra10) is not qualified; fix $j in config file
/etc/mail/aliases: 3 aliases, longest 10 bytes, 52 bytes total
Apr 24 00:55:04 ultra10 sendmail[1078]: My unqualified host name (ultra10) unknown; sleeping for retry
Apr 24 00:55:04 ultra10 sendmail[1079]: My unqualified host name (ultra10) unknown; sleeping for retry
volume management starting.
Creating new RSA public/private host key pair
Creating new DSA public/private host key pair
The system is ready.

ultra10 console login: root
Password: 
Apr 24 00:55:44 ultra10 login: ROOT LOGIN /dev/console
Last login: Fri Apr 23 22:34:20 on console
Sun Microsystems Inc.   SunOS 5.9       Generic May 2002
# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c1t0d0s0    12500068 1611984 10763084    14%    /
/proc                      0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
fd                         0       0       0     0%    /dev/fd
/dev/dsk/c1t0d0s5    1018191   29947  927153     4%    /var
swap                  326256      24  326232     1%    /var/run
swap                  326280      48  326232     1%    /tmp
# lustatus
Boot Environment           Is       Active Active    Can    Copy      
Name                       Complete Now    On Reboot Delete Status    
-------------------------- -------- ------ --------- ------ ----------
solaris8                   yes      no     no        yes    -         
solaris9                   yes      yes    yes       no     -         
#
There were problems reported with Sendmail; on the boot into Solaris 9, you may have noticed (apart from the "normal" My unqualified host name (ultra10) unknown; sleeping for retry messages, the additional message: WARNING: local host name (ultra10) is not qualified; fix $j in config file.
This is not such a typical message, and may indicate the cause of the Sendmail problem. $j is the canonical domain name definition in sendmail.cf - as the machine had no domain configured, this is probably the cause of this problem. I suspect that if I'd upgraded Solaris 8 with the 8_Recommended patch cluster that this message may not have appeared.
# pkginfo -l SUNWsndmr
   PKGINST:  SUNWsndmr
      NAME:  Sendmail root
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.9.0,REV=2002.04.06.15.27
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  sendmail root
    PSTAMP:  leo20030404085832
  INSTDATE:  Apr 24 2004 00:19
   HOTLINE:  Please contact your local service provider
    STATUS:  partially installed
     FILES:       27 installed pathnames
                   1 partially installed pathnames
                  10 shared pathnames
                   4 linked files
                  13 directories
                   1 executables
                 327 blocks used (approx)

# pkginfo -l SUNWsndmu
   PKGINST:  SUNWsndmu
      NAME:  Sendmail user
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.9.0,REV=2002.04.06.15.27
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  sendmail user
    PSTAMP:  leo20030404085837
  INSTDATE:  Apr 24 2004 00:19
   HOTLINE:  Please contact your local service provider
    STATUS:  partially installed
     FILES:      105 installed pathnames
                   1 partially installed pathnames
                   8 shared pathnames
                  16 directories
                  14 executables
                   2 setuid/setgid executables
                5572 blocks used (approx)
These packages are shown as partially installed, but otherwise, a succesful upgrade from Solaris 8 to Solaris 9.

The End

Articles - Live Upgrade
Share on Twitter Share on Facebook Share on LinkedIn Share on Identi.ca Share on StumbleUpon