Qmgr: Error (15007) Unauthorized Request

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.



[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!!!

.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.

1 Like