Can't open boot_archive error message


 
Thread Tools Search this Thread
Operating Systems Solaris Can't open boot_archive error message
# 1  
Old 05-15-2011
Can't open boot_archive error message

Hello guys,

Thanks for all your precious tips.
I hope you can give me some advice again.

This time I am having an issue with a SUN FIRE V240 (SOLARIS 10).

The server doesn't boot, normally , first we had a file system error

Code:
====================+FIRST ERROR MESSAGES+===================================================

Unable to repair the / filesystem. Run fsck manually
(fsck -F ufs /dev/md/rdsk/d400).

====================================================================================

1) i tried to repair manually the disc with "fsck -F ufs /dev/md/rdsk/d400" , but I wasn't able to run fsck
2) I decided to boot the server with the solaris dvd
"boot cdrom -s" to try to repair the mirror "fsck -F ufs /dev/rdsk/c0t0d0s0" but I couldn't.
3) So I have decided to restore the root from the most recent backup tape that I have

4)I have mounted the root and all the other partitions from /a/etc/vfstab & /a/etc/system"
5) I have tried to update the boot archive but it didn't work and I had this error message "not a boot archive based Solaris instance"

6) I have rebooted the server and since then, this two errors appear everytime i do a reboot "Can't open boot_archive" and "The file just loaded does not appear to be executable".

Code:
=================the error that I see everytime the server boot===============================================

"Can't open boot_archive" et "The file just loaded does not appear to be executable"

I would appreciate any help

Last edited by feg; 05-15-2011 at 02:33 PM..
# 2  
Old 05-15-2011
Did you create UFS structure for "/" with newfs before restoring from backup? Did you run installboot after restoring from backup? What command did you use to update the archive? What does metastat d400 say?
# 3  
Old 05-15-2011
here is the procedure that I followed to restore the File system. Unfortunately the admin system didn't do the backup for /opt so I only restored root, var and usr Smilie

Code:
Step 1: Boot the server on OBP
Start the OS with solaris dvd 
ok>boot cdrom -s


STEP 2: Create structure for root, var and usr
# newfs /dev/rdsk/c0t0d0s0
# newfs /dev/rdsk/c0t0d0s5
# newfs /dev/rdsk/c0t0d0s4

Mount the root partition to restore it
# mount /dev/dsk/c0t0d0s0 /a

Step 3: Insert the backup tape to restore the root

# cd /a
# ufsrestore rvf /dev/rmt/0
# rm restoresymtable



Step 4: Mount also the partition /usr et /var:

# mount /dev/dsk/c0t0d0s5 /a/usr
# mount /dev/dsk/c0t0d0s4 /a/var

Step 5: Restore /var and /usr
# cd /a/var
# ufsrestore rvf /dev/rmt/0 /var
# rm restoresymtable

 
# cd /a/usr
# ufsrestore rvf /dev/rmt/0 /usr
# rm restoresymtable
Inserer le tape de backup de la partition /var
# cd /a/var
# ufsrestore rvf /dev/rmt/0
# rm restoresymtable


Verify /etc/vfstab 

STEP 6: Umount all filesystems
# cd /
# umount /a/usr
# umount /a/var
# umount /a

# cd /usr/platform/`uname -i`/lib/fs/ufs
# installboot bootblk /dev/rdsk/c0t0d0s0

---------- Post updated at 01:12 PM ---------- Previous update was at 01:10 PM ----------

I didn't type the metastat but I guess it won't work, i will try it
# 4  
Old 05-15-2011
You should also run fsck after restore is complete. Post the contents of /a/etc/vfstab and /a/etc/system. Also post the output of metastat d400
# 5  
Old 05-23-2011
I tried different method to resolve this important issue but i still can't solve that booting problem


Quote:

more /a/etc/systems
/a/etc/systems: No such file or directory
# more /a/etc/system
*ident "@(#)system 1.18 97/06/27 SMI" /* SVR4 1.5 */
*
* SYSTEM SPECIFICATION FILE
*

* moddir:
*
* Set the search path for modules. This has a format similar to the
* csh path variable. If the module isn't found in the first directory
* it tries the second and so on. The default is /kernel /usr/kernel
*
* Example:
* moddir: /kernel /usr/kernel /other/modules



