# Qmgr: Error (15007) Unauthorized Request

**URL:** <https://community.openpbs.org/t/qmgr-error-15007-unauthorized-request/4022>\
**Category:** Users/Site Administrators\
**Created:** [November 7, 2024, 3:40pm UTC](https://community.openpbs.org/t/qmgr-error-15007-unauthorized-request/4022 "2024-11-07T15:40:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RROONNNN](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/rroonnnn/32/762_2.png) [@RROONNNN](https://community.openpbs.org/u/RROONNNN)\
**Post date:** [November 7, 2024, 3:40pm UTC](https://community.openpbs.org/t/qmgr-error-15007-unauthorized-request/4022/1 "2024-11-07T15:40:45Z")

</div>

i’m in root account,but i not have manager role , i can’t create node “” or add a server manager “set server managers +=…”. my version of openpbs is openpbs-20.0.0.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/pbspro/original/1X/e49b7c1a0240607aff965387e1f87320b9d8b044.png)  
 ![image](https://canada1.discourse-cdn.com/flex030/uploads/pbspro/original/1X/ad8288e48ab97f5c6bd40ba3b6db0e27075d6b7a.png)  
[root@vbox ~]# qmgr -c “print server”

# 

# Set server attributes.

# 

set server scheduling = True  
set server log\_events = 511  
set server mail\_from = adm  
set server query\_other\_jobs = True  
set server resources\_default.ncpus = 1  
set server default\_chunk.ncpus = 1  
set server scheduler\_iteration = 600  
set server resv\_enable = True  
set server node\_fail\_requeue = 310  
set server max\_array\_size = 10000  
set server pbs\_license\_min = 0  
set server pbs\_license\_max = 2147483647  
set server pbs\_license\_linger\_time = 31536000  
set server eligible\_time\_enable = False  
set server max\_concurrent\_provision = 5  
set server max\_job\_sequence\_id = 9999999  
[root@vbox ~]# qmgr -c “set server scheduling=true”  
qmgr obj= svr=default: Unauthorized Request  
qmgr: Error (15007) returned from server  
[root@vbox ~]# qmgr -c “set server log\_events=511”  
qmgr obj= svr=default: Unauthorized Request  
qmgr: Error (15007) returned from server  
[root@vbox ~]# qmgr -c “create node compute-0-1”  
qmgr obj=compute-0-1 svr=default: Unauthorized Request  
qmgr: Error (15007) returned from server  
[root@vbox ~]# qterm  
qterm: Unauthorized Request

[root@vbox ~]# qstat --version  
pbs\_version = 20.0.0

[root@vbox ~]# cat /etc/hosts

# Added by rocks report host

# DO NOT MODIFY

# Add any modifications to

# /etc/hosts.local file

127.0.0.1 localhost.localdomain localhost

10.1.1.254 compute-0-0.local compute-0-0  
10.1.1.253 compute-0-1.local compute-0-1  
10.1.1.1 vbox.local vbox  
10.0.2.15 vbox.replaceme

[root@vbox ~]# cat /etc/pbs.conf  
PBS\_START\_MOM=0  
PBS\_SERVER=vbox  
PBS\_START\_SERVER=1  
PBS\_START\_SCHED=1  
PBS\_START\_COMM=1  
PBS\_EXEC=/opt/pbs  
PBS\_HOME=/var/spool/pbs  
PBS\_CORE\_LIMIT=unlimited  
PBS\_SCP=/bin/scp

-this is in var/spool/server-logs:

11/07/2024 10:31:59;0040;Server@vbox;Svr;vbox;Scheduler sent command 3  
11/07/2024 10:31:59;0040;Server@vbox;Svr;vbox;Scheduler sent command 0  
11/07/2024 10:31:59;0100;Server@vbox;Req;;Type 21 request received from Scheduler@vbox.replaceme, sock=15  
11/07/2024 10:31:59;0100;Server@vbox;Req;;Type 81 request received from Scheduler@vbox.replaceme, sock=15  
11/07/2024 10:31:59;0100;Server@vbox;Req;;Type 71 request received from Scheduler@vbox.replaceme, sock=15  
11/07/2024 10:31:59;0100;Server@vbox;Req;;Type 58 request received from Scheduler@vbox.replaceme, sock=15  
11/07/2024 10:31:59;0080;Server@vbox;Req;req\_reject;Reject reply code=15064, aux=0, type=58, from Scheduler@vbox.replaceme  
11/07/2024 10:32:21;0100;Server@vbox;Req;;Type 0 request received from root@vbox.local, sock=15  
11/07/2024 10:32:21;0100;Server@vbox;Req;;Type 95 request received from root@vbox.local, sock=16  
11/07/2024 10:32:21;0100;Server@vbox;Req;;Type 82 request received from root@vbox.local, sock=15  
11/07/2024 10:32:21;0100;Server@vbox;Req;;Type 20 request received from root@vbox.local, sock=15  
11/07/2024 10:32:21;0100;Server@vbox;Req;;Type 21 request received from root@vbox.local, sock=15  
11/07/2024 10:33:05;0100;Server@vbox;Req;;Type 0 request received from root@vbox.local, sock=15  
11/07/2024 10:33:05;0100;Server@vbox;Req;;Type 95 request received from root@vbox.local, sock=16  
11/07/2024 10:33:05;0100;Server@vbox;Req;;Type 9 request received from root@vbox.local, sock=15  
11/07/2024 10:33:05;0080;Server@vbox;Req;req\_reject;Reject reply code=15007, aux=0, type=9, from root@vbox.local  
11/07/2024 10:33:17;0100;Server@vbox;Req;;Type 0 request received from root@vbox.local, sock=15  
11/07/2024 10:33:17;0100;Server@vbox;Req;;Type 95 request received from root@vbox.local, sock=16  
11/07/2024 10:33:17;0100;Server@vbox;Req;;Type 9 request received from root@vbox.local, sock=15  
11/07/2024 10:33:17;0080;Server@vbox;Req;req\_reject;Reject reply code=15007, aux=0, type=9, from root@vbox.local  
11/07/2024 10:33:29;0100;Server@vbox;Req;;Type 0 request received from root@vbox.local, sock=15  
11/07/2024 10:33:29;0100;Server@vbox;Req;;Type 95 request received from root@vbox.local, sock=16  
11/07/2024 10:33:29;0100;Server@vbox;Req;;Type 9 request received from root@vbox.local, sock=15  
11/07/2024 10:33:29;0080;Server@vbox;Req;req\_reject;Reject reply code=15007, aux=0, type=9, from root@vbox.local  
11/07/2024 10:33:44;0100;Server@vbox;Req;;Type 0 request received from root@vbox.local, sock=15  
11/07/2024 10:33:44;0100;Server@vbox;Req;;Type 95 request received from root@vbox.local, sock=16  
11/07/2024 10:33:44;0100;Server@vbox;Req;;Type 17 request received from root@vbox.local, sock=15  
11/07/2024 10:33:44;0080;Server@vbox;Req;req\_reject;Reject reply code=15007, aux=0, type=17, from root@vbox.local  
Help me please!!!

---

<div class="post-metadata">

**Author:** ![alexis.cousein](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/alexis.cousein/32/265_2.png) [@alexis.cousein](https://community.openpbs.org/u/alexis.cousein)\
**Post date:** [November 9, 2024, 10:24am UTC](https://community.openpbs.org/t/qmgr-error-15007-unauthorized-request/4022/2 "2024-11-09T10:24:25Z")

</div>

.vbox.local seems not to canonicalize ONLY to PBS\_SERVER (it seems to with the data you posted, but name resolution is quite a can of worms). But you can use “PBS\_SERVER\_HOST\_NAME=localhost qmgr” too work around that.
