【问题标题】:Unable to run torque/pbs server on Ubuntu 16.04无法在 Ubuntu 16.04 上运行扭矩/pbs 服务器
【发布时间】:2019-08-27 13:34:12
【问题描述】:

我下载了扭矩回购

git clone https://github.com/adaptivecomputing/torque/

在我的 dockerfile 中安装它

FROM nistmni/minc-toolkit:1.9.16

COPY "torque" "/execute/torque"

WORKDIR /execute/torque

RUN ./autogen.sh && \
    ./configure --prefix=$home && \
    make && \
    make install

这似乎有效,并且各种 pbs 命令在 PATH 中可用。 (nistmni/minc-toolkit:1.9.16 是 Ubuntu 16.04 64bit)

(我目前是root)

我现在跑

./torque.setup root localhost

从我所读到的所有内容中,这是实际启动服务器的第一步。但我收到以下错误:

set server operators += root@localhost
Can not resolve name for server bbdeb8fab105. (rc = -1 - )
Cannot resolve specified server host 'bbdeb8fab105'.
qmgr: cannot connect to server  (errno=15010) Access from host not allowed, or unknown host
ERROR: cannot set TORQUE admins
Can not resolve name for server bbdeb8fab105. (rc = -1 - )
Cannot resolve specified server host 'bbdeb8fab105'.
qterm: could not connect to server '' (15010) Access from host not allowed, or unknown host

任何有经验的扭矩用户可以提供帮助吗?

谢谢。

【问题讨论】:

    标签: docker ubuntu torque


    【解决方案1】:

    似乎是 Docker 中主机名的随机化导致了这些问题。运行前

    ./torque.setup root
    

    打电话

    echo "localhost" > /var/spool/torque/server_name
    

    【讨论】:

      猜你喜欢
      • 2018-04-03
      • 2017-11-10
      • 2016-10-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-08
      • 1970-01-01
      相关资源
      最近更新 更多