[Memo2011][ITPASS] ika 構築作業ログ 6 (DNS, gate)

ビルドとインストール

$ sudo -s
# cd /usr/local/src

配布サイト <URL:https://www.isc.org/> からアーカイブを取得(最新の version をインストール)しようとした.

最新バージョンのパッケージがダウンロードできなかった. (HP からダウンロードしようとすると, faild to change directry と表示される)

ika からソースをコピーして使うことにした.

# ./configure &#8211;prefix=/usr/local/bind

を実行すると, 途中

rm -f FAQ.tmp

という表示で止まり, enter を押すと終了してしまった. これは上手くmake できなかったので, &#8211; ⇒ -- に変更した(文字化けしている)

make コマンドを実行したところ問題なく終了. make install も問題なかった.

インストールした Bind には host 等のコマンドも同梱されているため, 既にインストールされている bind9-host, libbind9-0, dnsutils は削除する.

# apt-get remove bind9-host libbind9-0 dnsutils

すると,

E: パッケージ libbind9-0 が見つかりません

と表示. 問題なしと判断し続行.

インストールした実行ファイルへのパスの設定

インストールされた Bind の実行ファイル群へパスを通す. /etc/bash.bashrc の冒頭に以下のように追加した.

# add PATH for local installed softwares
PATH="${PATH}:/usr/local/apache2/bin:/usr/local/bind/bin"
                                  ^^^^^^^^^^^^^^^^^^^^
# add PATH for local installed softwares (for root)
if [ "`id -u`" -eq 0 ]; then
  PATH="${PATH}:/usr/local/apache2/bin:/usr/local/bind/sbin"
fi                                    ^^^^^^^^^^^^^^^^^^^^^

export PATH

インストールしたマニュアルへのパスの設定

/etc/manpath.config に以下の行を追加した. 詳しくは [ITPASS2010]パスの設定#man 関連のパスの設定 を参照のこと.

MANDATORY_MANPATH                          /usr/local/bind/man
MANPATH_MAP        /usr/local/bind/bin     /usr/local/bind/man
MANPATH_MAP        /usr/local/bind/sbin    /usr/local/bind/man
MANDB_MAP          /usr/local/bind/man     /usr/local/bind/man

bind ユーザを作成する

Bind の実行ユーザとして bind ユーザを作成した. vipw を実行して以下の行を追加した.

bind:x:53:53:Bind Sandbox:/usr/local/bind/var:/bin/false

vipw -s を実行して以下の行を追加した.

bind:!:13749:0:99999:7:::

同様に bind グループを追加した. vigr を実行して以下の行を追加した.

bind:x:53:

vigr -s を実行して以下の行を追加した.

bind:*::

pid ファイル置場のパーミッション設定

pid ファイル置場である, /usr/local/bind/var/run/ を bind 所有にした.

# chown bind:bind /usr/local/bind/var/run/

各設定ファイルの編集

named.conf

  • old より /usr/local/bind/etc/namedb/named.conf を new の /usr/local/bind/etc/namedb/ にコピーした. new に namedb というディレクトリがもともと無かったため作成した.
  • ファイルが以下の内容であることを確認した.(コメントアウトは除く)
acl my-network {
        133.30.110.0/24;
        133.30.109.0/25;
        127.0.0.1;
};

options {
        dump-file "/usr/local/bind/etc/cache_dump.db";
        directory "/usr/local/bind/etc/namedb";
        pid-file "/usr/local/bind/var/run/named.pid";
        recursion yes;
        allow-query { "my-network"; };
};

zone "." {
        type hint;
        file "named.root";
};

zone "localhost" {
        type master;
        file "localhost.zone";
};

zone "0.0.127.in-addr.arpa" {
        type master;
        file "localhost.rev";
};

controls {
          inet 127.0.0.1 port 953
                   allow { 127.0.0.1; } keys { "rndc-key"; };
};

include "/usr/local/bind/etc/rndc.key";

