{"id":2638,"date":"2022-08-30T15:26:32","date_gmt":"2022-08-30T15:26:32","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/02\/04\/unexplained-nightly-system-shutdown-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:26:32","modified_gmt":"2022-08-30T15:26:32","slug":"unexplained-nightly-system-shutdown-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/unexplained-nightly-system-shutdown-collection-of-common-programming-errors\/","title":{"rendered":"Unexplained nightly system shutdown-Collection of common programming errors"},"content":{"rendered":"<p>I recently took over a Dell XPS 9100, installed Ubuntu 12.04 via PXEboot. I have done big builds and long over-the-net fetches with the machine. In System Settings =&gt; Power, for <code>Suspend when inactive for<\/code>, I have <code>Don't suspend<\/code>. I was planning to use this machine for overnight builds.<\/p>\n<p>It has never crashed in my presence. However, each morning, I discover the machine is off, not merely suspended. I have not been able to find evidence of an automatic shutdown, but I may not be looking in the right places.<\/p>\n<p>Running <code>last -f \/var\/log\/wtmp<\/code>, I see entries like:<\/p>\n<pre><code>myuserid pts\/2        :0               Thu Nov 21 18:37 - crash  (12:17).\n<\/code><\/pre>\n<p>But I think this just means I didn&#8217;t log off. Grepping thru <code>\/var\/log\/*<\/code> only showed <code>shutdown<\/code> in this file.<\/p>\n<p>How do I find the root cause of this automated shutdown or crash?<\/p>\n<p id=\"rop\"><small>Originally posted 2014-02-04 10:23:08. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I recently took over a Dell XPS 9100, installed Ubuntu 12.04 via PXEboot. I have done big builds and long over-the-net fetches with the machine. In System Settings =&gt; Power, for Suspend when inactive for, I have Don&#8217;t suspend. I was planning to use this machine for overnight builds. It has never crashed in my [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2638","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=2638"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/2638\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=2638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=2638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=2638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}