3

I'm trying to run command qstat but instead of getting the queue status I'm seeing this error:

Cannot resolve default server host 'torqueserver' - check server_name file. qstat: cannot connect to server torqueserver (errno=15010) Access from host not allowed, or unknown host

How can I solve that?

Bagata
  • 2,120
  • 4
  • 25
  • 39

1 Answers1

4

Is 'torqueserver' the hostname of the node running pbs_server? In the server_name file located in /server_name (default for is /var/spool/torque) the actual hostname of the node running pbs_server should be in that file.

dbeer
  • 6,963
  • 3
  • 31
  • 47
  • 1
    I changed it to my virtual box machine name and it worker (showed nothing because there is no queue). – Bagata Apr 21 '12 at 00:25
  • I have the same problem, but I have looked at /var/spool/torque/server_name and the name is torqueserver. What other diagnostic steps would you take? – Omroth Aug 27 '19 at 12:44
  • @Omroth change it to the hostname of the server where Torque is running. – dbeer Aug 27 '19 at 14:27
  • and what is the host name of the local server? – dbeer Aug 27 '19 at 15:44