localhost.zone

  • old より /usr/local/bind/etc/namedb/localhost.zone をnew の /usr/local/bind/etc/namedb/ にコピー.
  • ファイル内の"ika-itpass" という記述を "tako-itpass" に変更した.
  • Serial には作業当日の日付と更新回数を書いた.
  • 書き換え後のファイルの中身は下記の通り.
$TTL    3600

@       IN      SOA     tako-itpass.scitec.kobe-u.ac.jp. root.tako- itpass.scitec.kobe-u.ac.jp.  (
                            2010101301 ; Serial
                               3600    ; Refresh
                               900     ; Retry
                               3600000 ; Expire
                               3600 )  ; Minimum
        IN      NS      tako-itpass.scitec.kobe-u.ac.jp.
        IN      A       127.0.0.1

localhost.rev

  • old より /usr/local/bind/etc/namedb/localhost.rev を new の /usr/local/bind/etc/namedb/ にコピー.
  • ファイル内の"ika" という記述を "tako" に変更する.書き換え後のファイルの内容は下記の通り.
$TTL    3600

@       IN      SOA     tako-itpass.scitec.kobe-u.ac.jp. root.tako- itpass.scitec.kobe-u.ac.jp.  (
                             2010101301        ; Serial
                               3600    ; Refresh
                               900     ; Retry
                               3600000 ; Expire
                               3600 )  ; Minimum
        IN      NS      tako-itpass.scitec.kobe-u.ac.jp.
1       IN      PTR     localhost.scitec.kobe-u.ac.jp.

named.root

rndc の設定

rndcコマンドは, 再起動, config ファイルの読み直しなどを行うコマンドである.

  • rndc-confgen を実行し, 必要な設定ファイルの「もと」を生成する.
  • rndc-confgen の出力を /usr/local/bind/etc/rndc.conf として保存する.
# rndc-confgen > /usr/local/bind/etc/rndc.conf

rndc.conf の中身は下記の通り.

# Start of rndc.conf
key "rndc-key" {
        algorithm hmac-md5;
        secret "SZN/mCIMkFJmFJ/98jlcMQ==";
};

options {
        default-key "rndc-key";
        default-server 127.0.0.1;
        default-port 953;
};
# End of rndc.conf

# Use with the following in named.conf, adjusting the allow list as needed:
# key "rndc-key" {
#       algorithm hmac-md5;
#       secret "SZN/mCIMkFJmFJ/98jlcMQ==";
# };
#
# controls {
#       inet 127.0.0.1 port 953
#               allow { 127.0.0.1; } keys { "rndc-key"; };
# };
# End of named.conf

secret "SZN/mCIMkFJmFJ/98jlcMQ=="; は認証に用いる共通鍵(パスワード)を表す.ここに挙げているのは例であって, 実際の設定とは異なる.

  • rndc.conf のコメントアウトされている箇所のうち, key で始まる4行を /usr/local/bind/etc/rndc.key として保存する.
  • 念のため, rndc.conf のコメントアウトされている箇所を削除する.
  • パーミッションの設定

    • gate の設定ができていないので, グループは仮に staff としておく.
    root@new:/usr/local/bind/etc# chgrp -R staff .
    root@new:/usr/local/bind/etc# chown bind rndc.key
    root@new:/usr/local/bind/etc# chmod 600 rndc.key
    root@new:/usr/local/bind/etc# chmod 640 rndc.conf
    root@new:/usr/local/bind/etc# chown bind namedb/named.conf
    root@new:/usr/local/bind/etc# chmod 640 namedb/named.conf
    • ただし,gate の設定が終わった後にパーミッションを変更する.
    root@new:/usr/local/bind/etc# chgrp -R itpadmin .

rndc のテスト

以下のコマンドを実行する.

root@new:/usr/local/bind/etc# rndc reload

server reload successful と表示されれば成功.

しかし

rndc: neither /etc/rndc.conf nor /etc/rndc.key was found

