Torque运行时"qmgr obj=XXX svr=default: Unauthorized Request MSG=error in permissions (PERM_XXX)"问题解决办法

在安装Torque4.1.2之后,运行"sudo ./torque.setup <user>"有时候出现下面的错误

================================================================================
initializing TORQUE ...

You have selected to start pbs_server in create mode.
If the server database exists it will be overwritten.
do you wish to continue y/(n)?y
root     28100     1  1 04:03 ?        00:00:00 pbs_server -t create
Max open servers: 9
qmgr obj= svr=default: Unauthorized Request  MSG=error in permissions (PERM_OPorMGR)
Max open servers: 9
qmgr obj= svr=default: Unauthorized Request  MSG=error in permissions (PERM_OPorMGR)
qmgr obj= svr=default: Unauthorized Request  MSG=error in permissions (PERM_OPorMGR)
qmgr obj= svr=default: Unauthorized Request  MSG=error in permissions (PERM_OPorMGR)
qmgr obj= svr=default: Unauthorized Request  MSG=error in permissions (PERM_OPorMGR)
qmgr obj=batch svr=default: Unauthorized Request  MSG=error in permissions (PERM_MANAGER)
qmgr obj=batch svr=default: Unauthorized Request  MSG=error in permissions (PERM_OPorMGR)
qmgr obj=batch svr=default: Unauthorized Request  MSG=error in permissions (PERM_OPorMGR)
qmgr obj=batch svr=default: Unauthorized Request  MSG=error in permissions (PERM_OPorMGR)
qmgr obj=batch svr=default: Unauthorized Request  MSG=error in permissions (PERM_OPorMGR)
qmgr obj=batch svr=default: Unauthorized Request  MSG=error in permissions (PERM_OPorMGR)
qmgr obj= svr=default: Unauthorized Request  MSG=error in permissions (PERM_OPorMGR)

================================================================================

解决方法:修改/etc/hosts文件,将当前机器IP和机器名添加进去

比如添加前配置信息如下

127.0.0.1       localhost.localdomain   localhost
::1     localhost6.localdomain6 localhost6
修改后配置后如下

127.0.0.1       localhost.localdomain   localhost
::1     localhost6.localdomain6 localhost6

192.168.0.100          myhost



你可能感兴趣的:(server,manager,user,database,permissions)