please check pbs services are up and running
ps -ef | grep pbs_
i hope you are running the qmgr command as root user
If you see the same error messages while running qmgr , check the server logs , it will mention why it is rejecting
source /etc/pbs.conf;cd $PBS_HOME/server_logs ; check YYYYMMDD file
Please note , qmgr configuration management has to be done by the root user ( manager/operator level users ).
Snippet from the PBS Pro Administration guide ( 2021.1)
How can i check if it is manager/operator level user? I don’t have root user on my machine, i have only 1 user and I use sudo command to use root commands.
I tried
Thanks for your time @adarsh. You are right about root user, I used sudo command but i wasn’t root user and I tried last commands you mentioned on message. It didn’t work
I solved problem only login as root user. I only used this command