と表示される.

パスは設定したので, 原因は不明.

無理やり

root@tako:/usr/local/bind/sbin# ./rndc reload

で実行すると,

エラーが

root@tako-itpass:/usr/local/bind/sbin# ./rndc reload
WARNING: key file (/usr/local/bind/etc/rndc.key) exists, but using   default configuration file (/usr/local/bind/etc/rndc.conf)
rndc: connect failed: 127.0.0.1#953: connection refused

に変化した.後半に別のエラーが生じた.

何度も他の方法で試したが, 接続に失敗する理由はわからず断念.

以下, gate-toroku-system の作業である.

作業用アカウントの作成

  • gate-toroku-system 管理アカウント gate を作成した. ユーザ ID は 1 -- 999 の間(システムユーザ領域)に設定する(今回は 500 とした).

    # adduser --uid 500 --disabled-password gate

    登録の際, フルネームには「Administrator of gate-toroku-system」を用いた.

  • gate グループに gate 管理者を加えた.

    gate 管理者については, gate-toroku-systemの開発とメンテナンスの開発メンバーのユーザおよび, gate のインストールを行ったメンバーとするつもりだが, 今回は tyubo のみの登録にした.

    # vigr
    
    gate:x:500:tyubo
    
    # vigr -s
    
    gate:!:::tyubo

gate-toroku-system のソースを取得

gate-toroku-system のソース (gate-toroku-system.tar.gz) を old の /home/gate/ から入手し, new の /home/gate に置いた.

必要なソフトウェアのインストール

  • まず, gate に必要なパッケージをインストールする. /etc/apt/sources.list の以下の 2 行は以下の様になっていた.

    deb http://www.gfd-dennou.org/arch/cc-env/Linux/debian-dennou squeeze/
    deb-src http://www.gfd-dennou.org/arch/cc-env/Linux/debian-dennou squeeze/
                                                                      ^^^^^^
  • その後, 以下のコマンドで, 必要なパッケージをインストールされていることを確認した.

    # apt-get update
    # apt-get install perl-suid rsync wget htroff cvs
    # apt-get install libjcode-pm-perl
    # apt-get install libcrypt-passwdmd5-perl
    # apt-get install libdatetime-perl
    # apt-get install libdatetime-format-strptime-perl

すると

E: パッケージ 'htroff' にはインストール候補がありません

と表示されたが, とりあえず続行.

実行ファイルや man 用ファイル, HTML ファイルは
/usr/local/gate 以下にインストールされた. 

gate ユーザへのメールの転送

/home/gate/.qmail に gate 管理者のメールアドレスを書き込む. メンバーは上記の 作業用アカウントの作成 でグループに加えたものと同じにした(今回は tyubo のみの登録にした. 今後の作業で追加する).

# vi /home/gate/.qmail

&tyubo

gate-toroku-system ソースの展開

gate-toroku-system のソースを取得 で取得したソースを展開した.

$ cd /home/gate
$ tar xvfz gate-toroku-system.tar.gz
$ cd gate-toroku-system

gate-toroku-system の設定ファイルを編集

old の /etc/gate/ の下から gate.conf をコピーし /etc/gate/ の下においた. gate.conf の中身を以下のように編集した.

$DBSERVER = "tako-itpass.scitec.kobe-u.ac.jp";

gate-toroku-system CGI を動作させるための apache2 設定

以下では CGI の動作に関して, apache2 の設定について以下を確認した.

  • apache を動作させるユーザ, グループ

    apache がどのユーザ, グループの権限で動作するかは /usr/local/apache2/conf/httpd.conf 内の「 User 」 および「 Group 」で指定される.

    User www-data
    Group www-data 

    この「 User 」,「 Group 」に指定されているユーザ, グループが gate.conf における $CGIUSER に指定されているユーザと一致していることを確認した.

    $CGIUSER = "www-data"; 
  • /usr/local/apache2/cgi-bin/ の CGI が動作するために /usr/local/apache2/conf/httpd.conf で下記の記述があることを確認した.

    <Directory "/usr/local/apache2/cgi-bin/">
        AllowOverride AuthConfig Limit
        Options ExecCGI FollowSymLinks IncludesNoExec
    </Directory>

