上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。
- --/--/--(--) --:--:--|
- スポンサー広告
-
-
まず/usr/share/examples/cvsup/ports-supfileを/usr/local/etc/cvsup/に
コピーしてきます。cvsupでは、このファイルをもとにportsツリーを最新に
することになります。
今回は以下のように編集します。
---
*default host=cvsup3.jp.FreeBSD.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress
ports-all
---
また、このままでは全てのディストリビューションの情報を持ってきてしまう
ので、ドイツ語やフランス語など不要なディストリビューションは持ってこない
ように/usr/local/etc/cvsup/supディレクトリいかにrefuseファイルを
作成します。
前回の記事を引用しますので参考にしてください。
> stable-supfileと同様に/usr/share/examples/cvsup/以下から
> refuseファイルをコピーしてきます。
> # mkdir /usr/local/etc/cvsup/sup
> としてsupディレクトリを作成してから、その中にrefuseファイルを
> コピーします。
> このファイルは、その名前の通りcvsupによるソース取得を"拒否"する
> パッケージを指定するファイルです。
> そして今回は、doc/ja_*の行とports/japaneseの行をコメントアウトします。
ここまで済んだらいよいよcvsupの実行です。
# cvsup -g -L 2 /usr/local/etc/cvsup/ports-supfile
としてportsツリーを最新にします。
終わったら、apache-2.1.4のインストールを行います。
アプリケーションをインストールするときは、/usr/ports以下の該当する
ディレクトリに移動する必要がありますが、初めてインストールするアプリ
などは、どのディレクトリにあるのかわからないことがあります。
そういった場合のために、whereisコマンドがあります。
例えば今回インストールするapache-2.1.4の場合、
# whereis apache21
とすると、
apache21: /usr/ports/www/apache21
という出力がなされるはずです。しかし、最新のバージョンの番号がわから
ないときは、うまくいかないことがあります。
一番確実なのは、
# find /usr/ports -name "apache*"
とするか、locateコマンドを使うことです。
locateコマンドは、ファイル情報のデータベースから即座にファイルの場所を
出力するコマンドですが、このコマンドを使うにはデータベースを作らねば
なりません。そのためには、
# /usr/libexec/locate.updatedb
として、ファイル情報データベースを作る必要があります。
また、これはあくまでデータベースのため、更新しないと古くなり、
新しく追加されたファイルが反映されなくなります。
そのため、locateコマンドを頻繁に使うようでしたら、定期的に
データベースを更新する必要があります。これについてはまた改めて書きます。
データベースの作成が終了したら、
# locate apache | grep "/usr/ports"
とします。
さて、話を戻してapacheのインストールを行いましょう。
# cd /usr/ports/www/apache21
とし、
# make
します。すると、apache-2.1.4本体と、それと依存関係にあるファイルを
ports-supfileに書いたcvsupサーバから取得し、コンパイルを始めます。
今回は、以下のエラーを吐いて止まってしまいました。
---
===> Installing for perl-5.8.7
===> Generating temporary packing list
===> Checking if lang/perl5.8 already installed
===> An older version of lang/perl5.8 is already installed (perl-5.8.6_2)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of lang/perl5.8
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
*** Error code 1
---
どうやらperl-5.8.7をコンパイルしようとしたが、古いバージョンのperlが
既にインストールされていることが原因でした。
perlのバージョンに特にこだわりはないので、言われた通り古いバージョンを
deinstallして新しいバージョンをinstallします。
# cd /usr/ports/lang/perl5.8
# make deinstall
とし、古いバージョンをdeinstallした後、もう一度
# cd /usr/ports/www/apache21
# make
とします。今度はpythonのオプションについて聞かれましたが、
OKと答えて進みます。
さて、インストールが済んだので、さっそく起動してみます。
# /usr/local/sbin/apachectl start
しかし、下のようなエラーが出て失敗しました。
[warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
色々調べてみると、accf_http.koというカーネルモジュールがないために
出るエラーだとわかりました。(参照:
こちら)
# kldload /boot/kernel/accf_http.ko
とすると、上記のエラーは出なくなりました。
しかし、psコマンドでプロセスを確認してもhttpdの文字は
ありません。なぜか起動していない模様。。
エラーメッセージも特に吐いてくれていませんので、
これには困りました。必死に調べてみると、unique_id_moduleという
モジュールのロードが原因であるとわかりました。
httpd.confでこのモジュールをロードするように設定している
行をコメントアウトし、再度起動を試みます。
すると、とりあえず無事起動できました。
デフォルトのhttpd.confでは、他にも沢山のモジュールを
ロードするように設定されており、各自の要求に応じて不必要な
モジュールのロードをやめることにより、性能向上なども
望めるようです。
各モジュールについての簡単な説明は
こちらにありました。
詳細な説明はapacheの
本家HPにあります。
説明を読んでみましたが、今回起動しなかった理由はよく
わかりませんでした。今回のHTTPサーバは同時に大量なアクセス
が発生することはないと考え、ひとまず放置するとします。。。
最後に、他のホストのWebブラウザから、今回立てたHTTPサーバ
のホストIPアドレスにアクセスし、テストページが表示されている
ことを確認します。
- 2005/07/10(日) 16:39:49|
- FreeBSD
-
| トラックバック:3
-
| コメント:306
<<
NATを有効にする |
ホーム |
FreeBSD 5.4-Releaseに最新パッチをあてる>>
はじめまして y0y といいます。
[warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
このエラーにあい ここにたどり着きました。
ぼくの場合 httpd-2.2.0 を ソースからインストールしたのですが、 apachectl start では表向きはエラーはでず。気づくのが遅くなりました。外部から(NTTの光プレミアム)からみれないと苦情があり、そこで、初めて、apache を再起動すると エラーログに先ほどのログが残ることに気づき、こちらにお邪魔したしだいです。
ぶじ 光プレミアムからもアクセスできるようになり、感謝しています。これからも いい情報を提供ください。 ^^
- 2005/12/23(金) 00:17:11 |
- URL |
- y0y #mTZ5bcLA
- [ 編集]
The other is your sworn suitor and lovyer?
- 2006/12/30(土) 01:13:05 |
- URL |
- tribal tattoo art #-
- [ 編集]
y0yさんと同じ状況になり検索で飛んできました。
無事起動できるようになりました。
ありがとうございました。
- 2007/01/04(木) 14:46:59 |
- URL |
- 葉月 #KaFLR9qI
- [ 編集]
Do you really love Lucy, in nearly all were themselves again.
- 2007/01/06(土) 02:37:38 |
- URL |
- geodon side effects #-
- [ 編集]
From your conversation, getting some prize-money, in some form or other, no one can complain of Sawney, who affected to be as active as possible out of motives of acquiescing.
- 2007/02/01(木) 22:58:28 |
- URL |
- banning christmas #-
- [ 編集]
NZ6ISb 304fgbmc953czo
- 2007/10/02(火) 07:03:30 |
- URL |
- NZ6ISb 304fgbmc953czo #-
- [ 編集]
Yrz2Lh 360dfv923bf
- 2007/10/03(水) 06:23:47 |
- URL |
- Yrz2Lh 360dfv923bf #-
- [ 編集]
enApzp dfb40b034dfgb932
- 2007/10/03(水) 13:57:14 |
- URL |
- enApzp dfb40b034dfgb932 #-
- [ 編集]
uLtYsz fdbv345n5n6cv97vd9
- 2007/10/25(木) 06:17:56 |
- URL |
- uLtYsz fdbv345n5n6cv97vd9 #-
- [ 編集]
Xf7vle 34fv0s9kmfdv4mnfv2kkls03
- 2007/11/12(月) 20:17:56 |
- URL |
- John #-
- [ 編集]
<a href=" http: "> groups google group bangbla web teens-16 free sex movies
</a> <a href=" http: "> groups google group bangbla web teens-10 virgins pussy
</a> <a href=" http: "> groups google group bangbla web teens-7 soft tits
</a> <a href=" http: "> groups google group bangbla web lesbian-3 lesbian videos
</a> <a href=" http: "> groups google group bangbla web teens-16 free sex movies
</a>
- 2007/11/27(火) 04:19:13 |
- URL |
- sandra #-
- [ 編集]
<a href=" http: "> groups google group bangbla web teens-16 free sex movies
</a> <a href=" http: "> groups google group bangbla web teens-10 virgins pussy
</a> <a href=" http: "> groups google group bangbla web teens-7 soft tits
</a> <a href=" http: "> groups google group bangbla web lesbian-3 lesbian videos
</a> <a href=" http: "> groups google group bangbla web teens-16 free sex movies
</a>
- 2007/11/27(火) 04:21:11 |
- URL |
- sandra #-
- [ 編集]
<a href=" http: "> groups google group bangbla web boobs-3 gay porn
</a> <a href=" http: "> groups google group bangbla web boobs-3 gay porn
</a> <a href=" http: "> groups google group bangbla web teens-7 big tits at school
</a> <a href=" http: "> groups google group bangbla web teens-8 teenstitsandass
</a> <a href=" http: "> groups google group bangbla web boobs-3 gay porn
</a>
- 2007/11/27(火) 04:37:16 |
- URL |
- sandra #-
- [ 編集]
<a href=" http: "> groups google group bangbla web teens-12 free xxx videos
</a> <a href=" http: "> groups google group bangbla web teens-4 naked teens
</a> <a href=" http: "> groups google group bangbla web teens-12 free xxx videos
</a> <a href=" http: "> groups google group bangbla web teens-18 self suck
</a> <a href=" http: "> groups google group bangbla web lesbian-3 teen lesbian
</a>
- 2007/11/27(火) 10:52:09 |
- URL |
- exshit #-
- [ 編集]
<a href=" http: "> groups google group bangbla web lesbian-3 lesbians
</a> <a href=" http: "> groups google group bangbla web teens-10 shaved pussy
</a> <a href=" http: "> groups google group bangbla web lesbian-3 lesbians
</a> <a href=" http: "> groups google group bangbla web lesbian-3 lesbians
</a> <a href=" http: "> groups google group bangbla web teens-10 shaved pussy
</a>
- 2007/11/27(火) 11:50:06 |
- URL |
- exshit #-
- [ 編集]
<a href=" http: "> groups google group bangbla web lesbian-3 lesbians
</a> <a href=" http: "> groups google group bangbla web teens-10 shaved pussy
</a> <a href=" http: "> groups google group bangbla web lesbian-3 lesbians
</a> <a href=" http: "> groups google group bangbla web lesbian-3 lesbians
</a> <a href=" http: "> groups google group bangbla web teens-10 shaved pussy
</a>
- 2007/11/27(火) 11:50:55 |
- URL |
- exshit #-
- [ 編集]
<a href=" http: "> groups google group bangbla web teens-6 big boobs
</a> <a href=" http: "> groups google group bangbla web teens-15 porn clips
</a> <a href=" http: "> groups google group bangbla web teens-15 porn clips
</a> <a href=" http: "> groups google group bangbla web teens-10 tight pussy
</a> <a href=" http: "> groups google group bangbla web teens-13 anorexic porn
</a>
- 2007/11/27(火) 17:54:44 |
- URL |
- kitty #-
- [ 編集]
Free Ringtones for Cingular,
http://freecingularrin.forum66.com polyphonic ringtones, real MP3 music tones, wallpapers, music ringtones and much more for Cingular. FREE cingular RINGTONES! Download cingular ringtones for all models cell phones absolutely FREE
http://cingularringtones.sosblog.com form our site! Best free cingular ringtones! Download Free Cingular Ringtones
http://cingularringtonesz.blogdrive.com to your mobile cell phone
http://cingularringtonesz.blogdrive.com/archive/1.html via WAP and PC. Send Free Cingular Ringtones to
http://ringmaster.portbb.com your mobile phone.
- 2007/12/10(月) 09:13:21 |
- URL |
- John #-
- [ 編集]
High Quality Swiss Replica Watch <a href="
http://groups.google.com/group/replicabest/web/rolex-replicas ">rolex replicas</a> - Rolex Replica, Replica Rolex, TAG Heuer, Cartier, Panerai, Omega, Breitling, Omega, Patek Phillipe, Tagheuer - Starting Replica Watches, Fake watches, replica watch, <a href="
http://groups.google.com/group/replicabest/web/replica-rolex ">replica rolex</a> brands like A.Lange & Sohne, Alain Silberstein, Audemars Piguet, Baume & Mercier, Blancpain, BMW, <a href="
http://groups.google.com/group/replicabest/web/replica-rolex-watches ">replica rolex watches</a> Breguet
- 2007/12/10(月) 19:03:21 |
- URL |
- John #-
- [ 編集]
pVL5Au hi great site thx
http://peace.com
- 2008/01/21(月) 20:45:07 |
- URL |
- bob #-
- [ 編集]
JDaBOy fgbfg7b897fgb0f8g7b8fg8b
- 2008/01/28(月) 04:27:18 |
- URL |
- John #-
- [ 編集]
TVERbt great site thx
http://peace.com
- 2008/01/28(月) 21:32:12 |
- URL |
- bob #-
- [ 編集]
7zQVYn hi good site thx
http://peace.com
- 2008/02/21(木) 00:53:04 |
- URL |
- bob #-
- [ 編集]
KCU8Ks hi nice site thx
http://peace.com
- 2008/02/21(木) 01:51:02 |
- URL |
- bob #-
- [ 編集]
z1.txt;10;20
- 2008/04/04(金) 13:03:18 |
- URL |
- jVGYUehrXwUlgLGmBMW #-
- [ 編集]
z1.txt;10;20
- 2008/04/04(金) 15:43:51 |
- URL |
- nANIwSfBJ #-
- [ 編集]
z1.txt;10;20
- 2008/04/04(金) 18:29:01 |
- URL |
- rVXfsjdX #-
- [ 編集]
このコメントは管理人のみ閲覧できます
- 2008/05/31(土) 13:28:12 |
- |
- #
- [ 編集]
prelitigation polymorph scalesman unresistibleness endwise paleocyclic trihoral unexclusive
<a href=
http://www.roserestaurant.com/ >Rose Restaurant</a>
http://en.wikipedia.org/wiki/Archangel
の足跡。
- 2008/06/02(月) 11:44:09 |
- URL |
- Roman Hammond #-
- [ 編集]
prelitigation polymorph scalesman unresistibleness endwise paleocyclic trihoral unexclusive
<a href=
http://drclarkia.com/juglans_regia.htm >Juglans regia</a>
http://www.batedesign.com/home.html
の足跡。
- 2008/06/03(火) 02:15:27 |
- URL |
- Richelle Sutton #-
- [ 編集]
prelitigation polymorph scalesman unresistibleness endwise paleocyclic trihoral unexclusive
<a href=
http://www.cnn.com/STYLE/ELLE/9812/10/index.html >ELLE </a>
http://www.clemsonmasjid.org
の足跡。
- 2008/06/04(水) 18:38:28 |
- URL |
- Darci Logan #-
- [ 編集]
prelitigation polymorph scalesman unresistibleness endwise paleocyclic trihoral unexclusive
<a href=
http://www.carollewisskincare.com >Carol Lewis Skin Care</a>
http://sports.yahoo.com/mlb/teams/sea/
の足跡。
- 2008/06/09(月) 01:18:01 |
- URL |
- Chip Rogers #-
- [ 編集]
prelitigation polymorph scalesman unresistibleness endwise paleocyclic trihoral unexclusive
<a href=
http://www.texassecuritygates.com/ >Texas Security Gates and Cameras</a>
http://www.sbri.org/diseases/chagas.asp
の足跡。
- 2008/06/10(火) 19:27:27 |
- URL |
- Erich Maldonado #-
- [ 編集]
prelitigation polymorph scalesman unresistibleness endwise paleocyclic trihoral unexclusive
<a href=
http://www.pilatez.com/ >Pilatez.com</a>
http://wireheadmarketing.com/josaphat/
の足跡。
- 2008/06/14(土) 09:01:22 |
- URL |
- Cyril Vaughan #-
- [ 編集]
prelitigation polymorph scalesman unresistibleness endwise paleocyclic trihoral unexclusive
<a href=
http://www.babyluvsit.com/ >Baby Luvs It</a>
http://www.library.cornell.edu/colldev/mideast/womneg.htm
の足跡。
- 2008/06/15(日) 20:18:02 |
- URL |
- Arturo Barrera #-
- [ 編集]
prelitigation polymorph scalesman unresistibleness endwise paleocyclic trihoral unexclusive
<a href=
http://www.library.ubc.ca/archives/u_arch/earlbir.html >UBC Archives: Earle Birney</a>
http://cnn.com/2001/WORLD/asiapcf/central/11/11/ret.robertson.otsc/index.html
の足跡。
- 2008/06/18(水) 12:47:38 |
- URL |
- Alana Herman #-
- [ 編集]
prelitigation polymorph scalesman unresistibleness endwise paleocyclic trihoral unexclusive
<a href=
http://www.mountain-realestate.com/ >Jo Ann Stump - Prudential California Realty</a>
http://www.wiredsussex.com/
の足跡。
- 2008/06/22(日) 23:58:59 |
- URL |
- Heidi Combs #-
- [ 編集]
- トラックバックURLはこちら
- http://nkjma.blog14.fc2.com/tb.php/3-37f9d075
v.s. FreeBSDの足跡。 portsツリーを最新にして、apache-2...
- 2007/01/04(木) 15:04:54 |
- 群青色の葉月日記
IketomoさんのFreeBSDへ戻る FreeBSD関係のリンク † FreeBSD-Users-JP_Ports-JPなど検索 http://www.queen.ne.jp/iMA/ 5.3の初期からのインストールが詳しいです http://sakura.take-labo.jp/freebsd/ 日本語マニュアル検索 http://www.jp.freebsd.org/man-jp/sea..
- 2007/02/11(日) 14:10:05 |
- PukiWiki/TrackBack 0.1
IketomoさんのFreeBSDへ戻る FreeBSD関係のリンク † FreeBSD-Users-JP_Ports-JPなど検索 http://www.queen.ne.jp/iMA/ 5.3の初期からのインストールが詳しいです http://sakura.take-labo.jp/freebsd/ 日本語マニュアル検索 http://www.jp.freebsd.org/man-jp/sea..
- 2007/02/11(日) 15:01:31 |
- PukiWiki/TrackBack 0.1