Remove Server Sleep Mode


 
Thread Tools Search this Thread
Operating Systems Solaris Remove Server Sleep Mode
# 8  
Old 04-06-2005
What are you seeing in your messages file (/var/adm/messages). Do you have a dump file in your carsh directory (check location using dumpadm).

Keith
# 9  
Old 04-06-2005
RE:Remove Server Sleep Mode

i am at home now ... so cannot check. By the way, i have created a script in a text pad. Afterthat, what should i do in order to make solaris reg it as a executable script?

Thanks again
Alvin
# 10  
Old 04-06-2005
You can make the file you created executable; for example, if the filename you created was named somescript, you'd:

$ chmod 500 somescript

Or you could just run it via shell:

$ sh somescript

Cheers,

Keith
# 11  
Old 04-06-2005
RE:Remove Server Sleep Mode

Hi Keith,

Thanks for the prompt reply. So meaning, i use a text pad to create a script. When i save it to a filename such as 'dbora' in /etc/init.d i need to make it executable? Otherwise it won't work? Actually this is a oracle file where by it trigger a dbstart script within the $ORACLE_HOME/bin directory. But of course i have symbolic link to /etc/rc0.d and /etc/rc3.d directory.

BTW ... was thinking of it now. I don think the server crash bcoz i use it the whole day in the office. The only thing is that the server will go into ok prompt the next day i go back to office. I believe it is in certain mode. Not sure sleep mode is good to describe it bcoz the fan is on while i am at the ok prompt. So also don know what happen to the server. The only way is to restart the server.
# 12  
Old 04-06-2005
do the commands below and correlate the times the server goes down wih what you find in the logs ... also, you might want to keep 1 user logged in throughout the night so you can pinpoint closer to the time when the server went down by the time it logs off the user ...

1. last | grep reboot
2. grep -i err /var/adm/messages
3. grep -i warn /var/adm/messages
4. grep -i notice /var/adm/messages
# 13  
Old 04-06-2005
RE:Remove Server Sleep Mode

Hi All,

Thanks for the advice and really appreciate. Actually this is what i need to do everyday. The server did not crashed nor in sleep mode. Now the qns is how do i avoid this.

Everyday when i come to office, i realise that this is what i need to do
- connect to the server via LOM port using windows hyper terminal (cause cannot telnet)
- ok prompt appear
- use #. escape sequence to get the LOM prompt
- enter this command LOM>console
- Ok prompt again then type Ok go
- then the console login apprear
- then everything back to normal, can telnet can ping

So the qns, how do i avoid that ? thks in advance

Alvin
# 14  
Old 04-06-2005
you cannot telnet or ping the server because it is in suspend mode ... typing go at the ok prompt causes the server to unsuspend ...

your server is at the OK prompt because something put it there ... you need to find out what that something is ... there is no script that would fix your issue without knowing what is causing the problem ... you have to investigate this ... people here have been giving you hints on how to do it but it's really up to you to follow through ...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

1000 sleep commands on a Linux Server impact?

Hi All, I have a shell script, at one point it try to ping a server in our organization network, if ping fail it will wait for an hour using sleep command and try to run the script again from the beginning. I'm wondering what could be the possible impact on my Linux server if 1000 sleep... (5 Replies)
Discussion started by: SaddamAB
5 Replies

2. Solaris

Do Linux "Sleep Mode" Problems Happen on UNIX?

I am an experienced MS Windows user who has tried four different flavors of Linux: Mandriva, Centos, Debian, and Ubantu---each on a different PC. (I always used a dual-boot configuration with Grub and Win XP or Win 7). Each time, I encountered the following two problems: While resuming from... (2 Replies)
Discussion started by: mjdz
2 Replies

3. Shell Programming and Scripting

Preventing the sleep mode in Solaris

Hi , I am working on a Solaris server which goes to sleep mode if idle for more than 30 min. I have a remote access so that I can access the server from my home too. By the time I go back to my room, it is going to sleep mode so I could see nothing but a black screen. Is there any option to... (3 Replies)
Discussion started by: prabhag
3 Replies

4. AIX

Transferring files from one AIX server to another AIX server in binary mode

Hi, I am a newbie to AIX. We have 2 AIX5.3 servers in our environment, I need to transfer some files in Binary mode from one server to another and some files in ASCII mode from one server to another server. Could you please help me as to how I need to do that? Thanks, Rakesh (4 Replies)
Discussion started by: rakeshc.apps
4 Replies

5. Shell Programming and Scripting

Wrapping 'sleep' with my 'resleep' function (Resettable sleep)

This is a very crude attempt in Bash at something that I needed but didn't seem to find in the 'sleep' command. However, I would like to be able to do it without the need for the temp file. Please go easy on me if this is already possible in some other way: How many times have you used the... (5 Replies)
Discussion started by: deckard
5 Replies

6. UNIX for Advanced & Expert Users

my process is going to sleep mode after 12 hours but i need my process in in firsy pr

hi all I process is sleeping after 12 hours but i need to be run this to 24 hours but it goes in sleep mode after 12 hours what should i do to make process always running.Kindly give me suggestion. (0 Replies)
Discussion started by: mukesh_rakesh1
0 Replies

7. BSD

OpenOffice in server mode

Hello, The issue of this job is to build a Lodel+servoo server (this is a CMS cf. http://www.servoo.net/document.php?id=20 and http://www.lodel.org/document136.html). But I had a problem to install the ports open-office1.x. when I launch the make install it tell me to type a make... (0 Replies)
Discussion started by: SoulCoder
0 Replies

8. Programming

multi-threaded server, pthreads, sleep

I am trying to writa a multi-client & multi-threaded TCP server. There is a thread pool. Each thread in the pool will handle requests of multiple clients. But here I have a problem. I find a solution but it is not how it must be... i think. When threads working without sleep(1) I can't... (0 Replies)
Discussion started by: Parahat Melayev
0 Replies

9. Programming

can client connect() when server in sleep(300); after listen(fd,5);

0 .with regards to you 1 .Thank you for reading letter 2 .a Server call sleep(20) after listern(fd,5) . When the Server is in asleep,a Client connect() to it successful and send a lot of appointed data . 3 .Why ? I think that the server is in sleep (beasue I call sleep()) , it donot block at... (3 Replies)
Discussion started by: chenhao_no1
3 Replies
Login or Register to Ask a Question