Bus errorとSegmentation faultに困ったら見るブログ

物理の研究者による日々の研究生活のメモ書きです ( python/emacs/html/Japascript/シェルスクリプト/TeX/Mac/C言語/Linux/git/tmux/R/ポケモンGO)

HTCondorのデーモンが自動起動になっていなかったので修正した【Debian】

condor_qとか打つと次のようなメッセージが表示された

Extra Info: You probably saw this error because the condor_schedd is not
running on the machine you are trying to query. If the condor_schedd is not
running, the Condor system will not be able to find an address and port to
connect to and satisfy this request. Please make sure the Condor daemons are
running and try again.

Extra Info: If the condor_schedd is running on the machine you are trying to
query and you still see the error, the most likely cause is that you have
setup a personal Condor, you have not defined SCHEDD_NAME in your
condor_config file, and something is wrong with your SCHEDD_ADDRESS_FILE
setting. You must define either or both of those settings in your config
file, or you must use the -name option to condor_q. Please see the Condor
manual for details on SCHEDD_NAME and SCHEDD_ADDRESS_FILE.

調べてみると、condorが動いていないのが原因っぽい?

Re: [Condor-users] Can't find address of local schedd

によると、sudo condor_master と打つと起動するらしい

そもそもなんで起動していないんだろう・・・?

関係してそうな記事

coffee-guhaw.hateblo.jp

HTCondorのデーモンを自動起動するようにする

現状を確認する

% systemctl list-unit-files -t service | grep condor
condor.service                             disabled

自動起動は切られてるっぽい

これをonにするには

% sudo systemctl enable condor
Synchronizing state of condor.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable condor

現状を確認する

% systemctl list-unit-files -t service | grep condor
condor.service                             enabled

これでOKかな?

他の現状確認のコマンド

sudo systemctl status condor

ランキング参加中です

↓クリックしていただけると嬉しいです〜