LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-01-2012, 02:01 PM   #1
r0sko
LQ Newbie
 
Registered: Jul 2012
Location: Bulgaria
Distribution: Debian
Posts: 10

Rep: Reputation: Disabled
Angry Having trouble with sleeping Debian


Hi!
I have a trouble with my debian "server" which runs only in console mode.
After a while(I don't actually measured the time, but I think it is not constant) the OS working, the console are on(showing the console and the cursor is blinking) but it seems that all services are sleeping. Samba stops, rtorrent stops, and of course - lighttpd stops, no SSH and etc...
When I go and physically press any key on the console(doesn't matter if I'm logged in or not), everything comes up and working within next time.

Added this to /etc/rc.local to disable auto console sleep
Code:
/usr/bin/setterm -blank 0
..with no result(I mean - yes, monitor is working, but this happens again)..

Sorry if my english is BAD, but that is...

You can ask questions, if I forgot something, thanks!
 
Old 08-02-2012, 08:17 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Try adding the powersave option to the setterm command.
Code:
 setterm -powersave off -blank 0
 
Old 08-02-2012, 10:25 AM   #3
r0sko
LQ Newbie
 
Registered: Jul 2012
Location: Bulgaria
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: Disabled
Code:
root@seedbox:~# setterm -powersave off -blank 0
cannot (un)set powersave mode
Something is wrong.. but I don't know what..
 
Old 08-02-2012, 12:52 PM   #4
r0sko
LQ Newbie
 
Registered: Jul 2012
Location: Bulgaria
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: Disabled
Unhappy

Please help, I said "server", yes, but its important for me to be online, not to sleep for about 8 hours over the night :S !

What is causing the problem with setterm command that i posted up? I turned off acpid, but nothing changes(I mean - same output from setterm, that cannot un(set) ).

Thanks!
 
Old 08-04-2012, 02:28 AM   #5
r0sko
LQ Newbie
 
Registered: Jul 2012
Location: Bulgaria
Distribution: Debian
Posts: 10

Original Poster
Rep: Reputation: Disabled
Also - added
Code:
acpi=off apm=off
to the
Code:
GRUB_CMDLINE_LINUX_DEFAULT
.. reboot and.. nothing changed!

The above works, I have forgot to run update-grub after changing the configs...

For now, I think the topic is [SOLVED], thanks goes to bigrigdriver because he tryed to help!

Last edited by r0sko; 08-05-2012 at 02:35 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ipw2100 on debian testing - No working leases - sleeping joffa Linux - Wireless Networking 1 06-11-2007 08:56 AM
ipw2100 on debian testing - No working leases - sleeping joffa Linux - Wireless Networking 1 04-14-2007 01:20 AM
Process Sleeping? crazenoela Linux - Newbie 1 12-23-2006 08:33 PM
Sleeping Nukem Mandriva 6 01-07-2004 05:03 AM
Sleeping system wyvis Linux - General 4 01-17-2002 05:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration