Remove Server Sleep Mode


 
Thread Tools Search this Thread
Operating Systems Solaris Remove Server Sleep Mode
# 1  
Old 04-05-2005
Remove Server Sleep Mode

Hi All,

Need some help here. Can anyone tell me how to set or which start up script to edit in order not to set the server to sleep mode after a while of inactivity. My Unix server will go to sleep mode and then i always end up with a OK Prompt and have to reset the server. My Server is a V120 running Solaris 9

Thanks
Alvin
# 2  
Old 04-05-2005
take a look into your /etc/power.conf
use: man power.conf

greetings pressy
# 3  
Old 04-05-2005
RE:Remove Server Sleep Mode

Hi Press,

Thanks a lot .... Smilie
# 4  
Old 04-05-2005
If the system is a server, I'd go ahead and disable /etc/rc*/*power init daemon entries as well and then stop the daemon. Keep in mind that patching the system will sometimes re-add the disabled rc scripts and /etc/power.conf.

Cheers,

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

Hi,

Can u enlighten me how to do it ?
# 6  
Old 04-06-2005
To start off, create an empty root owned file in / called noautoshutdown:

# touch /noautoshutdown; chmod 400 /noautoshutdown

Just a point of curiosity; what does your /etc/power.conf file look like?

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

Hi,

Actually my problem is that the v120 Server that i have is very strange. In fact i have two v120 server. The other is ok. But this particularly is very strange. When i use it during office hour. Is ok. But if i left it overnight. The next day it will be at OK prompt when i connect to it via the LOM port. I have to because i cannot telnet in nor i can ping. Does this cause by the power safe mode or the OS crash ?

Thanks
Alvin
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