Qmgr : Unauthorized Request and Error (15007) returned from server

Hi,
I am trying to create node using qmgr and i am getting below error,
$qmgr -c “create node pbsmaster”
qmgr obj=pbsmaster svr=default: Unauthorized Request
qmgr: Error (15007) returned from server

and i have cross checked other related topics from community portal… still i am not able resolve this ,
please help me on this.

my pbs server (is on aws instance) details as below…
[centos@pbsmaster ~]$ pbsnodes -a
pbsnodes: Server has no node list

$ sudo cat /etc/hosts

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.31.19.8 pbsmaster.calligotech.com pbsmaster

[centos@pbsmaster ~]$ cat /etc/pbs.conf
PBS_EXEC=/opt/pbs
PBS_SERVER=pbsmaster.calligotech.com
PBS_START_SERVER=1
PBS_START_SCHED=1
PBS_START_COMM=1
PBS_START_MOM=1
PBS_HOME=/var/spool/pbs
PBS_CORE_LIMIT=unlimited
PBS_SCP=/bin/scp

[centos@pbsmaster ~]$ hostname
pbsmaster

[centos@pbsmaster ~]$ hostname -f
pbsmaster.calligotech.com

[centos@pbsmaster ~]$ sudo cat /var/spool/pbs/server_priv/nodes
pbsmaster.calligotech.com np=1

Please guide me.

Regards,
Zain

To add a node:
qmgr -c “create node nodename” (or)
qmgr -c “create node nodename Mom=nodename.som.com

To see them in the list:
pbsnodes -av
pbsnodes -v nodename
pbsnodes nodename

for example:
qmgr -c “create node n001”

n001 should be in the /etc/hosts and should be reverse resolvable

Also, in your /etc/pbs.conf , please update the PBS_SERVER to point to pbsmaster
and restart the pbs services.

Documentation:


Hi Zain,

You need to have the right administrative privilege to be able to create a node. PBS Manager privilege is required to create a node.

1 Like