* root device and root filesystem configuration:
*
* The following may be used to override the defaults provided by
* the boot program:
*
* rootfs: Set the filesystem type of the root.
.
Quote:
# mount /dev/dsk/c0t0d0s0 /a
# more /a/etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t0d0s1 - - swap - no -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no nologging
/dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /usr ufs 1 no nologging
/dev/dsk/c0t0d0s4 /dev/rdsk/c0t0d0s4 /var ufs 1 no nologging
/dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /opt ufs 2 yes nologging
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -
# BEGIN MMSSYSCONF
vip-fs-LER:/export/ler/tn-06 - /var/log/ler nfs - yes rw,xattr,bg,timeo=150
vip-fs-OAM:/export/oam/tn-06 - /opt/mms/stab/sadm/perf nfs - yes rw,xattr,bg,timeo=150

I am not able to do metastat d400, i can only boot the server with the cdrom because the server can't boot even the boot -f failsafe doesn't work.


here is what i did
Quote:
1°)I have booted the system with a solaris dvd (boot cdrom -s ), I ran fsck on all the partition (root, usr, var, opt)


2°)I tried to install boot archive

# cd /usr/platform/`uname -i`/lib/fs/ufs
# installboot bootblk /dev/rdsk/c0t0d0s0


3°)update bootarchive

#bootadm update-archive

i also tried the method bellow but it didn't work

Quote:
1b} ok printenv boot-device
boot-device = disk net
{1b} ok devalias
ttya /pci@7c0/pci@0/pci@1/pci@0/isa@2/serial@0,3f8
nvram /virtual-devices/nvram@3
net3 /pci@7c0/pci@0/pci@2/network@0,1
net2 /pci@7c0/pci@0/pci@2/network@0
net1 /pci@780/pci@0/pci@1/network@0,1
net0 /pci@780/pci@0/pci@1/network@0
net /pci@780/pci@0/pci@1/network@0
ide /pci@7c0/pci@0/pci@1/pci@0/ide@8
cdrom /pci@7c0/pci@0/pci@1/pci@0/ide@8/cdrom@0,0:f
disk3 /pci@780/pci@0/pci@9/scsi@0/disk@3
disk2 /pci@780/pci@0/pci@9/scsi@0/disk@2
disk1 /pci@780/pci@0/pci@9/scsi@0/disk@1
disk0 /pci@780/pci@0/pci@9/scsi@0/disk@0
disk /pci@780/pci@0/pci@9/scsi@0/disk@0
scsi /pci@780/pci@0/pci@9/scsi@0
virtual-console /virtual-devices/console@1
name aliases
{1b} ok show disk
ERROR: Last Trap: Data Access Exception

{1b} ok printev boot-device
ERROR: Last Trap: Data Access Exception

{1b} ok printenv boot-device
boot-device = disk net
{1b} ok nvalias bootdisk /pci@780/pci@0/pci@9/scsi@0/disk@0
{1b} ok nvstore
{1b} ok setenv boot-device bootdisk
boot-device = bootdisk
{1b} ok reset-all
SC Alert: Host System has Reset


SC Alert: Host system has shut down.
/

Sun Fire T200, No Keyboard
Copyright 2006 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.25.0, 32760 MB memory available, Serial #78281824.
Ethernet address 0:14:4f:aa:7c:60, Host ID: 84aa7c60.



Boot device: bootdisk File and args:

Can't open boot_archive

Evaluating:
The file just loaded does not appear to be executable.
{0} ok



here are the old vfstab config that i have said on my pc

Quote:
# cat /etc/vfstab

#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/md/dsk/d401 - - swap - no -
/dev/md/dsk/d400 /dev/md/rdsk/d400 / ufs 1 no nologging
/dev/md/dsk/d405 /dev/md/rdsk/d405 /usr ufs 1 no nologging
/dev/md/dsk/d404 /dev/md/rdsk/d404 /var ufs 1 no nologging
/dev/md/dsk/d407 /dev/md/rdsk/d407 /opt ufs 2 yes nologging
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
swap - /tmp tmpfs - yes -

the old etc/systems that i have said on my pc

Quote:
* set:
*
* Set an integer variable in the kernel or a module to a new value.
* This facility should be used with caution. See system(4).
*
* Examples:
*
* To set variables in 'unix':
*
* set nautopush=32
* set maxusers=40
*
* To set a variable named 'debug' in the module named 'test_module'
*
* set test_module:debug = 0x13

* BEGIN MMSSYSCONF
set max_nprocs=1500
set maxuprc=500

set maxusers=2048


* TCP performance
set rlim_fd_max=65536
set rlim_fd_cur=2048
set ip:ipcl_conn_hash_size=4096
* end of TCP performance

set sq_max_size=0
set ncsize=34906
set ufs_ninode=600000
set autoup=240

set noexec_user_stack=1

