Sponsored Content
Operating Systems Solaris System stuck up in maintanence mode Post 302501476 by manojsomanath on Thursday 3rd of March 2011 04:07:48 PM
Old 03-03-2011
System stuck up in maintanence mode

Hi All,

I got a big problem here.
While setting up a sun cluster, I accidentally tried out "bootadm update-archive" as I was unable to bring the cluster up.
After which, i tried a reconfiguration reboot.

Now The system is always booting into maintanence mode with error message
Code:
"svc:/system/boot-archive:default: Method or service exit timed out.
Killing contract 31.
svc:system/boot-archive:default: Method "/lib/svc/methodboot-archive" failed due to signal KILL.
svc startd[7]: system/boot-archive:default failed: transitioned to maintenance."

Steps I have tried out:
1) Tried to rebuild boot-archive thru 'failsafe'
2) Tried svcadm clear system/boot-archive

svcs -x boot-archive shows the service is in maintanence mode with 75 dependant services not running.


Nothing worked outSmilie

Being a newbie, ur help at this point will be really appreciated.

Thanx in advance,
Manu

Last edited by DukeNuke2; 03-03-2011 at 05:14 PM..
 

9 More Discussions You Might Find Interesting

1. Solaris

system get stuck on stand by mode

Hi Im using a Sun blade 1500 with solaris 8 and when the monitor goes to stand by mode, the machine doesnt return to the normal mode anymore. Then i have to reboot it always. Does anybody have a clue how can i solve it or turn off the stand by mode? Thanks (2 Replies)
Discussion started by: dougpss
2 Replies

2. Solaris

system won't start to GUI it stuck

Hi. I got this message in our sun station and it stuck Setting default IPv4 interface for multicast: add net 224.0/4: gateway pecsun22 but i can still telenet the station... who could i fix this.. appreciate your help (7 Replies)
Discussion started by: eykyn17
7 Replies

3. HP-UX

how to distinguish standard system mode or trust system mode

I think that if the directory /tcb exists, HP-UX is in trusted mode and the passwd data is somewhere in /tcb/files/auth. But that's all I remember. Also I think recent versions of HP-UX can have a /etc/shadow file. (0 Replies)
Discussion started by: Perderabo
0 Replies

4. UNIX for Dummies Questions & Answers

How to get out of "stuck" mode

Hi. I am relatively new to working with Unix OS. In the past few years I worked with windows but programmed on Linux through SSH. I have been working on a computer with Unix OS for the past few months, and I have a reoccurring problem. One of my processes gets stuck, and the computer freezes.... (5 Replies)
Discussion started by: mrguy123
5 Replies

5. SCO

file system not getting mounted in read write mode after system power failure

After System power get failed File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies

6. BSD

single user mode under system v

Hello! I am new to the forum and I need help on restoring root user's password or access the form of single user mode under operating system very long-standing family bsd - Unix system V I think it's also called srv4. I managed to enter the owner of IPL, and a moment after the rise of system... (2 Replies)
Discussion started by: hmalool
2 Replies

7. Solaris

System booting to maintenance mode

Hi Guys, I have a sunblade 1500. I booted the system and it booted to maintenance mode. How can I fix this? Thanks lots (8 Replies)
Discussion started by: cjashu
8 Replies

8. UNIX for Dummies Questions & Answers

Web server maintanence

Hi, can anyone help me with what maintenance is required for a web server? I can only think of patches. (This is separate to monitoring the web server.) :b: (0 Replies)
Discussion started by: greatmaple
0 Replies

9. Solaris

System is stuck at the OK prompt

Here is a little background. We have a V240 server that has two disks mirrored (out of 4 disks) and one of the disk complained when booting up. The system complained with /etc/inittab file is truncated or corrupted, cannot create /ar/adm/utmpx failed write of utmpx entry. Someone tried to fix... (4 Replies)
Discussion started by: bluridge
4 Replies
ELF_RAND(3)						   BSD Library Functions Manual 					       ELF_RAND(3)

NAME
elf_rand -- provide sequential access to the next archive member LIBRARY
ELF Access Library (libelf, -lelf) SYNOPSIS
#include <libelf.h> off_t elf_rand(Elf *archive, off_t offset); DESCRIPTION
The elf_rand() function causes the ELF descriptor archive to be adjusted so that the next call to elf_begin(3) will provide access to the ar- chive member at byte offset offset in the archive. Argument offset is the byte offset from the start of the archive to the beginning of the archive header for the desired member. Archive member offsets may be retrieved using the elf_getarsym(3) function. RETURN VALUES
Function elf_rand() returns offset if successful or zero in case of an error. EXAMPLES
To process all the members of an archive use: off_t off; Elf *archive, *e; ... cmd = ELF_C_READ; archive = elf_begin(fd, cmd, NULL); while ((e = elf_begin(fd, cmd, archive)) != (Elf *) 0) { ... process `e' here ... elf_end(e); off = ...new value...; if (elf_rand(archive, off) != off) { ... process error ... } } elf_end(archive); To rewind an archive, use: Elf *archive; ... if (elf_rand(archive, SARMAG) != SARMAG) { ... error ... } ERRORS
Function elf_rand() may fail with the following errors: [ELF_E_ARGUMENT] Argument archive was null. [ELF_E_ARGUMENT] Argument archive was not a descriptor for an ar(1) archive. [ELF_E_ARCHIVE] Argument offset did not correspond to the start of an archive member header. SEE ALSO
ar(1), elf(3), elf_begin(3), elf_end(3), elf_getarsym(3), elf_next(3), gelf(3) BSD
June 17, 2006 BSD
All times are GMT -4. The time now is 08:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy