<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Rocks%3A_Jobs_deferred_in_torque%2Fmaui</id>
	<title>Rocks: Jobs deferred in torque/maui - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Rocks%3A_Jobs_deferred_in_torque%2Fmaui"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Rocks:_Jobs_deferred_in_torque/maui&amp;action=history"/>
	<updated>2026-05-04T16:21:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Rocks:_Jobs_deferred_in_torque/maui&amp;diff=2492&amp;oldid=prev</id>
		<title>Michael: Created page with &quot;===== Job Deferred ===== * Run checkjob to see why the job is deferred &lt;syntaxhighlight&gt; checkjob job_id  [root@fotcluster2 ~]# checkjob 3177 ... &#039;job is deferred.  Reason:  NoResources ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Rocks:_Jobs_deferred_in_torque/maui&amp;diff=2492&amp;oldid=prev"/>
		<updated>2013-05-13T10:00:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===== Job Deferred ===== * Run checkjob to see why the job is deferred &amp;lt;syntaxhighlight&amp;gt; checkjob job_id  [root@fotcluster2 ~]# checkjob 3177 ... &amp;#039;job is deferred.  Reason:  NoResources ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===== Job Deferred =====&lt;br /&gt;
* Run checkjob to see why the job is deferred&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
checkjob job_id&lt;br /&gt;
&lt;br /&gt;
[root@fotcluster2 ~]# checkjob 3177&lt;br /&gt;
...&lt;br /&gt;
&amp;#039;job is deferred.  Reason:  NoResources  (cannot create reservation for job 3177 (intital reservation attempt)&amp;#039;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Diagnose the job&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
diagnose -j job_id&lt;br /&gt;
diagnose -q&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Check the state of the compute nodes&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
checknode -v compute-0-0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Check the torque server logs&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
vi /opt/torque/server_logs/YYYYMMDD&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Check the maui server logs&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
vi /opt/maui/log/maui.log&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* If you have added properties/resources to the pbs nodes file, ensure this has not been overwrote by &amp;#039;rocks sync config&amp;#039;&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
pbsnodes -a [ensure correct host properties]&lt;br /&gt;
/opt/torque/server_priv/nodes&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Problem solved? Re-queue the deferred job:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
runjob -c jobid&lt;br /&gt;
releasehold jobid&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Cannot set hostlist =====&lt;br /&gt;
* Experienced the following: job cannot be started - cannot set hostlist&lt;br /&gt;
* From rocks list: indicates that maui hasn&amp;#039;t got the privileges it needs to do the scheduling&lt;br /&gt;
&lt;br /&gt;
* Verify psb config and check&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
qmgr -c &amp;quot;print server&amp;quot;&lt;br /&gt;
# your looking for the following line:&lt;br /&gt;
set server managers = maui@clustername&lt;br /&gt;
set server managers += root@clustername&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* You can reset the queue configuration using the following:&lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
/opt/torque/bin/qterm -t quick&lt;br /&gt;
/opt/torque/sbin/pbs_server -t create&lt;br /&gt;
(answer yes)&lt;br /&gt;
/opt/torque/bin/qmgr &amp;lt; /opt/torque/pbs.default&lt;br /&gt;
&lt;br /&gt;
# /opt/torque/pbs.default contains the default setup for the pbs-roll.&lt;br /&gt;
# note: had to create server_priv/nodes files manually&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Ended up being a problem with UPPER-CASE letters in the FQDN, avoid! &lt;br /&gt;
&amp;lt;syntaxhighlight&amp;gt;&lt;br /&gt;
qmgr obj= svr=default: Bad ACL entry in host list MSG=First bad host:&lt;br /&gt;
LRC-PS8-RFHEAD&lt;br /&gt;
qmgr obj= svr=default: Bad ACL entry in host list MSG=First bad host:&lt;br /&gt;
LRC-PS8-RFHEAD&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael</name></author>
	</entry>
</feed>