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
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".
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?
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
---------- 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
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 pciecie_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
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)
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)
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)
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)
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)
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)