How to update the boot_archive when system is failing to boot with: The file just loaded does not appear to be executable - or - WARNING: The following files in / differ from the boot archive (Doc ID 1431744.1)

Last updated on APRIL 20, 2017

Applies to:

Solaris Operating System - Version 10 10/08 U6 and later
Information in this document applies to any platform.

Symptoms

If a Solaris system fails to boot with messages similar to the following are encountered, the system will need to be booted from alternate Oracle Solaris media ( e.g. the failsafe archive, cd / dvd media, or an install image over the network) in order to update the boot_archive:

ok boot
Boot device: disk:a  File and args:
Warning: Fcode sequence resulted in a net stack depth change of 1

The file just loaded does not appear to be executable.
ok

or

ok boot
Boot device: disk:a  File and args:
ERROR: /packages/ufs-file-system: Last Trap: Division by Zero

The file just loaded does not appear to be executable.
ok

or

WARNING: The following files in / differ from the boot archive:

   changed /kernel/drv/md.conf

The recommended action is to reboot to the failsafe archive to correct
the above inconsistency. To accomplish this, on a GRUB-based platform,
reboot and select the "Solaris failsafe" option from the boot menu.
On an OBP-based platform, reboot then type "boot -F failsafe". Then
follow the prompts to update the boot archive. Alternately, to continue
booting at your own risk, you may clear the service by running:
"svcadm clear system/boot-archive"

Mar 28 13:42:53 svc.startd[7]: svc:/system/boot-archive:default: Method "/lib/svc/method/boot-archive" failed with exit status 95.
Mar 28 13:42:53 svc.startd[7]: system/boot-archive:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run

 

Note:  The "files that differ" in the above message may be different than the above example, and may be any file contained within the boot_archive.

or

after system has been patched, boot messages such as:

Dec 01 10:06:39 UTC 2012 Boot device: /pci@0,600000/pci@0/pci@8/pci@0/scsi@1/disk@0,0:a File and args: -s
Dec 01 10:06:46 UTC 2012 SunOS Release 5.10 Version Generic_144488-14 64-bit
Dec 01 10:06:46 UTC 2012 Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Dec 01 10:07:08 UTC 2012 /kernel/fs/sparcv9/mntfs: undefined symbol 'zone_hold_ref'
Dec 01 10:07:08 UTC 2012 /kernel/fs/sparcv9/mntfs: undefined symbol 'zone_init_ref'
Dec 01 10:07:08 UTC 2012 /kernel/fs/sparcv9/mntfs: undefined symbol 'zone_rele_ref'
Dec 01 10:07:08 UTC 2012 WARNING: mod_load: cannot load module 'mntfs'
Dec 01 10:07:08 UTC 2012 WARNING: Cannot mount /etc/mnttab
Dec 01 10:07:08 UTC 2012 /kernel/drv/sparcv9/ip: undefined symbol 'ucredminsize'
Dec 01 10:07:08 UTC 2012 WARNING: mod_load: cannot load module 'ip'
Dec 01 10:07:08 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_disconnect'
Dec 01 10:07:08 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getsockname'
Dec 01 10:07:08 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'nd_free'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'nd_load'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'UDP_WR'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_create'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_close'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_listen'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'udp_output'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_recvd'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'mi_mpprintf'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_alloc_hdr'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_get_opt'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'tcp_wput'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'mi_sprintf'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_bind'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_getpeername'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_sendmsg'
Dec 01 10:07:09 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_set_opt'
Dec 01 10:07:10 UTC 2012 /kernel/fs/sparcv9/sockfs: undefined symbol 'sctp_connect'
Dec 01 10:07:10 UTC 2012 WARNING: mod_load: cannot load module 'sockfs'

 

Changes

The boot_archive can become out of sync with the files on the file system if the files have changed, but the boot_archive was not updated. 
Normally the boot_archive is updated during a system reboot.  
If for some reason the boot_archive is not updated, the system may fail to boot and the boot_archive will need to be manually updated while booted from alternate media.



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms