Regarding your first question - No, we haven’t made any changes to Hostname of PBS server.
Regarding your second questions - Yes host1 is the complete Job identifier after the numeric…There is no FQDN after that host
Kindly find output of below commands $qstat -xH
qstat: PBS is not configured to maintain job history $qstat 0
qstat: Unknown Job Id 0.host1 qstat “0.host1”
qstat: Unknown Job Id 0.host1
qmgr -c "set server job_history_enable=true" # enabling this alone will save job history for 2 weeks
If you want specifically set the duration then you have to configure the below qmgr -c "set server job_history_duration=72:00:00" # job history will be saved for 72 hours
Note: this above commands will take effect from now on, but it would not enable the history of the past .
After setting up the job history, please submit a couple of jobs and run the same command and share the output.
Per suggested I have executed qmgr -c “set server job_history_enable=true” However getting below error
qmgr obj= svr=default: Unauthorized Request
qmgr: Error (15007) returned from server
2 . Didn’t find same output inside the log however today find below output on terminal
[user@Machineame][/home/user]> qmgr -c “set server job_history_enable =true”
Unknown Host.
qmgr: cannot connect to server server
Unknown Host.
qmgr: cannot connect to server job_history_enable=true”
Note- Today I had executed below command Sudo chmod 777 /opt/pbs/sbin/pbs_iff and Sudo chmod 777 /opt/pbs/sbin/pbs_rcp after this command my qsub itself was stop working hence i have restored it back to sudo chmod 4755 /opt/pbs/sbin/pbs_iff /opt/pbs/sbin/pbs_rcp
Now qsub is working back to normal
Issue is still there…I said when i ran Sudo chmod 777 /opt/pbs/sbin/pbs_iff and Sudo chmod 777 /opt/pbs/sbin/pbs_rcp my qsub command stop working. Hence i restored it back to correct permission on the pbs_iff and pbs_rcp.
Regarding my problem statement %qstat job_id command is not working it is still there…
Now when i executing command which you provided to me getting below result
[user@Machineame][/home/user]> qmgr -c “set server job_history_enable =true”
Unknown Host.
qmgr: cannot connect to server server
Unknown Host.
qmgr: cannot connect to server job_history_enable=true”