Not able to hibernate or suspend centos system Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionI'm not able connect internet from vmware player with centosCentOS 6.5 will not sleep after period of inactivityHow to run systemd user service to trigger on sleep (aka. suspend, hibernate)?Not Able to run telnet service on CentOS machineNot able to mount centos serverkeep CentOS 7 from sleepingNot able to SSH from CentOS to CentOSCentOS hibernate state expires?Can't suspend Debian machine: wakes up immediately after sleep (“PM: Device usb1 failed to suspend async”)Suspend delayed after lid close
Is a manifold-with-boundary with given interior and non-empty boundary essentially unique?
I am not a queen, who am I?
What is a Meta algorithm?
Why is black pepper both grey and black?
When to stop saving and start investing?
Right-skewed distribution with mean equals to mode?
"Seemed to had" is it correct?
Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?
Is there a documented rationale why the House Ways and Means chairman can demand tax info?
What is the longest distance a 13th-level monk can jump while attacking on the same turn?
Using et al. for a last / senior author rather than for a first author
Does accepting a pardon have any bearing on trying that person for the same crime in a sovereign jurisdiction?
Letter Boxed validator
Determinant is linear as a function of each of the rows of the matrix.
How does a Death Domain cleric's Touch of Death feature work with Touch-range spells delivered by familiars?
The logistics of corpse disposal
Sorting numerically
What would be the ideal power source for a cybernetic eye?
Did Kevin spill real chili?
How to find all the available tools in macOS terminal?
Proof involving the spectral radius and the Jordan canonical form
Why is "Captain Marvel" translated as male in Portugal?
If 'B is more likely given A', then 'A is more likely given B'
Why are there no cargo aircraft with "flying wing" design?
Not able to hibernate or suspend centos system
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionI'm not able connect internet from vmware player with centosCentOS 6.5 will not sleep after period of inactivityHow to run systemd user service to trigger on sleep (aka. suspend, hibernate)?Not Able to run telnet service on CentOS machineNot able to mount centos serverkeep CentOS 7 from sleepingNot able to SSH from CentOS to CentOSCentOS hibernate state expires?Can't suspend Debian machine: wakes up immediately after sleep (“PM: Device usb1 failed to suspend async”)Suspend delayed after lid close
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am running Centos 7 and all I want to do is make my computer go to sleep immediately. There is a setting I have set to make my computer go to sleep but only after a certain amount of inactivity but when I leave work, I want to be able to make it go to sleep immediately right after instead of turning my computer off.
I looked and found this link
https://www.cyberciti.biz/faq/linux-command-to-suspend-hibernate-laptop-netbook-pc/
and I tried both commands
sudo systemctl suspend
and
sudo systemctl hibernate
and get the message
A dependency job for suspend.target failed. See 'journalctl -xe' for details.
I just want to be able to make my computer go to sleep so that I can pick up from where I left off the day before instead of turning off my computer everytime I leave from work.
centos sleep
add a comment |
I am running Centos 7 and all I want to do is make my computer go to sleep immediately. There is a setting I have set to make my computer go to sleep but only after a certain amount of inactivity but when I leave work, I want to be able to make it go to sleep immediately right after instead of turning my computer off.
I looked and found this link
https://www.cyberciti.biz/faq/linux-command-to-suspend-hibernate-laptop-netbook-pc/
and I tried both commands
sudo systemctl suspend
and
sudo systemctl hibernate
and get the message
A dependency job for suspend.target failed. See 'journalctl -xe' for details.
I just want to be able to make my computer go to sleep so that I can pick up from where I left off the day before instead of turning off my computer everytime I leave from work.
centos sleep
add a comment |
I am running Centos 7 and all I want to do is make my computer go to sleep immediately. There is a setting I have set to make my computer go to sleep but only after a certain amount of inactivity but when I leave work, I want to be able to make it go to sleep immediately right after instead of turning my computer off.
I looked and found this link
https://www.cyberciti.biz/faq/linux-command-to-suspend-hibernate-laptop-netbook-pc/
and I tried both commands
sudo systemctl suspend
and
sudo systemctl hibernate
and get the message
A dependency job for suspend.target failed. See 'journalctl -xe' for details.
I just want to be able to make my computer go to sleep so that I can pick up from where I left off the day before instead of turning off my computer everytime I leave from work.
centos sleep
I am running Centos 7 and all I want to do is make my computer go to sleep immediately. There is a setting I have set to make my computer go to sleep but only after a certain amount of inactivity but when I leave work, I want to be able to make it go to sleep immediately right after instead of turning my computer off.
I looked and found this link
https://www.cyberciti.biz/faq/linux-command-to-suspend-hibernate-laptop-netbook-pc/
and I tried both commands
sudo systemctl suspend
and
sudo systemctl hibernate
and get the message
A dependency job for suspend.target failed. See 'journalctl -xe' for details.
I just want to be able to make my computer go to sleep so that I can pick up from where I left off the day before instead of turning off my computer everytime I leave from work.
centos sleep
centos sleep
edited Apr 12 at 15:03
Rui F Ribeiro
42.1k1483142
42.1k1483142
asked Apr 11 at 20:49
AMVPlusPlusAMVPlusPlus
275
275
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Do you have either the pm-suspend or pm-hibernate programs installed? These tools work independently of systemd, and thus would not be affected by systemd's problem. You can get both of these tools from the package pm-utils, although IDK if that package is available on CentOS (it's not in Fedora), so you might have to build it from source. You can get it from this git repo: git://anongit.freedesktop.org/git/pm-utils
You could also try install the uswusp package, although that might not be available in CenOS's repos, either. If you install this, you can use s2disk to hibernate, and s2ram to suspend to ram. You can get this program from Sourceforge.
A third option is to tell the system to suspend directly, without calling a specific program. This can be done by overwriting the /sys/power/state file with with "disk" to hibernate, or with "mem" to suspend. Do note that this file can only be modified by root. You could overwrite it by doing something like sudo sh -c 'printf mem > /sys/power/state'
, or echo disk | sudo dd status=none of=/sys/power/state
.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511993%2fnot-able-to-hibernate-or-suspend-centos-system%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Do you have either the pm-suspend or pm-hibernate programs installed? These tools work independently of systemd, and thus would not be affected by systemd's problem. You can get both of these tools from the package pm-utils, although IDK if that package is available on CentOS (it's not in Fedora), so you might have to build it from source. You can get it from this git repo: git://anongit.freedesktop.org/git/pm-utils
You could also try install the uswusp package, although that might not be available in CenOS's repos, either. If you install this, you can use s2disk to hibernate, and s2ram to suspend to ram. You can get this program from Sourceforge.
A third option is to tell the system to suspend directly, without calling a specific program. This can be done by overwriting the /sys/power/state file with with "disk" to hibernate, or with "mem" to suspend. Do note that this file can only be modified by root. You could overwrite it by doing something like sudo sh -c 'printf mem > /sys/power/state'
, or echo disk | sudo dd status=none of=/sys/power/state
.
add a comment |
Do you have either the pm-suspend or pm-hibernate programs installed? These tools work independently of systemd, and thus would not be affected by systemd's problem. You can get both of these tools from the package pm-utils, although IDK if that package is available on CentOS (it's not in Fedora), so you might have to build it from source. You can get it from this git repo: git://anongit.freedesktop.org/git/pm-utils
You could also try install the uswusp package, although that might not be available in CenOS's repos, either. If you install this, you can use s2disk to hibernate, and s2ram to suspend to ram. You can get this program from Sourceforge.
A third option is to tell the system to suspend directly, without calling a specific program. This can be done by overwriting the /sys/power/state file with with "disk" to hibernate, or with "mem" to suspend. Do note that this file can only be modified by root. You could overwrite it by doing something like sudo sh -c 'printf mem > /sys/power/state'
, or echo disk | sudo dd status=none of=/sys/power/state
.
add a comment |
Do you have either the pm-suspend or pm-hibernate programs installed? These tools work independently of systemd, and thus would not be affected by systemd's problem. You can get both of these tools from the package pm-utils, although IDK if that package is available on CentOS (it's not in Fedora), so you might have to build it from source. You can get it from this git repo: git://anongit.freedesktop.org/git/pm-utils
You could also try install the uswusp package, although that might not be available in CenOS's repos, either. If you install this, you can use s2disk to hibernate, and s2ram to suspend to ram. You can get this program from Sourceforge.
A third option is to tell the system to suspend directly, without calling a specific program. This can be done by overwriting the /sys/power/state file with with "disk" to hibernate, or with "mem" to suspend. Do note that this file can only be modified by root. You could overwrite it by doing something like sudo sh -c 'printf mem > /sys/power/state'
, or echo disk | sudo dd status=none of=/sys/power/state
.
Do you have either the pm-suspend or pm-hibernate programs installed? These tools work independently of systemd, and thus would not be affected by systemd's problem. You can get both of these tools from the package pm-utils, although IDK if that package is available on CentOS (it's not in Fedora), so you might have to build it from source. You can get it from this git repo: git://anongit.freedesktop.org/git/pm-utils
You could also try install the uswusp package, although that might not be available in CenOS's repos, either. If you install this, you can use s2disk to hibernate, and s2ram to suspend to ram. You can get this program from Sourceforge.
A third option is to tell the system to suspend directly, without calling a specific program. This can be done by overwriting the /sys/power/state file with with "disk" to hibernate, or with "mem" to suspend. Do note that this file can only be modified by root. You could overwrite it by doing something like sudo sh -c 'printf mem > /sys/power/state'
, or echo disk | sudo dd status=none of=/sys/power/state
.
answered Apr 11 at 22:54
TSJNachos117TSJNachos117
1816
1816
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511993%2fnot-able-to-hibernate-or-suspend-centos-system%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown