This is a single machine, it&#39;s a virtual machine running on my Windows 7 desktop. Thanks, I&#39;m trying your suggestion now.<div><br></div><div>Thanks,</div><div>Aaron<br><br><div class="gmail_quote">On Tue, Sep 27, 2011 at 2:10 PM, Gus Correa <span dir="ltr">&lt;<a href="mailto:gus@ldeo.columbia.edu">gus@ldeo.columbia.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Aron<br>
<br>
You can set the stack size unlimited in /etc/security/limits.conf<br>
(here along with locked memory and number of open files):<br>
<br>
*   -   memlock     -1<br>
*   -   stack       -1<br>
*   -   nofile      4096<br>
<br>
Granted that the above is RHEL/CentOS style,<br>
Debian/Ubuntu may be different/different file.<br>
<br>
Also, you may want to check your /var/log/messages [or whatever Ubuntu<br>
uses for system logs] and see if it sheds more light into<br>
the pbs_server errors.<br>
<br>
My guess is that you need consistent server names in server_name,<br>
server_priv/nodes [assuming your server is also a work<br>
node running pbs_mom],  mom_priv/config (for $pbsserver).<br>
My recollection is that these default to &#39;localhost&#39; [and 127.0.0.1],<br>
if your installation is in a *single standalone machine*,<br>
but I am not sure.<br>
And you need right name resolution in /etc/hosts, as Mike Reppert<br>
and Jerry Smith pointed out.<br>
<br>
Also, not related, but you need to enable scheduling [after the<br>
current problem is sorted out]:<br>
<br>
qmgr -c &#39;set server scheduling = True&#39;<br>
<br>
Out of curiosity, is it a single machine or a small cluster?<br>
<br>
I hope this helps,<br>
Gus Correa<br>
<div class="im"><br>
Aaron T Perry wrote:<br>
&gt; Yes, that I do i have, that was the first thing I came across when<br>
&gt; looking through help online.<br>
&gt;<br>
&gt; And I added the nodes file with appropriate settings for my machine, but<br>
&gt; I still get the same errors.<br>
&gt;<br>
&gt; I have a completely unrelated question. I&#39;m doing all this to run a<br>
&gt; model that I&#39;ve been trying to port. I&#39;m trying to figure out whether a<br>
&gt; segmentation fault I&#39;m getting at runtime (using mpirun ./ccsm.exe) is<br>
&gt; due to a compiler error, or a stack/memory error (the code works on many<br>
&gt; other machines, not necessarily the compiler I&#39;m using though). If I can<br>
&gt; install torque I can use an automated script that also<br>
&gt; sets appropriate stack size, among other things. I am on 1 computer,<br>
&gt; with 1 node, and I have no desire to scale this instance of the model.<br>
&gt; Basically I&#39;m wondering if you think there might be an easier/better<br>
&gt; alternative?<br>
&gt;<br>
&gt; Thank you,<br>
&gt; Aaron<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Sep 27, 2011 at 1:04 PM, Smith, Jerry Don II &lt;<a href="mailto:jdsmit@sandia.gov">jdsmit@sandia.gov</a><br>
</div><div class="im">&gt; &lt;mailto:<a href="mailto:jdsmit@sandia.gov">jdsmit@sandia.gov</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     $PBS_HOME/server_priv/nodes needs to encompass your compute nodes<br>
&gt;<br>
&gt;     node1 np=4 # or however many cores you have<br>
&gt;     node2 np=4<br>
&gt;<br>
&gt;     Make sure that those nodes can be resolved via those names from the<br>
&gt;     admin node.<br>
&gt;<br>
&gt;     Do you have $PBS_HOME/server_name file with the resolvable name of<br>
&gt;     your admin server?<br>
&gt;<br>
&gt;     -Jerry<br>
&gt;<br>
</div>&gt;     From: Aaron T Perry &lt;<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a> &lt;mailto:<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a>&gt;&gt;<br>
<div class="im">&gt;     Reply-To: Torque Users Mailing List &lt;<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>&gt;&gt;<br>
<div class="im">&gt;     Date: Tue, 27 Sep 2011 12:58:50 -0400<br>
&gt;<br>
&gt;     To: Torque Users Mailing List &lt;<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>&gt;&gt;<br>
<div class="im">&gt;     Subject: Re: [torqueusers] Help: Unauthorized Request<br>
&gt;<br>
&gt;     I think I have, I needed to create the file, and I was unsure about<br>
&gt;     the formatting required.<br>
&gt;     This is what I have there.<br>
&gt;<br>
&gt;     # + + ubuntu atp42<br>
&gt;<br>
&gt;     Do I also need to create the nodes file in the torque&gt;server_priv<br>
&gt;     directory?<br>
&gt;<br>
&gt;     Thanks,<br>
&gt;     Aaron<br>
&gt;<br>
&gt;     On Tue, Sep 27, 2011 at 12:40 PM, Smith, Jerry Don II<br>
</div><div class="im">&gt;     &lt;<a href="mailto:jdsmit@sandia.gov">jdsmit@sandia.gov</a> &lt;mailto:<a href="mailto:jdsmit@sandia.gov">jdsmit@sandia.gov</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;         Have you set up hosts.equiv?<br>
&gt;<br>
&gt;         see: <a href="http://www.clusterresources.com/torquedocs/1.3advconfig.shtml" target="_blank">http://www.clusterresources.com/torquedocs/1.3advconfig.shtml</a><br>
&gt;<br>
&gt;<br>
&gt;               1.3.2.1 Server Configuration Overview<br>
&gt;<br>
&gt;         There are several steps to ensure that the server and the nodes<br>
&gt;         are completely aware of each other and able to communicate<br>
&gt;         directly. Some of this configuration takes place within TORQUE<br>
&gt;         directly using the *qmgr* command. Other configuration settings<br>
</div>&gt;         are managed using the *pbs_server*nodes file, DNS files such as<br>
<div class="im">&gt;         /etc/hosts and the /etc/hosts.equiv file.<br>
&gt;<br>
&gt;<br>
&gt;               1.3.2.2 Name Service Configuration<br>
&gt;<br>
&gt;         Each node, as well as the server, must be able to resolve the<br>
&gt;         name of every node with which it will interact. This can be<br>
&gt;         accomplished using /etc/hosts, *DNS*, *NIS*, or other<br>
&gt;         mechanisms. In the case of /etc/hosts, the file can be shared<br>
&gt;         across systems in most cases.<br>
&gt;<br>
&gt;<br>
&gt;         -Jerry<br>
&gt;<br>
&gt;<br>
</div>&gt;         From: Aaron T Perry &lt;<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a> &lt;mailto:<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a>&gt;&gt;<br>
<div class="im">&gt;         Reply-To: Torque Users Mailing List<br>
</div>&gt;         &lt;<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a> &lt;mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>&gt;&gt;<br>
<div class="im">&gt;         Date: Tue, 27 Sep 2011 12:33:31 -0400<br>
&gt;<br>
&gt;         To: Torque Users Mailing List &lt;<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>&gt;         &lt;mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>&gt;&gt;<br>
<div><div></div><div class="h5">&gt;         Subject: Re: [torqueusers] Help: Unauthorized Request<br>
&gt;<br>
&gt;         With the execption of the unauthorized request entries it looks<br>
&gt;         like almost everything is okay, execpt for the node file and<br>
&gt;         root &lt;at&gt; localhost (this should be root &lt;at&gt; ubuntu.<br>
&gt;<br>
&gt;         Thank you for your help!<br>
&gt;         Aaron<br>
&gt;<br>
&gt;         Here is an except from the server log...<br>
&gt;<br>
&gt;         09/27/2011 09:51:31;0002;PBS_Server;Svr;Log;Log opened<br>
&gt;         09/27/2011 09:51:31;0006;PBS_Server;Svr;PBS_Server;Server ubuntu<br>
&gt;         started, initialization type = 4<br>
&gt;         09/27/2011 09:51:42;0002;PBS_Server;Svr;Log;Log opened<br>
&gt;         09/27/2011 09:51:42;0006;PBS_Server;Svr;PBS_Server;Server ubuntu<br>
&gt;         started, initialization type = 4<br>
&gt;         09/27/2011 09:51:44;0002;PBS_Server;Svr;Act;Account file<br>
&gt;         /var/spool/torque/server_priv/accounting/20110927 opened<br>
&gt;         09/27/2011 09:51:44;0040;PBS_Server;Req;setup_nodes;setup_nodes()<br>
&gt;         09/27/2011 09:51:44;0004;PBS_Server;Svr;ubuntu;cannot open node<br>
&gt;         description file &#39;/var/spool/torque/server_priv/nodes&#39; in<br>
&gt;         setup_nodes()<br>
&gt;         09/27/2011 09:51:44;0002;PBS_Server;Svr;PBS_Server;Expected 0,<br>
&gt;         recovered 0 queues<br>
&gt;         09/27/2011 09:51:44;0002;PBS_Server;Svr;PBS_Server;Expected 0,<br>
&gt;         recovered 0 jobs<br>
&gt;         09/27/2011 09:51:44;0006;PBS_Server;Svr;PBS_Server;Using ports<br>
&gt;         Server:15001  Scheduler:15004  MOM:15002 (server: &#39;ubuntu&#39;)<br>
&gt;         09/27/2011 09:51:44;0002;PBS_Server;Svr;daemonize_server;INFO:<br>
&gt;            parent is exiting<br>
&gt;         09/27/2011 09:51:44;0002;PBS_Server;Svr;daemonize_server;INFO:<br>
&gt;            parent is exiting<br>
&gt;         09/27/2011 09:51:44;0002;PBS_Server;Svr;daemonize_server;INFO:<br>
&gt;            child process in background<br>
&gt;         09/27/2011 09:51:44;0002;PBS_Server;Svr;PBS_Server;Server Ready,<br>
&gt;         pid = 11995, loglevel=0<br>
&gt;         09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
&gt;         code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
&gt;         root@localhost<br>
&gt;         09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
&gt;         code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
&gt;         root@localhost<br>
&gt;         09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
&gt;         code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
&gt;         root@localhost<br>
&gt;         09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
&gt;         code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
&gt;         root@localhost<br>
&gt;         09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
&gt;         code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
&gt;         root@localhost<br>
&gt;         09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
&gt;         code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
&gt;         root@localhost<br>
&gt;         09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
&gt;         code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
&gt;         root@localhost<br>
&gt;         09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
&gt;         code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
&gt;         root@localhost<br>
&gt;         09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
&gt;         code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
&gt;         root@localhost<br>
&gt;         09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
&gt;         code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
&gt;         root@localhost<br>
&gt;         09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
&gt;         code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
&gt;         root@localhost<br>
&gt;         09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply<br>
&gt;         code=15007(Unauthorized Request ), aux=0, type=Manager, from<br>
&gt;         root@localhost<br>
&gt;         09/27/2011 09:51:49;0002;PBS_Server;Svr;PBS_Server;Torque Server<br>
&gt;         Version = 3.0.2, loglevel = 0<br>
&gt;         09/27/2011 09:56:49;0002;PBS_Server;Svr;PBS_Server;Torque Server<br>
&gt;         Version = 3.0.2, loglevel = 0<br>
&gt;         ...<br>
&gt;<br>
&gt;         On Tue, Sep 27, 2011 at 12:13 PM, Smith, Jerry Don II<br>
</div></div><div class="im">&gt;         &lt;<a href="mailto:jdsmit@sandia.gov">jdsmit@sandia.gov</a> &lt;mailto:<a href="mailto:jdsmit@sandia.gov">jdsmit@sandia.gov</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;             Are you seeing anything in the pbs_server logs?<br>
&gt;<br>
&gt;             -Jerry<br>
&gt;<br>
&gt;             From: Aaron T Perry &lt;<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a><br>
</div>&gt;             &lt;mailto:<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a>&gt;&gt;<br>
<div class="im">&gt;             Reply-To: Torque Users Mailing List<br>
&gt;             &lt;<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>&gt;             &lt;mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>&gt;&gt;<br>
<div class="im">&gt;             Date: Tue, 27 Sep 2011 09:53:28 -0400<br>
&gt;             To: &lt;<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>&gt;             &lt;mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>&gt;&gt;<br>
<div class="im">&gt;             Subject: Re: [torqueusers] Help: Unauthorized Request<br>
&gt;<br>
&gt;             Please, any help you can give would be greatly appreciated,<br>
&gt;             I&#39;m completely stuck. All the solutions I found online have<br>
&gt;             failed.<br>
&gt;<br>
&gt;             On Mon, Sep 26, 2011 at 2:35 PM, Aaron &lt;<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a><br>
</div><div><div></div><div class="h5">&gt;             &lt;mailto:<a href="mailto:atp42@cornell.edu">atp42@cornell.edu</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;                 Hi,<br>
&gt;<br>
&gt;                 I&#39;ve just tried to install torque, and I ran the<br>
&gt;                 following commands,<br>
&gt;<br>
&gt;                 ./configure<br>
&gt;                 sudo make<br>
&gt;                 sudo make install<br>
&gt;<br>
&gt;                 however when I run ./torque.setup username I get the<br>
&gt;                 following...<br>
&gt;<br>
&gt;                 initializing TORQUE (admin: username@ubuntu)<br>
&gt;                 PBS_Server ubuntu: Create mode and server database exists,<br>
&gt;                 do you wish to continue y/(n)?y<br>
&gt;                 Max open servers: 9<br>
&gt;                 qmgr obj= svr=default: Unauthorized Request<br>
&gt;                 Max open servers: 9<br>
&gt;                 qmgr obj= svr=default: Unauthorized Request<br>
&gt;                 qmgr obj= svr=default: Unauthorized Request<br>
&gt;                 qmgr obj= svr=default: Unauthorized Request<br>
&gt;                 qmgr obj= svr=default: Unauthorized Request<br>
&gt;                 qmgr obj=batch svr=default: Unauthorized Request<br>
&gt;                 qmgr obj=batch svr=default: Unauthorized Request<br>
&gt;                 qmgr obj=batch svr=default: Unauthorized Request<br>
&gt;                 qmgr obj=batch svr=default: Unauthorized Request<br>
&gt;                 qmgr obj=batch svr=default: Unauthorized Request<br>
&gt;                 qmgr obj=batch svr=default: Unauthorized Request<br>
&gt;                 qmgr obj= svr=default: Unauthorized Request<br>
&gt;<br>
&gt;                 The server lanched and I cannot stop it, nor can issue<br>
&gt;                 any command related to torque (qterm, gmgr, qsub, etc)<br>
&gt;                 under my current username or under root. Help!<br>
&gt;<br>
&gt;                 Thank you,<br>
&gt;                 -Aaron<br>
&gt;<br>
&gt;<br>
&gt;             _______________________________________________ torqueusers<br>
&gt;             mailing list <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div></div>&gt;             &lt;mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>&gt;<br>
<div class="im">&gt;             <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
&gt;<br>
&gt;             _______________________________________________<br>
&gt;             torqueusers mailing list<br>
&gt;             <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>&gt;             &lt;mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>&gt;<br>
<div class="im">&gt;             <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
&gt;<br>
&gt;<br>
&gt;         _______________________________________________ torqueusers<br>
&gt;         mailing list <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>&gt;         &lt;mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>&gt;<br>
<div class="im">&gt;         <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         torqueusers mailing list<br>
</div>&gt;         <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a> &lt;mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>&gt;<br>
<div class="im">&gt;         <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________ torqueusers mailing<br>
&gt;     list <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>&gt;<br>
<div class="im">&gt;     <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     torqueusers mailing list<br>
</div>&gt;     <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a> &lt;mailto:<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a>&gt;<br>
<div><div></div><div class="h5">&gt;     <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; torqueusers mailing list<br>
&gt; <a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
&gt; <a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
<br>
_______________________________________________<br>
torqueusers mailing list<br>
<a href="mailto:torqueusers@supercluster.org">torqueusers@supercluster.org</a><br>
<a href="http://www.supercluster.org/mailman/listinfo/torqueusers" target="_blank">http://www.supercluster.org/mailman/listinfo/torqueusers</a><br>
</div></div></blockquote></div><br></div>