Qstat cannot connect to server (errno=111) | Unable to login as user postgres. Is the user enabled/home directory accessible

Hi Everyone ,

I was unable to do qstat but when i checked in /var/log/messages | grep -i pbs i found below logs

Apr 22 17:24:17 feluda pbs_init.d[1169821]: Starting PBS
Apr 22 17:24:17 feluda pbs_init.d[1169821]: PBS comm
Apr 22 17:24:17 feluda pbs_init.d[1169821]: /home/app/openpbs-20.0.1/sbin/pbs_comm ready (pid=1169869), Proxy Name:feluda:17001, Threads:4
Apr 22 17:24:17 feluda pbs_init.d[1169821]: PBS sched
Apr 22 17:24:18 feluda pbs_init.d[1169821]: Connecting to PBS dataservice…Failed to start PBS dataservice:[Unable to login as user postgres. Is the user enabled/home directory accessible?]
Apr 22 17:24:20 feluda pbs_init.d[1169821]: .Failed to start PBS dataservice:[Unable to login as user postgres. Is the user enabled/home directory accessible?]
Apr 22 17:24:24 feluda pbs_init.d[1169821]: .Failed to start PBS dataservice:[Unable to login as user postgres. Is the user enabled/home directory accessible?]
Apr 22 17:24:29 feluda pbs_init.d[1169821]: .Failed to start PBS dataservice:[Unable to login as user postgres. Is the user enabled/home directory accessible?]
Apr 22 17:24:36 feluda pbs_init.d[1169821]: .Failed to start PBS dataservice:[Unable to login as user postgres. Is the user enabled/home directory accessible?]
Apr 22 17:24:44 feluda pbs_init.d[1169821]: continuing in background.
Apr 22 17:24:44 feluda pbs_init.d[1169821]: PBS server

below is the output of systemctl status pbs

[root@feluda ~]# systemctl status pbs
● pbs.service - Portable Batch System
Loaded: loaded (/usr/local/libexec/pbs_init.d; enabled; vendor preset: disabled)
Active: active (running) since Sat 2023-04-22 17:24:44 IST; 19min ago
Docs: man:pbs(8)
Process: 1169663 ExecStop=/usr/local/libexec/pbs_init.d stop (code=exited, status=0/SUCCESS)
Process: 1169821 ExecStart=/usr/local/libexec/pbs_init.d start (code=exited, status=0/SUCCESS)
Tasks: 32
Memory: 6.9M
CGroup: /system.slice/pbs.service
├─1169869 /home/app/openpbs-20.0.1/sbin/pbs_comm
├─1169884 /home/app/openpbs-20.0.1/sbin/pbs_sched
└─1170579 /home/app/openpbs-20.0.1/sbin/pbs_server.bin

Apr 22 17:44:01 feluda su[1187052]: pam_unix(su-l:session): session closed for user postgres
Apr 22 17:44:01 feluda su[1187109]: (to postgres) root on none
Apr 22 17:44:01 feluda su[1187109]: pam_unix(su-l:session): session opened for user postgres by (uid=0)
Apr 22 17:44:01 feluda su[1187109]: pam_unix(su-l:session): session closed for user postgres
Apr 22 17:44:11 feluda su[1187166]: (to postgres) root on none
Apr 22 17:44:11 feluda su[1187166]: pam_unix(su-l:session): session opened for user postgres by (uid=0)
Apr 22 17:44:11 feluda su[1187166]: pam_unix(su-l:session): session closed for user postgres
Apr 22 17:44:11 feluda su[1187265]: (to postgres) root on none
Apr 22 17:44:11 feluda su[1187265]: pam_unix(su-l:session): session opened for user postgres by (uid=0)
Apr 22 17:44:11 feluda su[1187265]: pam_unix(su-l:session): session closed for user postgres

Kindly let me know any solution for this, as other thread’s seems different from this

i also met this problem, do you get is solved