[torqueusers] Help: Unauthorized Request

Smith, Jerry Don II jdsmit at sandia.gov
Tue Sep 27 10:40:21 MDT 2011


Have you set up hosts.equiv?

see: http://www.clusterresources.com/torquedocs/1.3advconfig.shtml

1.3.2.1 Server Configuration Overview

There are several steps to ensure that the server and the nodes are completely aware of each other and able to communicate directly. Some of this configuration takes place within TORQUE directly using the qmgr command. Other configuration settings are managed using the pbs_server nodes file, DNS files such as /etc/hosts and the /etc/hosts.equiv file.

1.3.2.2 Name Service Configuration

Each node, as well as the server, must be able to resolve the name of every node with which it will interact. This can be accomplished using /etc/hosts, DNS, NIS, or other mechanisms. In the case of /etc/hosts, the file can be shared across systems in most cases.


-Jerry

From: Aaron T Perry <atp42 at cornell.edu<mailto:atp42 at cornell.edu>>
Reply-To: Torque Users Mailing List <torqueusers at supercluster.org<mailto:torqueusers at supercluster.org>>
Date: Tue, 27 Sep 2011 12:33:31 -0400
To: Torque Users Mailing List <torqueusers at supercluster.org<mailto:torqueusers at supercluster.org>>
Subject: Re: [torqueusers] Help: Unauthorized Request

With the execption of the unauthorized request entries it looks like almost everything is okay, execpt for the node file and root <at> localhost (this should be root <at> ubuntu.

Thank you for your help!
Aaron

Here is an except from the server log...

09/27/2011 09:51:31;0002;PBS_Server;Svr;Log;Log opened
09/27/2011 09:51:31;0006;PBS_Server;Svr;PBS_Server;Server ubuntu started, initialization type = 4
09/27/2011 09:51:42;0002;PBS_Server;Svr;Log;Log opened
09/27/2011 09:51:42;0006;PBS_Server;Svr;PBS_Server;Server ubuntu started, initialization type = 4
09/27/2011 09:51:44;0002;PBS_Server;Svr;Act;Account file /var/spool/torque/server_priv/accounting/20110927 opened
09/27/2011 09:51:44;0040;PBS_Server;Req;setup_nodes;setup_nodes()
09/27/2011 09:51:44;0004;PBS_Server;Svr;ubuntu;cannot open node description file '/var/spool/torque/server_priv/nodes' in setup_nodes()
09/27/2011 09:51:44;0002;PBS_Server;Svr;PBS_Server;Expected 0, recovered 0 queues
09/27/2011 09:51:44;0002;PBS_Server;Svr;PBS_Server;Expected 0, recovered 0 jobs
09/27/2011 09:51:44;0006;PBS_Server;Svr;PBS_Server;Using ports Server:15001  Scheduler:15004  MOM:15002 (server: 'ubuntu')
09/27/2011 09:51:44;0002;PBS_Server;Svr;daemonize_server;INFO:      parent is exiting
09/27/2011 09:51:44;0002;PBS_Server;Svr;daemonize_server;INFO:      parent is exiting
09/27/2011 09:51:44;0002;PBS_Server;Svr;daemonize_server;INFO:      child process in background
09/27/2011 09:51:44;0002;PBS_Server;Svr;PBS_Server;Server Ready, pid = 11995, loglevel=0
09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply code=15007(Unauthorized Request ), aux=0, type=Manager, from root at localhost
09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply code=15007(Unauthorized Request ), aux=0, type=Manager, from root at localhost
09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply code=15007(Unauthorized Request ), aux=0, type=Manager, from root at localhost
09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply code=15007(Unauthorized Request ), aux=0, type=Manager, from root at localhost
09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply code=15007(Unauthorized Request ), aux=0, type=Manager, from root at localhost
09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply code=15007(Unauthorized Request ), aux=0, type=Manager, from root at localhost
09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply code=15007(Unauthorized Request ), aux=0, type=Manager, from root at localhost
09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply code=15007(Unauthorized Request ), aux=0, type=Manager, from root at localhost
09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply code=15007(Unauthorized Request ), aux=0, type=Manager, from root at localhost
09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply code=15007(Unauthorized Request ), aux=0, type=Manager, from root at localhost
09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply code=15007(Unauthorized Request ), aux=0, type=Manager, from root at localhost
09/27/2011 09:51:44;0080;PBS_Server;Req;req_reject;Reject reply code=15007(Unauthorized Request ), aux=0, type=Manager, from root at localhost
09/27/2011 09:51:49;0002;PBS_Server;Svr;PBS_Server;Torque Server Version = 3.0.2, loglevel = 0
09/27/2011 09:56:49;0002;PBS_Server;Svr;PBS_Server;Torque Server Version = 3.0.2, loglevel = 0
...

On Tue, Sep 27, 2011 at 12:13 PM, Smith, Jerry Don II <jdsmit at sandia.gov<mailto:jdsmit at sandia.gov>> wrote:
Are you seeing anything in the pbs_server logs?

-Jerry

From: Aaron T Perry <atp42 at cornell.edu<mailto:atp42 at cornell.edu>>
Reply-To: Torque Users Mailing List <torqueusers at supercluster.org<mailto:torqueusers at supercluster.org>>
Date: Tue, 27 Sep 2011 09:53:28 -0400
To: <torqueusers at supercluster.org<mailto:torqueusers at supercluster.org>>
Subject: Re: [torqueusers] Help: Unauthorized Request

Please, any help you can give would be greatly appreciated, I'm completely stuck. All the solutions I found online have failed.

On Mon, Sep 26, 2011 at 2:35 PM, Aaron <atp42 at cornell.edu<mailto:atp42 at cornell.edu>> wrote:
Hi,

I've just tried to install torque, and I ran the following commands,

./configure
sudo make
sudo make install

however when I run ./torque.setup username I get the following...

initializing TORQUE (admin: username at ubuntu)
PBS_Server ubuntu: Create mode and server database exists,
do you wish to continue y/(n)?y
Max open servers: 9
qmgr obj= svr=default: Unauthorized Request
Max open servers: 9
qmgr obj= svr=default: Unauthorized Request
qmgr obj= svr=default: Unauthorized Request
qmgr obj= svr=default: Unauthorized Request
qmgr obj= svr=default: Unauthorized Request
qmgr obj=batch svr=default: Unauthorized Request
qmgr obj=batch svr=default: Unauthorized Request
qmgr obj=batch svr=default: Unauthorized Request
qmgr obj=batch svr=default: Unauthorized Request
qmgr obj=batch svr=default: Unauthorized Request
qmgr obj=batch svr=default: Unauthorized Request
qmgr obj= svr=default: Unauthorized Request

The server lanched and I cannot stop it, nor can issue any command related to torque (qterm, gmgr, qsub, etc) under my current username or under root. Help!

Thank you,
-Aaron


_______________________________________________ torqueusers mailing list torqueusers at supercluster.org<mailto:torqueusers at supercluster.org> http://www.supercluster.org/mailman/listinfo/torqueusers

_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org<mailto:torqueusers at supercluster.org>
http://www.supercluster.org/mailman/listinfo/torqueusers


_______________________________________________ torqueusers mailing list torqueusers at supercluster.org<mailto:torqueusers at supercluster.org> http://www.supercluster.org/mailman/listinfo/torqueusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20110927/4b7e14a2/attachment-0001.html 


More information about the torqueusers mailing list