* Node hardening - NFS
set nfssrv:nfs_portmon=1
* enf of Node hardening
* NFS client performance enhancement
set rpcmod:clnt_max_conns=1
set nfs:nfs_max_threads=32
set nfs:nfs3_max_threads=32
* enf of NFS client performance enhancement
set nfs:nfs3_bsize=131072
set nfs:nfs3_max_transfer_size=131072
* The following lines are added to enhanced failover time on 3510 storage array
* DO NOT REMOVE
set ssd:ssd_io_time=30
set ssd:ssd_max_throttle=8
set fp:fp_offline_ticker=5
set fp:fp_retry_count=1
* end of failover enhancement modification
* The following line is required for T2000 stability
* DO NOT REMOVE
set segkmem_lpsize=0x400000
set pcieSmiliecie_aer_ce_mask=0x1
set ip:dohwcksum=0
* end of T2000 stability fixes
set nxge:nxge_rx_threshold_hi=0
* END MMSSYSCONF
* Begin MDD root info (do not edit)
rootdev:/pseudo/md@0:0,400,blk

Last edited by feg; 05-23-2011 at 12:38 PM..
# 6  
Old 05-24-2011
firstly you should detach you SVM mirror, and then do fsck, instalboot and update bootarchive on both submirrors.
# 7  
Old 05-24-2011
do you have a procedure for that?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

When trying to open file Message:-Terminal too wide?

Hi, I am trying to open small size file only in vi editor on solaris or Linux machine but it giving message "Terminal too wide" and then I have to come out. As shown below:- -rwxr-x--- 1 rkycadm rkycprd 2445 Sep 12 04:06 $ vi file.txt Terminal too wide :q! ----------... (2 Replies)
Discussion started by: RahulJoshi
2 Replies

2. UNIX for Dummies Questions & Answers

error message when use fork with open file

I get this message when I write myshell.c program "VM pagefault:SIGSEGV bad add 0x0 err 0x4 nopage read myshell PM: ciredump signal 11 for 1725 /myshell memory fault (core dumped)" /* RCS information: $Id: myshell.c,v 1.2 2006/04/05 22:46:33 elm Exp $ */ #include <stdio.h> #include <unistd.h>... (1 Reply)
Discussion started by: rosecomp
1 Replies

3. Shell Programming and Scripting

PCC-F-NOERRFILE, unable to open error message file

Hi, I was compiling few C programs in the unix server and getting the following error message rm: /home/a0xxx28/AVT/SEEDLIBRARYDB/LIB/*.a non-existent proc MODE=ANSI CODE=ANSI_C INCLUDE=/home/a0xxx28/PVT/SEEDLIBRARYDB/INCLUDE INCLUDE=/home/a0xxx28/PVT/SEEDLIBRARY/INCLUDE ... (1 Reply)
Discussion started by: kavithakuttyk
1 Replies

4. UNIX for Dummies Questions & Answers

Error message: What does it mean?

I get this error message in my maillog. Can someone tell me what it means? SYSERR(root): collect: I/O error on connection from mail-05.goomba.com I guess it means that the server could not connect to mail-06.goomba.com. Is my interpretation correct? Any idea why it happens? (1 Reply)
Discussion started by: mojoman
1 Replies

5. Solaris

Error Message: find: cannot open /: Stale NFS file handle

I am using the "find" command below and it respond with the error message " find: cannot open /: Stale NFS file handle" what does it mean? what can I do about it? Need advice, thanks. below are the command that I enter, the respond and the error message: root@ScripServer:/# find / -name... (1 Reply)
Discussion started by: ezsurf
1 Replies

6. UNIX for Dummies Questions & Answers

Open a file in VI and I get the message below:

@ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ (6 Replies)
Discussion started by: bobo
6 Replies

7. UNIX for Dummies Questions & Answers

getting last error message

Question for unix programmers - what function I need to used to get the exact error message when the library failed to load? Thanks (1 Reply)
Discussion started by: tttttt
1 Replies

8. UNIX for Advanced & Expert Users

PCC-F-NOERRFILE, unable to open error message file, facility PR2

I am trying to build a tuxedo server which in turn depends on several Pro*C programs. I am doing it on HP-UX system. It looks to me that the ORACLE_HOME is set properly. But I am getting error message when trying to build. PCC-F-NOERRFILE, unable to open error message file, facility PR2 exit... (1 Reply)
Discussion started by: asutoshch
1 Replies

9. UNIX for Advanced & Expert Users

Error message

I'm getting an error - symbol referencing errors. No output written to, etc Can anybody tell me why this is? (2 Replies)
Discussion started by: Dan Rooney
2 Replies
Login or Register to Ask a Question