Linux 等で cannaserver の起動に失敗する場合

(

)

by

in

/var/log/messages のエラーメッセージをチェック
cannaserver: ERROR:
cannaserver: Another ‘cannaserver’ is detected.
cannaserver: If ‘cannaserver’ is not running,
cannaserver: “/tmp/.iroha_unix/IROHA” may remain accidentally.
cannaserver: So, after making sure that ‘cannaserver’ is not running.
cannaserver: Please execute following command.
cannaserver:
cannaserver: rm /tmp/.iroha_unix/IROHA
上記のメッセージが出力されていた場合には、/tmp/.iroha_unix/IROHA が残っていないかチェック。
残っておれば削除して再起動。
# service canna start
service に canna なんて無いと言われたら、
/etc/services に以下の記述があるかどうかチェック
canna 5680/tcp
それでも起動しなければ、/tmp/.iroha_unix ディレクトリの有無をチェック。
/tmp/.iroha_unix というディレクトリが無い場合は作成する。
# mkdir /tmp/.iroha_unix
# chown bin:bin /tmp/.iroha_unix