Single maintence mode cannot run any command on M4000


 
Thread Tools Search this Thread
Operating Systems Solaris Single maintence mode cannot run any command on M4000
# 1  
Old 08-13-2011
Single maintence mode cannot run any command on M4000

Hii All


I was building two M4000 servers and one was successfully installed.
Other one /usr has been unmounted. my putty session got disconnected and i connected to console where it asked for root single maintence

#
# init 0
not foung
# df -h
not found
#
xscf>poweroff -a
xscf> poweron -a
not powered on domain is already powered on
xscf> showlogs power


is there a way to do or load OS i tried to poweroff from panel....
Any answers or discussion appriciated ......

thanks
seems

---------- Post updated at 09:03 AM ---------- Previous update was at 08:58 AM ----------

since /usr is unmounted i cannot run any commands ...
# 2  
Old 08-13-2011
What is the state now? Is the server back into single user after pweroff and on?
# 3  
Old 08-13-2011
its in single user but i cannot run any commands

---------- Post updated at 09:33 AM ---------- Previous update was at 09:26 AM ----------

i would like to go to ok prompt ...
so that from ok prompt i can boot using cdrom and re-intsall from scratch
its just prompting me to root single user maintence console login:
so i enter my root password and thats it .....

what i want is get ok prompt .....

---------- Post updated at 09:35 AM ---------- Previous update was at 09:33 AM ----------

thanks dude2cool for quick reply on saturday morning .......
appreciate for discussion ..............
# 4  
Old 08-13-2011
From XSCF prompt,

paste output from :

showdomainstatus -d 00

You can send break to the domain from XSCF which should drop you to ok

sendbreak -y -d 00
# 5  
Old 08-13-2011
sure i will and any updates will post ....
since i do not have remote access to xscf i will keep posting on my result when i connect to physical server serial port.....
# 6  
Old 08-13-2011
Ok.

if the domain ignores the break signal from XSCF, please paste output from:

Code:
showdomainmode -d 00


Last edited by dude2cool; 08-13-2011 at 11:14 AM.. Reason: edit
# 7  
Old 08-15-2011
Hello Dude2cool

---------- Post updated at 11:54 AM ---------- Previous update was at 11:51 AM ----------

here is my work

root single user maintence mode ca
#init o
not found
xscf> poweroff -a
xscf> sendbreak -d 0
xscf> showdomainstatus -d 0
00 powering down (waiting for OS shutdown)

this is because i gave a break signal.
then i forcefully tried to poweroff machine since on single usermode you cannot power down server.
unless -f option to do it forcefully
XSCF> poweroff -d 00
xscf>
xscf> console -d -o
now i got what i wanted
Ok prompt

ok boot cdrom -s
boot from cdrom in single user mode
# mount /dev/dsk/c0t0d0 /a
# cd /a/etc
checked for any errors or removed

# init 6

My server is up as before.

It hardly took me 15 - 30 minutes ....
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to run simple single command on multiple Linux servers?

Hi All, How can i run a single command on multiple servers with or without giving credentials. I have a file(servers.txt) which has got list of servers and i want to run a command lsb_release -dr on all these servers and get output of those servers against each server. I tried below code... (9 Replies)
Discussion started by: darling
9 Replies

2. Solaris

Can I run repair on lot of blocks with single command ?

Hi, I have Solaris-10 OS on T5220. Both local disks were mirrored under SVM. Somehow when one disk gone bad (c0t1d0), other disk (c0t0d0) also got lot of bad block. We have readable data only on c0t0d0, but as soon as server comes after, it hangs when I run few commands because of read errors,... (1 Reply)
Discussion started by: solaris_1977
1 Replies

3. Shell Programming and Scripting

Su and run single line command

myenv.sh script sets LOG_DIR variable. I can run the script and echo the variable in a single line as: # First set LOG_DIR to some dummy 'NONE' value $ export LOG_DIR="NONE" $ echo ${LOG_DIR} NONE $ cat /tmp/bin/myenv.sh export LOG_DIR="/tmp/log" #The below command doesn't show the... (2 Replies)
Discussion started by: ysrini
2 Replies

4. Solaris

M4000 Mode Switch

Hello, I'm set to go out to our M4000 to reset the XSCF password, since the person who set it up doesn't remember what password they setup. I have all the steps, but the only question I can't find an answer to is around the mode switch. Right now, based on prtdiag, the mode switch is in... (2 Replies)
Discussion started by: QuickNull
2 Replies

5. Linux

passwd command not working in single user mode

dear all in single user mode i want to change password in RHEL server 6.0 (Santiago) i tired using passwd command it is not able to change. how to change it. thanks in advance (2 Replies)
Discussion started by: nikhil kasar
2 Replies

6. UNIX for Dummies Questions & Answers

How to run multiple command in a single line?

Normally i would do this- cd abc ls -ltr I wish to run above command in a single line, like this- cd abc | ls -ltr But above command doesn't works, it simply runs the second command, ignoring the 1st one. :confused: (4 Replies)
Discussion started by: boy18nj
4 Replies

7. UNIX for Advanced & Expert Users

What is the difference between single line mode and multiline mode in Regular expressions?

Hi All, Can please let me know what is the difference between the single line mode and multi line mode in regular expresions? Thanks, Chidhambaram B (3 Replies)
Discussion started by: chidhu.anu
3 Replies

8. UNIX for Dummies Questions & Answers

How to run multiple command in single command?

Dear Unix Guru, I have several directories as below /home/user/ dir1 dir2 dir3 Each directory has different size. I want to print each directory size (Solaris command du -hs .) Can you please guide me how to achieve this? Thanks Bala (2 Replies)
Discussion started by: baluchen
2 Replies

9. UNIX for Dummies Questions & Answers

run command Unix on a single line

Hi everybody.. I need to enter in bash mode and then run a command and this just in a single command line. I tried : "bash ^M| somecommand" but nothing.. How do I do to simulate the return button just right after the bash command ? Thanks.. (8 Replies)
Discussion started by: Riddick61
8 Replies

10. UNIX for Advanced & Expert Users

single user mode

How to diable the single user mode.. what i want is dat my users are unable to boot in single user mode via GRUB.. (1 Reply)
Discussion started by: ankit.jss
1 Replies
Login or Register to Ask a Question