make とインストール

以下のコマンドを実行し, make を行った.

# su gate
$ cd ~gate/gate-toroku-system/
$ perl ./config.pl
$ make

結果, 幾つかエラーが発生した. 原因がわからないため, ここで一時中断し相談することにした.

以下に出力結果を載せる.

gate@tako-itpass:~/gate-toroku-system$ make
for dir in ip-accept ip-apply ip-list ip-renew ip-show ip-withdraw db-to-zone gate-ip-update  user-accept user-apply user-list user-renew user-show user-status user-withdraw user-authkey-lock db-to-ezmlm db-to-group db-to-passwd db-to-shadow db-to-sudoers db-to-sigen db-to-dvlop make-dot-qmail make-home make-authkey make-htpasswd make-smtppasswd make-imappasswd make-mailpasswd if_sndr_from mailpasswd gate-daily gate-db-update gate-sync include html man man ;\
      do\
              test -f $dir/Makefile || continue ;\
              cd $dir ;\
              make ;\
              cd .. ;\
      done
make[1]: ディレクトリ `/home/gate/gate-toroku-system/ip-accept' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-ip-accept.PL > gate-ip-accept.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-ip-accept.CGI > gate-ip-accept.cgi
make[1]: ディレクトリ `/home/gate/gate-toroku-system/ip-accept' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/ip-apply' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-ip-apply.PL > gate-ip-apply.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-ip-apply.CGI > gate-ip-apply.cgi
make[1]: ディレクトリ `/home/gate/gate-toroku-system/ip-apply' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/ip-list' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-ip-list.PL > gate-ip-list.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/ip-list' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/ip-renew' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-ip-renew.PL > gate-ip-renew.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-ip-renew.CGI > gate-ip-renew.cgi
make[1]: ディレクトリ `/home/gate/gate-toroku-system/ip-renew' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/ip-show' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-ip-show.PL > gate-ip-show.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-ip-show.CGI > gate-ip-show.cgi
make[1]: ディレクトリ `/home/gate/gate-toroku-system/ip-show' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/ip-withdraw' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-ip-withdraw.PL > gate-ip- withdraw.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-ip-withdraw.CGI > gate-ip-withdraw.cgi
make[1]: ディレクトリ `/home/gate/gate-toroku-system/ip-withdraw' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-zone' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-db-to-zone.PL > gate-db-to-zone.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-zone' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/gate-ip-update' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-ip-update.PL > gate-ip-update.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/gate-ip-update' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-accept' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-accept.PL > gate-user- accept.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-accept.CGI > gate-user-  accept.cgi
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-accept' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-apply' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-apply.PL > gate-user-apply.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-apply.CGI > gate-user-apply.cgi
sed s#GATECONFDIR#\'/etc/gate\'# gate-group-apply.CGI > gate-group-apply.cgi
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-apply' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-list' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-list.PL > gate-user-list.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-list' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-renew' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-renew.PL > gate-user-renew.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-renew.CGI > gate-user-renew.cgi
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-renew' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-show' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-show.PL > gate-user-show.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-show.CGI > gate-user-show.cgi
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-show' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-status' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-status.PL > gate-user-status.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-status' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-withdraw' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-withdraw.PL > gate-user-withdraw.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-withdraw.CGI > gate-user-withdraw.cgi
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-withdraw' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-authkey-lock' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-authkey-lock.PL > gate-user-authkey-lock.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-user-authkey-unlock.PL > gate-user-authkey-unlock.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/user-authkey-lock' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-ezmlm' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-db-to-ezmlm.PL > gate-db-to-ezmlm.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-ezmlm' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-group' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-db-to-group.PL > gate-db-to-group.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-group' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-passwd' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-db-to-passwd.PL > gate-db-to-passwd.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-passwd' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-shadow' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-db-to-shadow.PL > gate-db-to-shadow.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-shadow' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-sudoers' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-db-to-sudoers.PL > gate-db-to-sudoers.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-sudoers' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-sigen' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-db-to-sigen.PL > gate-dbto-sigen.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-sigen' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-dvlop' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-db-to-dvlop.PL > gate-db-to-dvlop.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/db-to-dvlop' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-dot-qmail' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-make-dot-qmail.PL > gate-make-dot-qmail.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-dot-qmail' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-home' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-make-home.PL > gate-make-home.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-remove-home.PL > gate-remove-home.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-home' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-authkey' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-make-authkey.PL > gate-make-authkey.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-authkey' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-htpasswd' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-make-htpasswd.PL > gate-make-htpasswd.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-htpasswd' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-smtppasswd' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-make-smtppasswd.PL > gate-make-smtppasswd.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-smtppasswd' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-imappasswd' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-make-imappasswd.PL > gate-make-imappasswd.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-imappasswd' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-mailpasswd' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-make-mailpasswd.PL > gate-make-mailpasswd.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/make-mailpasswd' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/if_sndr_from' に入ります
install if_sndr_from.pl /usr/local/gate/bin/if_sndr_from.pl
install: cannot create regular file `/usr/local/gate/bin/if_sndr_from.pl': その ようなファイルやディレクトリはありません
make[1]: *** [install] エラー 1
make[1]: ディレクトリ `/home/gate/gate-toroku-system/if_sndr_from' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/mailpasswd' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# mailpasswd.PL > mailpasswd.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/mailpasswd' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/gate-daily' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-daily.PL > gate-daily.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-april.PL > gate-april.pl
sed s#GATECONFDIR#\'/etc/gate\'# gate-may.PL > gate-may.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/gate-daily' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/gate-db-update' に入ります
sed s#GATECONFDIR#\'/etc/gate\'# gate-db-update.PL > gate-db-update.pl
make[1]: ディレクトリ `/home/gate/gate-toroku-system/gate-db-update' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/include' に入ります
make[1]: `all' に対して行うべき事はありません.
make[1]: ディレクトリ `/home/gate/gate-toroku-system/include' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/html' に入ります
/usr/bin/perl replacer.pl index.sr
/usr/bin/perl replacer.pl group-koumoku.sr
/usr/bin/perl replacer.pl user-koumoku.sr
/usr/bin/perl replacer.pl index-passwd.sr
/usr/bin/perl replacer.pl index-passwd-authkey.sr
/usr/bin/perl replacer.pl group-sudo.sr
/usr/bin/perl replacer.pl index-ip.sr
/usr/bin/perl replacer.pl index-user.sr
/usr/bin/perl replacer.pl ip-get.sr
/usr/bin/perl replacer.pl ip-info.sr
/usr/bin/perl replacer.pl rule.sr
/usr/bin/perl replacer.pl user-authkey.sr
make[1]: ディレクトリ `/home/gate/gate-toroku-system/html' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/man' に入ります
htroff -man -a -u gate-toroku-system.1
make[1]: htroff: コマンドが見つかりませんでした
make[1]: *** [gate-toroku-system.htm] エラー 127
make[1]: ディレクトリ `/home/gate/gate-toroku-system/man' から出ます
make[1]: ディレクトリ `/home/gate/gate-toroku-system/man' に入ります
htroff -man -a -u gate-toroku-system.1
make[1]: htroff: コマンドが見つかりませんでした
make[1]: *** [gate-toroku-system.htm] エラー 127
make[1]: ディレクトリ `/home/gate/gate-toroku-system/man' から出ます

[ITPASSサーバ構築ドキュメント へ戻る]

Last modified:2011/11/21 14:16:01
Keyword(s):
References:[[ITPASS2011]2011年度サーバ構築ログ]