2007年5月10日
ANALYZE
ブログラのバナーサーバが集計時に異様に重くなることに気づいた。いや、実際にはバナーサーバが参照しているPostgreSQLのDBサーバが重い模様。サーバ交換をして一定期間(2週間)が経って現れた現象で、単純に考えればアクセス数が増えた等の理由かと思ったけど、実際にそこまでアクセス数が伸びているわけではなかったので頭を抱えてしまった。最初はハードの原因を疑ったけど、オヤジ(プログラマ)が「そういえば1回もANALYZEしてないや」ということに気づき、早速ANALYZE。すると、翌日の集計時の負荷は格段に減る結果に。
DBの増え方が尋常じゃないのでVACCUME ANALYZEとか気軽にできなかったのですが、ANALYZEだけでも十分効果があることが判明。うーん、まだまだ大規模運用のコツがつかめてないなぁ。
投稿者 ymkx : 06:49
2007年5月 6日
shared_buffers = 32MB
なんか、ブログラのロギングデータベースサーバの動きが妙なので色々調べていると8.1.3のshared_buffersの項目の異変に気づく。
shared_buffers = 32MB # min 128kB or max_connections*16kB
# (change requires restart)
ん? なんか違和感があるなぁ。そう思って古めの奴を見てみると、
shared_buffers = 1000 # min 16, at least max_connections*2, 8KB each
おほ? やっぱ値が全然違うっていうか単位が違う気がする。なんだろー、なんだろー??? ちょっと、これは深そうなのでGW明けに調べる。
投稿者 ymkx : 11:56
2007年4月17日
非ブロードバンド
今もそうなのですが、ここのところ社外からのネットアクセスの機会が多く、そのたびにブロードバンドのありがたみを再認識させられます。メールとかはまだしも、最近のWebサイトって当たり前のように画像はあるし、下手したら動画広告みたいなのまでありやがって、全然表示されない。
Willcomを使用しているのですが、256kbpsって意外と遅いんですよね。そういう意味では、イーモバイルは気になるのですが、私がメインで使用するエリアは当然エリア外。下手したらWillcomでさえ入りにくい場所でもありますからね。
なかなか難しい話かもしれないけど、サーキットでのネットアクセスを全面的に可能にしたい。F1はもちろんですが、最近ではSuperGTでもライブタイミングを提供してくれますからね。レース中の情報提供インフラとしては絶対的に有利だと思います。サーキットという限られた空間ではありますが、インフラ事業となるとなかなか手を出せない。だいたい、一年に数回のことですしね。うーん、簡単じゃないなぁ、いろいろ。
とか、朝っぱらからひと仕事終えて、ひとエントリ。
投稿者 ymkx : 08:57
2007年4月16日
Postgresql
なんか、このブログの管理画面に入れないなぁと思ってログをチェックすると、なにやら穏やかじゃない状態だったようだ。でもって、その結果Postgresqlが死んでしまったみたい。原因はスパムトラックバック。もー、本当にどうしようもないなぁ。対策を考えねば、、、。
いやーん、namedも死んでるよ、、、。
投稿者 ymkx : 21:38
2007年4月13日
CentOS 5 Releases
ついに来ました! が、どのミラーも激重状態なので、DL&INSは週明けかなぁ。昨日届いたクアッドにはCentOS4.4を入れてPostgreSQLもコンパイル済みでしたが、CentOS5に入れ替えちゃえ宣言。しかし、CD-ROM 7枚ってスゴイ量だな。
投稿者 ymkx : 11:21
2007年4月 4日
クローラーのDNS
昨日、サーバ移転したサイトがあるのですが、さっき旧サーバのログを見てみたら面白かった。なんか、旧サーバにはクローラーしか来ていないのね。TTLが微妙な長さだったけど、既にそれも切れてるはずなので通常運用のDNSでは旧サーバを返さないはずなんだよねー。クローラーが使ってるDNS、もしくはクローラーが独自に名前解決してるのかもしれないんだけど、そのあたりの問題なのでしょうな。
もう、落としちゃっていいのですが、このあともいつまでクローラーが来るのか興味があるので、しばらく立てておこう。
pc218.maninvestmentproducts.com - - [04/Apr/2007:09:48:23 +0900] "GET /XXXX/XXXX.css HTTP/1.1" 304 - "-" "Mozilla/4.0 (compatible;)"
xd-22-132-a8.bta.net.cn - - [04/Apr/2007:10:06:57 +0900] "GET / HTTP/1.1" 200 7770 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"
egspd42008.ask.com - - [04/Apr/2007:11:02:28 +0900] "GET /ew/bg.html HTTP/1.0" 200 60 "-" "Mozilla/2.0 (compatible; Ask Jeeves/Teoma; +http://about.ask.com/en/docs/about/webmasters.shtml)"
egspd42008.ask.com - - [04/Apr/2007:11:20:04 +0900] "GET /XXXX/028/index.html HTTP/1.0" 404 213 "-" "Mozilla/2.0 (compatible; Ask Jeeves/Teoma; +http://about.ask.com/en/docs/about/webmasters.shtml)"
egspd42008.ask.com - - [04/Apr/2007:11:34:01 +0900] "GET /robots.txt HTTP/1.0" 404 204 "-" "Mozilla/2.0 (compatible; Ask Jeeves/Teoma; +http://about.ask.com/en/docs/about/webmasters.shtml)"
egspd42008.ask.com - - [04/Apr/2007:11:34:16 +0900] "GET /XXXX/bn_05.html HTTP/1.0" 200 8298 "-" "Mozilla/2.0 (compatible; Ask Jeeves/Teoma; +http://about.ask.com/en/docs/about/webmasters.shtml)"
crawler4.irl.cs.tamu.edu - - [04/Apr/2007:11:39:15 +0900] "GET /XXXX/055/ HTTP/1.1" 200 17347 "-" "IRLbot/3.0 (compatible; MSIE 6.0; http://irl.cs.tamu.edu/crawler)"
crawler4.irl.cs.tamu.edu - - [04/Apr/2007:11:39:55 +0900] "GET /XXXX/090/index.php HTTP/1.1" 200 18598 "-" "IRLbot/3.0 (compatible; MSIE 6.0; http://irl.cs.tamu.edu/crawler)"
投稿者 ymkx : 11:53
YAPC::ASIA 2007
午後からぽちぽちと行く予定
2007-04-04
13:30 perl I18N in 20 minutes Dan Kogai
13:45 Perlネットワークプログラミング再考 Naoya Ito
14:45 Everything Vox Ben Trott
15:30 Inside livedoor 2006-2007 Tomohiro Ikebe
2007-04-05
09:30 ふつうのPerl6入門 Dan Kogai
10:15 web apiで遊び倒す Kei-ichi Daiba
11:00 Mylingual - There's More Than One Language To Do It Kazuho Oku
11:30 自文書抽出日本的住所 Kazuhiro Osawa
13:15 s/ Perl5 Regular Expression / Perl6 Regex and Rule /mixes; Yoshinori Takesako
14:45 Writing Pluggable software Tatsuhiko Miyagawa
投稿者 ymkx : 10:52
2007年4月 2日
Postfixも新バージョンリリース
基本的にqmailな文化なのですが、最近はPostfixもいじりたい君。
シェア急伸中のMTA「Postfix」の最新安定版がリリース
じっくり使ってみたいMTAではある。うちの会社では運用系はやっぱqmailなのですが、単にサーバで動かすMTAとしてのシェアは徐々に伸びつつある。
投稿者 ymkx : 20:28
Bind 9.4 リリース
そういえば、確かにBindはここのところバージョンアップしていませんでしたね。
性能を強化した DNS サーバーの新版『BIND 9.4』が登場
ゾーンを持っているDNSを変えるわけにはいけないのですが、とりあえずキャッシュサーバに試しに入れてみようかねぇ。
投稿者 ymkx : 20:21
2007年3月22日
VPNの謎
今、滋賀で行われている言語処理学会に来ているのですが、最近の学会ってのは便利でして必ずネットアクセスができるようになっているのですよね。で、そのネットワークから事務所にVPN経由で接続をするわけですが、VPN接続をしているとネットにもアクセスできないしメールも送れ無くなっちゃうのですよね。はじめは、この学会のネットワークの問題でできないのかと思ったのですが、ふと気づいたんですよ。繋がらないんじゃ無くって、単にDNSが引けていないだけだって。
ちょっとWindowsのネットワークに疎いので下手なこと書けないのですが、たぶんこういう展開なんだと思います。
状況はこんな感じ。
1.学会のネットに接続
2.VPN接続
3.ネットアクセス
4.DNSで名前解決
[ここで止まっちゃう]
で、DOSでnslookupしても引けないですよ。なんでかなーって思案していたのですが、結論から言えば学会ネットワークのDNSが拒否ってるわけでしてその原因がVPNしたときに割り振られるIPを何故だかDNSの問い合わせの際につかっちゃってて、DNSのcacheサーバの設定でresolveを拒否っているのでは、という結論。VPNを切断すると名前解決できるからね。
でで、そもそもVPN接続してるのにVPN経由じゃないネットワークのDNSを見に行っちゃってるのが問題で、はじめっからVPN接続の際のDNSを設定しておけばよい、というわけ。
RT57iのWeb設定ではDNSをVPNクライアントに割り振る項目がないのかなぁ? ちょっと、記憶が定かではありませんが、ネットボランチのWebインタフェースの微妙な詰めの甘さを考えると十分あり得そう。
とかなんとかでした。
結局、学会に来てても仕事仕事仕事~。学会ネットワークを商用利用してたら怒られそうだなぁ。
投稿者 ymkx : 15:46
2007年3月20日
procs stopped reporting (PURPLE)
昨日LVSを導入した関係でhobbitをいじったのですが、今朝からそのうちの一台が妙なステータスになってしまったのですよ。でもって、こんなメールがきたぜ。
Subject: Hobbit [xxx] xxx:procs stopped reporting (PURPLE) Date: Tue, 20 Mar 2007 10:36:46 +0900clear Tue Mar 20 08:05:47 JST 2007 - Processes NOT ok
&clear No process checks definedPID PPID USER STARTED S PRI %CPU TIME %MEM RSZ VSZ CMD
......
PURPLEってなんですか? 監視不可??? 他と設定は同じなんだけどなぁ。結局、実害はなさそうだったので、Administration→Enable/disableで強制的にprocsを止めてしまったぜ。
いまいちhobbitって挙動が理解できなかったりするんだよねぇ。
投稿者 ymkx : 11:35
2007年3月19日
LVS快調
ブログラのバナーサーバが重くて重くてしゃれになっていなかったのでサーバ追加をしました。残念ながらグローバルなIPが余っていなかったので、前々から気になっていたLVS(ipvsadm)のNAT構成でサーバ増設をしてみました。事前テストはしていたのでLVSの設定自体は問題なかったけど、ネットワーク回りで混乱混乱。現行のネットワークに新たにネットワークを追加するってのはなめちゃいかんのぉ。
で、無事LVSサーバを稼働させてええ案配に負荷分散開始。が、2台でも負荷高め、、、むー、これ以上設置すると電源問題が、、、。でも、LVSサーバには全くと言っていいほど負荷がかかっていない事実に驚愕。ホントにこれなら20台くらいは余裕でいけそうじゃん?
とかなんとかで、今日一日が終わってしまった、、、。原稿書かねば、メールも書かねば、システムも作らねば、、、明日の言語処理学会はあきらめましたー、ぐーぐるー!
投稿者 ymkx : 20:16
2007年3月17日
東京レッドハット会議
行きます、東京レッドハット会議。もー、Linuxとかに縁のない人が聞いたら、どんな怪しいイベントなんだろー、クラブイベント? ちぇけらー! とか思われたり。母親が聞いたらさぞかし心配するだろうなー、とか。それにしてもGPSコンサルタントってなんじゃいな? このころにはCentOS5も出てるだろうなぁー。
投稿者 ymkx : 00:59
2007年3月14日
CentOS5β
無償で使えるRHELクローン「CentOS 5」のβ版が公開
うひゃー、もうβ版が出たのか。こりゃ、RHEL正式公開後早いタイミングでCentOS5も出そうですね。しばらく新サーバの投入は控えよう、そうしよう。
投稿者 ymkx : 17:26
2007年2月28日
パケットが落ちるなぁ
某データセンター内のサーバへのpingが25%のpacket loss。うーん、メールが取り辛いなぁ。サービスを提供している会社のWebにも繋がりにくいみたいなので、けっこう上位のところでトラブッているようだ。それでも、その会社のサポートページには『正常』の表示が、、、。
投稿者 ymkx : 11:02
2007年2月27日
LVS
アキバでええ案配のサーバを4台購入して自宅にて繰り広げていた負荷分散実験ですが、LVSであっけなく構築できてしまって拍子抜け。本当は、bondingしてheartbeatでLVSを二重化、でもってldirectordで実サーバの監視とかしてみたいですが、環境及びリソースの問題でその辺りはまた今後の課題。とりあえず、LVS単体で複数webサーバへの負荷分散を実践します。というか、一刻も早く導入しなくちゃいけないものがあるのじゃよ。
投稿者 ymkx : 01:48
2007年2月26日
がーーん、、、
アラートメールの受けすぎで、業務用携帯の電池が切れてしまった、充電器は会社、、、。むー、さすがに何か起きたときに怖いから、ちょっくら充電器を調達してきますぜ。
投稿者 ymkx : 23:52
qmail-smtpd
なんだかさっきからsmtpのアラートが出ているのでチェックしてみると、qmail-smtpdがたくさん上がっててsmtp接続に時間がかかっている様子。大量のメールが来てるのかどうかわかりませんが、とりあえずサーバ負荷も上がっているわけではないのでconcurrencyincomingなる項目を設定。
とかやってる間に、qmail-smtpdの数激減、、、。なんだろうなー。それにしてもconcurrencyincomingって全然ドキュメントの記述がない項目だなぁ。
concurrencyincoming なし /service/qmail-smtpd/run 最大同時 SMTP 接続受け付け数
投稿者 ymkx : 23:44
2007年2月22日
[Hobbit] Got over-size message
なんかアラートが送られてくるなぁと思って調べてみると、某サーバのprocsステータスが紫色に。おー、紫アラートはじめて見たー。と、感動してる場合じゃない、原因究明のためクライアントプローブが動いているサーバに急行ー。で、hobbitclient.logをチェックしてみるとこんなログが。
2007-02-22 10:58:29 Got over-size message, truncating at 528383 bytes (max: 524288)
2007-02-22 10:58:29 Bad data in channel, skipping it
2007-02-22 10:58:29 Got over-size message, truncating at 528383 bytes (max: 524288)
2007-02-22 10:58:29 Dropping (more) garbled data
2007-02-22 10:58:29 Dropping (more) garbled data
2007-02-22 10:58:29 Failed to get a message, terminating
うーん、なんか見覚えがあるなぁ。そういえば、サーバ側でも同じようなログがhobbitd.logに出てた。
2007-02-21 17:33:37 Oversize status msg from xxx.xxx.xxx.xxx for xxx:ports truncated (n=518283, limit=262144)
このときはgglった結果、hobbitserver.cfgにMAXMSG_STATUSを設定して一件落着してたのだ。じゃー、同じようにしてみようと思いクライアントプローブのhobbitclient.cfgに同様の記述をしてみる。が、状況は変らず相変わらず同様のログがはき出されますな。
いろいろgglってみたけど回答が見えてこない。付属の文章も見てみるけど、わからんちん。なんかこの紫色のアラートは不気味なので(赤色の場合は不気味とか言ってる場合じゃないのだ)、気合いを入れてソースを見てみることに。
で、まずはこのメッセージを吐いてる張本人を調べると、hobbitd_worker.cで発見。
if (usedbytes >= maxmsgsize) {
/* Over-size message. Truncate it. */
errprintf("Got over-size message, truncating at %d bytes (max: %d)\n", usedbytes, maxmsgsize);
endpos = startpos + maxmsgsize;
memcpy(endpos, "\n@@\n", 4); /* Simulate end-of-message and flush data */
needmoredata = 0;
continue;
}
トリガーとなってるのはmaxmsgsizeですか、そうですか。で、そいつを辿ると、
maxmsgsize = 1024*shbufsz(chnid);
こんなの発見。さらに、shbufszを探してみると、こいつはhobbitd_buffer.cにいましたよ。
unsigned int shbufsz(enum msgchannels_t chnid)
{
unsigned int defvalue = 0, result = 0;
char *v = NULL;if (chnid != C_LAST) {
switch (chnid) {
case C_STATUS: v = getenv("MAXMSG_STATUS"); defvalue = 256; break;
case C_CLIENT: v = getenv("MAXMSG_CLIENT"); defvalue = 512; break;
case C_CLICHG: v = getenv("MAXMSG_CLICHG"); defvalue = shbufsz(C_CLIENT); break;
case C_DATA: v = getenv("MAXMSG_DATA"); defvalue = 256; break;
case C_NOTES: v = getenv("MAXMSG_NOTES"); defvalue = 256; break;
case C_STACHG: v = getenv("MAXMSG_STACHG"); defvalue = shbufsz(C_STATUS); break;
case C_PAGE: v = getenv("MAXMSG_PAGE"); defvalue = shbufsz(C_STATUS); break;
case C_ENADIS: v = getenv("MAXMSG_ENADIS"); defvalue = 32; break;
default: break;
}if (v) {
result = atoi(v);
/* See if it is an old setting in bytes */
if (result > 32*1024) result = (result / 1024);
}if (result < 32) result = defvalue;
}
else {
enum msgchannels_t i;
unsigned int isz;result = 0;
for (i=C_STATUS; (i < C_LAST); i++) {
isz = shbufsz(i);
if (isz > result) result = isz;
}
}return result;
}
ははーん、こんなパラメーターで設定するのね。というわけで、2番目のMAXMSG_CLIENTをhobbitclient.cfgに設定してみると、無事解決~。
と、思いきや、今度はサーバのhobbitdが黄色アラート。でもって、サーバ側にこんなログが、
2007-02-22 11:55:46 Oversize status msg from xxx.xxx.xxx.xxx for xxx:ports truncated (n=1021699, limit=555008)
サーバ側に送られるMSGのMAXを振り切ってるみたい。というわけで、サーバ側のMAXMSG_STATUSもさらにでかくしてみる。hobbitserver.cfgのMAXMSG_STATUSを変更して一件落着一件落着ぅー。
投稿者 ymkx : 11:46
2007年2月20日
続・Hobbitクライアントプローブ
解決したと思いこんでいたHobbitのクライアントプローブですが、サーバにデータは送れているようですが、なぜかログに
2007-02-20 14:11:02 Failed to get a message, terminating 2007-02-20 14:11:14 Failed to get a message, terminating 2007-02-20 14:16:03 Failed to get a message, terminating 2007-02-20 14:16:14 Failed to get a message, terminating 2007-02-20 14:21:03 Failed to get a message, terminating 2007-02-20 14:21:15 Failed to get a message, terminating 2007-02-20 14:26:04 Failed to get a message, terminating 2007-02-20 14:26:16 Failed to get a message, terminating 2007-02-20 14:31:04 Failed to get a message, terminating 2007-02-20 14:31:16 Failed to get a message, terminating 2007-02-20 14:36:05 Failed to get a message, terminating 2007-02-20 14:36:17 Failed to get a message, terminating 2007-02-20 14:41:06 Failed to get a message, terminating 2007-02-20 14:41:18 Failed to get a message, terminating 2007-02-20 14:46:06 Failed to get a message, terminating 2007-02-20 14:46:18 Failed to get a message, terminating
と記録され続けています。うーん、サーバとの連携部分じゃないのかなぁ。全然、クライアント側の設定はいじっていないのですが、いくつかデータがとれていない項目があるしなぁ。それに、メッセージを素直に読めば「messageがgetできない」って言ってるしなぁ...。うーん、こういうときは別のサーバにも入れて様子を見よう、そうしよう。
投稿者 ymkx : 15:11
Hobbitのクライアントプローブ
やー、この前インストールしたHobbitですが、サーバの設定は簡単だったのですが、クライアントのCPU負荷なんかをGetする為のクライアントプローブの設定ではまってしまいました。
はじめはiptablesが悪さをしているのかと思いましたが、それははずれ。で、設定を色々いじったりしてみたのですが、こんなログが
2007-02-20 13:01:05 Failed to get a message, terminating
表示されるだけ。
で、色々マニュアル文章を再読してみて、この記述を思い出す。
まず,Hobbitクライアントプローブをすべてのサーバにインストールしてください.bb-hostsにホストの一覧があるので,Hobbitクライアントは自動でホスト名を取得します,しかしbb-hostsとの名前が一致しないこともあります.そのため,クライアント名のデータが現れない場合は,Hobbitクライアントによって使われている名前とbb-hostsの名前が同じかをチェックしてください.詳細はこのFAQアイテムを見てください.
そのリンクの先が英語なのねー、とかださい理由で読んでなかったわけですが、チェックしてみたらあっさり。
The client is using another hostname than what is in the bb-hosts file. Hobbit only cares about the hosts that are in the bb-hosts file, and discards status-reports from unknown hosts. If you check the "hobbitd" column on the webserver display for the Hobbit server, you will see a report about these unknown hosts. Either reconfigure the client to use the same hostname as is in the bb-hosts file, or add a CLIENT:clienthostname tag in the bb-hosts file so Hobbit knows what host matches the client hostname. The Hobbit client can be started with a "--hostname=MYHOSTNAME" option to explicitly define the hostname that the client uses when reporting data to Hobbit.
だそうです。というわけで、クライアントプローブ起動時にbb-hostsで書かれているクライアント名を指定して起動したら、あっさりWebインタフェースにCPU等に関する項目が登場。
やー、マニュアルはちゃんと読みましょう。
投稿者 ymkx : 13:30
2007年2月19日
snmpにはまる
朝からsnmpの設定をしているけどどうにもはまってしまった。動いているはずなのに。
Timeout: No Response from xxx.xxx.xxx.xxx
設定は間違ってないはずだが、、、。今日は格闘を続けることになりそうだ、、、。
あ、さくらインターネットに依頼していた新サーバも昨日から運用開始していたのでした。色々やりたいので今回はPostfixを使用予定。うーん、こっちもはまりそう、、、。
あ、確定申告せねば。
投稿者 ymkx : 11:39
2007年2月14日
Hobbit
サーバ監視ツールHobbitをインストールしてみた。CentOS4.4ではrrdtoolが無いぜとのことでソースをゲットしてきてコンパイルしてみるもエラー。原因を探る余裕がなかったので、公式サイトから下記のrpmをゲット&インストール。
rrdtool-1.2.18-1.el4.rf.i386.rpmrrdtool-devel-1.2.18-1.el4.rf.i386.rpm
perl-rrdtool-1.2.18-1.el4.rf.i386.rpm
でもって、再びHobbit本体をコンパイル。yumに居るみたいですが、なぜかコンパイル。何が何でもコンパイル。無事、コンパイル&インストール完了。
早速監視開始。おー、結構お手軽設定だなぁ。いろんなところでパケットをドロップしている関係で、その辺りの調整を諸々。とりあえず、サーバは簡単に設定できた。
で、続いてCPU等を監視するクライアント。おー、某ディストリビューションでは簡単にコンパイルできたー。が、そこで致命的なことに気づく。Hobbitのクライアントデータは、サーバから取りに来るわけじゃなく、クライアントがサーバにデータを送るタイプなのね、、、。ローカルネットワークにサーバを置いてるので色々めんどいなぁ。現時点でも、VPNで接続しないと監視画面を見ることができないし、やっぱ外部に置くべしですな、むひひ。
投稿者 ymkx : 11:44
2007年2月 5日
自宅サーバ
なんだか、会社の電源が不足していることに対する解決を先延ばしにすべく、自宅にサーバを4台投入しました。ちょっと、電源投入後の騒音に驚きましたが、ブート後は静かだなぁ。なんか、色々計算させるとやっぱうるさくなるのだろうか...。
とりあえず、httpdとPostgreSQLの負荷分散試験。自宅の電気代がどこまで上がっちゃうか不安ですが...。
投稿者 ymkx : 23:13
2007年1月31日
kernel: ip_conntrack: table full, dropping packet.
こんなメッセージが出てますよ。
Jan 31 21:01:33 xxx kernel: ip_conntrack: table full, dropping packet.
軽くgglったらこんなページを発見。うちのサーバは30000じゃなかったですが、とりあえずこいつを増やして事なきを得た。って、こんな適当に数字をいじっちゃってよいモノか不安なのであとから調べよう。
というメモ。
あ、ダメだよかあさん、こんなページがあったよ。とりあえず数字を元に戻して、事ありになりました...。
投稿者 ymkx : 21:04
終わらないrsync
昨日調べた機能を使って、出社直後より某サーバから大量にデータをrsyncし始めました。が
--bwlimit=50
とかで始めちゃったので、転送に時間がかかるかかる。それでも、現時点で3GByte。全体で47GByteなので、来週中にはなんとか終わるのではなかろうか...。
投稿者 ymkx : 20:49
pgpool-II
色々なシーンでDBの限界にぶち当たり始めていることもあり、うちがメインで使っているPostgreSQLの負荷分散(と一言で書くと語弊を招きますが)を実現すべくpgpoolを再度検討し始めました。
pgpool自体はコネクションプール機能に期待して利用していた時期がありましたが、微妙に不安定な状態を何度か経験した後、利用は中止していました。で、昨年頃から開発が始まっていたpgpool-IIが秋に完成したのを思い出して急に調べ始めたわけです。
まー、pgpool(pgpool-I)とpgpool-IIだと全然違うアプリケーション(ミドルウェア)なわけで、既に運用を開始しているデカイシステムに突然ぶち込むのは不安なのでテストをしてみるべく検討中です。ただ、そのテストをするためにどの程度のハードを準備するのがベストなのか判断に苦しんでいます。公式サイトのベンチマークの例なんかブレード10台を使って、1台をコントローラ、残り9台をノードにしていますからね...。最低でも3台くらいでは試したいところですが、どの辺りのハードを揃えたらよいのかもわからない始末...。うーん、金も余ってるわけじゃないからなぁ。
で、なぜかこのpgpool-IIは最初のリリース以降、活発にリリースが進んでいるとは言い難い状況だったりして、それが所謂qmail1.03状態なのかそうではないのか判断できなかったりします。
でも、仕事に比較的余裕があるうちに試すが吉。とりあえず、前に進んでみましょう。積極的に人柱になりませう。
投稿者 ymkx : 11:54
2007年1月30日
rsyncで転送レート制限したい[解決]
あるサーバから大量のデータをrsyncで取り寄せようとしているのですが、転送レートの制限をしないとサーバ管理会社に怒られそうだったりするわけです。じゃー転送レートを制限してみようと思ったのですが、rsyncのオプションにはそんな便利なモノは実装されておらんのじゃよ。scpには、こんなオプションがあるのにね。
-l limit
Limits the used bandwidth, specified in Kbit/s.
gglっても回答は出てこない。どうしようかなぁ。とりあえず、公式でもチェキるか。あー、英語でggl能力が必要だのぉ。
そっこー、追記。バカでした、ちゃんとmanに載ってました。
--bwlimit=KBPS limit I/O bandwidth; KBytes per second
で、実際にそいつをつけて実行です。
rsync -avz --bwlimit=100 -e ssh xxx.xxx.xxx:/xxx/xxx /xxx/xxx
...
sent 26616 bytes received 2262398 bytes 89765.25 bytes/sec
あっけなくできました...。みなさん、manはちゃんと読みましょうね、絶対に書籍を漁るより確実。
投稿者 ymkx : 16:06
2007年1月17日
Hatenaがご近所さんに
Hatenaの伊藤さんのHatena::Diaryから、Hatenaのサーバたちがうちもメインで使っているさくらインターネットに移行してきたとのこと。ひえー、さくらインターネットすげー。MixiにGREEにHatenaですか、そこにうちのサービスも...って、ブログラのサーバたちは下北沢の事務所にいたんだった、B-Flets。
で、さくらに移行する判断基準を聞いてちょっと安心。やっぱ、そうですよね、そうですよ。これでクライアントを説得できる材料が増えたぜ、うひひ。この前までKDDIを使っていた関係で、やっぱそういうブランド力の重みを思い知りましたけど、わかる人たちはわかる。
品質って一言では難しいですが、10年近く数々のデータセンターを使った経験から言わせてもらえばさくらインターネットのiDCのコストパフォーマンスはピカイチだと思う。と、それも今の時点でという感じになっていくのかもしれませんけどね。
ちなみに、伊藤さんが書かれてる、
あと、さくらインターネットの社長の笹田さんが MMORPG の EverQuest (以下EQ) オタクで、同社の主なメンバーは EQ のギルドで一緒にやってた仲間から集めたとか言ってまして、同じくヘビーに EQ にはまっていた僕とシンパシーを感じまくったというのも選定の理由です。いや、選定の理由だったのは嘘。
には吹き出してしまった。ちなみに、うちがさくらを選定した理由の数パーセントは、知人の行きつけのお店がさくらのスタッフの行きつけのお店でと飲み仲間、なんていう不謹慎な理由もあったり無かったり。いや、選定の理由だったのは嘘(笑)。
ちなみに、KDDIからさくらへの移行記なんてつける余裕無かったぜー。たった一人でサーバ数台とルータを移動させてDNSの設定やら何やらを2時間でやるという無茶な思い出、思い出したくない...。
と、そんなことを書いているこのサーバもさくらには入ってないサーバなんですけどね........。
投稿者 ymkx : 12:19
2006年8月23日
configure: error: png library not found... please install png.
RHEL4でパッケージとは別でwebalizerをインストールしようとしたら、
configure: error: png library not found... please install png.
と、言われます。あれ、libpngが居ないのかなぁ? と思って、調べてみると
-bash-3.00$ rpm -qa | grep png libpng-1.2.7-1.el4.2 libpng10-1.0.16-1 libpng-1.2.7-1.el4.2 libpng10-1.0.16-1
ありゃ、いるじゃん、みたいなー。libのpathをconfigオプションでつけてみたりしたけど事態かわらずー。で、いろいろ悩んでたんですが、ふとlibpng自体が欲しいんじゃなくってコンパイルのときのヘッダとかがほしいんじゃない? とか思って、png系のパッケージを調べてみると、
[root@srv01 ~]# up2date --showall | grep png libpng-1.2.7-1.el4.2.i386 libpng-1.2.7-1.el4.2.x86_64 libpng-devel-1.2.7-1.el4.2.x86_64 libpng10-1.0.16-1.i386 libpng10-1.0.16-1.x86_64 libpng10-devel-1.0.16-1.x86_64
でました、この-develが欲しかったのねー、当然だよなぁ。で、up2date -i でインストールしたらばっちりコンパイル終了。同様にgd系のconfigエラーも出ましたが、解決解決。
なんか、tar.gzな時期に一番サーバをいじってたので今でもrpmでパッケージを作り直すのは不得意な感じ。でも、RHELとか使ってるんだから、なるべくそっちの流儀に沿ったほうが後々問題が起きないはずなんだけどねぇ。
とかですか。
投稿者 ymkx : 18:08
bit-driveの馬鹿、NTT東日本様には全面謝罪、
昨日の回線障害について、プロバイダのbit-driveからメールが来ましたよ、あれ? なんでbit-driveからくるのさ。
From: bit-driveオペレーションデスク To: お客様各位 Subject: 【bit-drive】 障害発生・復旧報告お客様各位
平素は、弊社のbit-drive接続サービスをご利用頂き、
厚く御礼申し上げます。弊社より提供させて頂いておりますファイバーリンクサービス
におきまして、障害が発生しました事をご報告します。尚、現在
は復旧しており、通信の正常性を確認しております。
お客様には大変ご迷惑をお掛けし、誠に申し訳ございませんでした。※障害エリアが広域に及び、影響回線の特定が困難である為、障害影響の
無かったお客様を含めて本連絡をお送りさせていただきました。
ご了承下さい。
■発生日時
2006年08月22日(火) 20時20分 ~ 20時53分■影響サービス
FiberLink Premium、FiberLink Pro■影響範囲
NTT東日本 Bフレッツサービス
東京エリアに収容されている一部のお客様回線■障害内容
bit-drive側通信機器(NTTフレッツ網接続インターフェース)の
動作不良により、一部お客様回線において通信不安定が発生
いたしました。■復旧作業内容
二重化された経路の内、安定稼動している経路側に通信データを集約し、
お客様通信の復旧を行いました。
その後、故障部位の交換により障害復旧対応は完了しております。
故障部位交換の際に、一部のお客様通信に一時的な影響が発生しました。
※現在正常に通信が復旧していないお客様につきましては
お客様ルータの再起動を実施ください。■ご報告
DigitalGateをご利用のお客様、ご申告をいただきました一部のお客様には、
障害発生当初、NTT東日本側設備の故障の可能性が高いとお伝え
しましたが、双方で切り分け(カード交換、機器交換)を進めた結果、
2006/8/23 01:30時点でbit-drive側通信機器の故障と判明いたしました。
謹んで訂正いたします。
影響のあったお客様につきましては、大変ご迷惑をおかけしましたことを
深くお詫び申し上げます。
だと。ふざけんな、俺はあの後全く不毛な争いをNTT東日本御中とやったんだぞ。と、それは官僚体質NTTに対する自分自身の先入観のせいってのもあるんですけどねぇ、、、。わりーけど、こんなご報告だけで済まされちゃたまらないから、一発クレームの電話を入れました。もーねー、絶対に未確定な段階でNTT東日本だって可能性だけでも伝えちゃダメだよ。うちの会社のみならず、多くの会社がNTT東日本御中と不毛なやり取りをしたと思うと、本当に脱力です。
とりあえず、書面による再説明と今後の対応を要求いたしました。
はー、週中からやる気がなくなるなぁ。よりによって、
■影響サービス FiberLink Premium、FiberLink Pro
ここに来ちゃったのはダメだよ、ホント。障害自体はしょうがないんだけど、その対応が許せぬ。
投稿者 ymkx : 11:31
2006年8月22日
【全面訂正】(旧:NTT東日本の馬鹿)
当初、下記のようなエントリを書き込みましたが、本日その全てが誤りであったことが判明しました。一方的な意見を書いてしまいNTT東日本様にご迷惑をおかけいたしました。ここで謝罪すると共に訂正記事をアップさせていただきました。
とか、書いてあるとNTT東日本御中にクレームをつけられたかのような印象がありますが、そんなこたーありませんぜ。それなら、エントリさら消すってなぁ。単純に自分に対する戒めと共に、bit-driveのポジションはNTTと対してかわらねぇなぁってことですよ。あ、そっか、bit-driveってさーSONYじゃんねー、納得。
やー、久々にBフレッツの障害に当たっちまったぜ。
なんか、アクセスできるサイトと出来ないサイトがあるなぁ、と思ってたら回線異常のアラートが来た。って、ちょっと待てよ、このアラート先のネットワークを通って検知メールが送られてきたという、イヤーな展開。とりあえず、色々探ってみるけど、届く先と届かない先の2種類なパケットがわんさか。しょうがないので、プロバイダのbit-driveに電話してみると、「あー、NTT東日本さんの部分でなにかおきてるみたいです」とのこと。それではというわけでNTT東日本の故障担当に電話をしてみたら、留守電だし、、、。とりあえず状況を入れて電話を切ったですよ。
で、電話を切って5分後には自然復旧ー。そして、そんなことをつらつらとブログに書いていたら、NTT東日本から電話。「えー、切れてるんですか?」とか聞いてくるから、色々答えたんだけど結局「こちらでは異常を検知できないです」とかだよー、きたー! この馬鹿、馬鹿、ハゲ!
結局原因不明。でも、bit-driveのサポートとうちの判断的にはやっぱNTTっぽさ満点です。うーん、やっぱB-Fletsは危ういんだということを再認識いたしました。ふへー。
投稿者 ymkx : 20:57
2006年8月12日
泣きっ面に
大雨の中、びしょびしょにぬれながら自転車で自宅まで帰ったんですよ、ええ。で、すぐにシャワーを浴びて一息ついてたら、こんどは携帯にアラートが、、、おいおい、事務所のネットワークに到達しないぜ、べいべー! しゃれになってないので、すぐさま車を飛ばしてまいりましたよ。落雷とかで電気が着てないとか、落雷で建物が火事になってるとか、落雷でくるくるパーになった親父が電柱を倒したとか、、、。まー、色々考えながら戻ってきたら全然電気が切れた様子はない。急いで事務所まで上がると、はぁ? UPSが止まってるぜ、、、なんかさー、電気が止まったわけじゃないのになんでUPSがとまるのさ?? もー、わからん、わしゃー、わからん。
しょうがないんでイエローハットに行ってオイル交換してやる、覚えてろよ!
投稿者 ymkx : 15:58
2006年7月31日
NATな世の中における、FTP接続に対するaccess-list
なんか、新データセンターのサーバ君にFTPがつながらないなぁと思ってみてたんだよねー。xNATな世の中だけにgt 1023をあけておかねばならないわけですが、ちゃんと空いてるしなぁ。と、頭を抱えていたらなんかその1023ポート君の前方にudpなる文字列が...。まったく、もー、どうしようもねーなー。とか。
access-list xxx permit tcp any gt 1023 host xxx.xxx.xxx.xxx gt 1023
投稿者 ymkx : 01:14
2006年7月28日
秘密鍵のパスフレーズを解除
# cp [DOMAINNAME].key [DOMAINNAME].key.org (元ファイルのバックアップ)
# openssl rsa -in [DOMAINNAME].key -out [DOMAINNAME].key
from http://www.geotrust.co.jp/ssl_help/servershomei02.html
なんか、いつも忘れちゃうんだよねーこれ。備忘。
投稿者 ymkx : 17:57
2006年7月25日
transfer of 'xxx.xxx/IN' from xxx.xxx.xxx.xxx#53: failed while receiving responses: permission denied
なんかCentOSでDNSを設定してたら意味不明のメッセージが出た。
transfer of 'xxx.xxx/IN' from xxx.xxx.xxx.xxx#53: failed while receiving responses: permission denied
SlaveのDNSなんですけど、最初はMaster側のネットワークのFirewallかiptablesの問題かと思ったんだけどどうも違う感じ。で、ちょっと調べてみたら/var/namedあたりのオーナーの問題と判明。あれー、フツーにインストールしててオーナーが違ってるってどういうことですかな。というわけで、適切なオーナーを設定して無事完了....と思ったら、やっぱFirewallとiptablesもぶつかってた...。再設定開始。
投稿者 ymkx : 16:43
2006年7月24日
tcpserver: fatal: temporarily unable to figure out IP address for 0.0.0.0: file does not exist
qmailをインストールして、tcpserver経由でsmtpを立ち上げようとすると、
tcpserver: fatal: temporarily unable to figure out IP address for 0.0.0.0: file does not exist
とか言われて起動しない。はじめは、tcpのrulesがおかしいのかと思ったんだけど、どうも違う感じ。で、gglってみてこんなページを発掘。
tcpserver: fatal: temporarily unable to figure out IP address for 0.0.0.0: file does not exist
If you ever encounter this "tcpserver: fatal: temporarily unable to figure out IP address for 0.0.0.0: file does not exist" error on CentOS 64bit systems, use the following solution:
touch /etc/dnsrewrite
で、touchしてみて再度起動にチャレンジするとあっさり起動しちまったぜ。ちなみに、この/etc/dnsrewriteってファイルなんですが、qmailと同じ作者のDNS、djbdnsで使われているファイルのようなのですが、詳細不明...。
そうそう、qmailといえば最近のディストリビューションでコンパイルするとエラーになっちゃうんだよねー。そいつの原因はglibcのバージョンらしくて、ここでパッチ(patch)を提供してくれています。
4.qmailのインストール(1)
しかし、もうqmailを使ってる人ってあんまりいないのかなぁ? すごく扱いやすくて便利なのに...。
投稿者 ymkx : 20:54
2006年7月 6日
アホですわ
さっきの、これですが原因判明。そう、今日は上位のネットワークメンテナンスの日だったのさ~、忘れてしまってた俺、馬鹿、馬鹿ん! そして、合掌...。
投稿者 ymkx : 13:20
2006年6月28日
SunSITE 終了
私がサラリーマン時代に会社で使っていたOSがSolarisで、SunSITEには本当にお世話になったミラーでした。昼間は混み合っているので、夜中にアクセスしようとすると、全く同じことを考えている奴がいてやっぱり混んでたりしたなぁ、なつかしい。Linux中心な生活になってからは、あまりアクセスすることもなくなっちゃいましたが、たまにソースからコンパイルなときはちょくちょく訪れていただけに残念。
本当に、おつかれさまでした、そしてありがとう。
投稿者 ymkx : 11:08
2006年6月21日
PowerEdge 2950 & PowerEdge 1950
某サイトのサーバでPowerEdge 2850を使おうと思っていたら、今日になってPowerEdge 2950なんてのが発売されていることに気付いた。まだ、出たばかりで高いんだけど、スペック的に使ってみたいものが満載なので、こっちに変更しようか思案中。が、そいつにすると、コスト的にきつくなっちゃうんだよねー。で、同時に出たPowerEdge 1950に心変わり。よくよく考えればディスクの量より、CPUパワーのほうが絶対に必要なサービスだからねー。
デュアルコアXeonとかSASなんてぜひともいじってみたいところ。やー、こりゃ決まりですな、AMEXの事前承認で梃子摺ったおかげですな、むひ。
投稿者 ymkx : 17:13
2006年6月 9日
http://userid:password@host_name/dir/ って使えなくなってたんだねー
なんか、ベーシック認証周りで不可解な問題が発生していたわけですが、
http://userid:password@host_name/dir/
こんなのがあったよなぁ、と思ってたらこんなページを発見してしまった。
Windows XPスマートチューニング
第108回特定アプリでユーザー名:パスワード形式のURLを許す
うーん、そんなことを強いることは不可能なクライアントさん向けなのだよ。あー、詰まっちまったぜ...。
投稿者 ymkx : 19:12
2006年5月30日
限度があるでしょ、限度が
ソースコードの公開と脆弱性問題との戦い
http://www.rubyist.net/~matz/20060524.html#p02
ある意味神様な方が書かれたこの記事を読んでみて、リンク先に飛んでみた(無料、メンバー登録要ります)。メンバー制なので引用は控えますが、正直この記事を読んでぶったまげた(表現古)。
私の感想はこんな感じ。
---
いろいろな問題をごっちゃにしすぎていませんか? セキュリティにおける脆弱性を見つけるためにオープンソースが存在しているわけではないのですが、、、。それ以前に脆弱性のレベルの低さに、開いた口がふさがりません。
残念ながらネットシステム構築を行う企業としての最低レベルを超えていない会社の方の意見を記事とする、このサイトの姿勢に疑問を感じざるを得ません。
長○に住んでいなくて助かりました。
---
著者の話と、その著者が属する会社の話と、その著者が書いた記事を掲載してるサイトの話と、そんな著者が関わったナイスシステムを導入してるN県の志に感銘を受けました。
はぁー、もうやだ。
投稿者 ymkx : 02:53
2006年5月27日
s/月/年/;
なんか、とってもくだらないミスの修正依頼が来ていたので修正。
年月日が月月日になっていた、、、。前任者の遺産をコピーして新たなシステムとして稼動させたら、クライアント様がお気づきになられました。やー、おれも気付かんかった。でもって、元のシステムを半年近く使い続けてても気付かないクライアント様って、、、。
投稿者 ymkx : 03:07
2006年5月26日
ServerNameには使えなかった~
昨日のこの件、欲を出してServerNameにワイルドカードで設定したらダメだった~。というわけで、ServerNameにServerAliasの条件に合致するホスト名を設定して完了。やー、やばいねこれ、やりたい放題じゃん、とか。
投稿者 ymkx : 23:24
2006年5月25日
ServerAliasにもワイルドカードが使える
某案件でWeb経由でユーザ登録を行うと自分用のサブドメインを使える、ってな感じの仕組みを作る必要が出てきました。
既に、Bindはワイルドカードが使えることが判明していたので、apacheの設定を考えてみました。すぐにapacheのVirtualHostをガンガン設定してガンガン再起動、という全く美しくない手法を思いつきましたが、なんかもうちょっとシンプルにいけないかなぁと思ってApacheクックブックで調べてみると、ずばりそのものな感じの奴がありました。ひとつは、mod_vhost_aliasですが、これは標準では入ってなさげ。で、もうひとつのmod_rewriteを使う方法で対応できるなぁ、と思ったわけですがここであることに気づきました。
実はそのサービスは自分用のサブドメインが使えるとはいっても、自由にコンテンツを置くわけじゃなくって動的にページを生成するタイプなんで、Rewrite先って実は同一ディレクトリなんですよね。となると、RewriteなんてしなくてもVirtualhostのServerAliasとかにワイルドカードが使えれば一件落着だよなぁ、と思って調べてみたらどうやら使えるみたいですよ*が。結局、Bindと同様の*で簡単対応OKな気分ね。
はー、もっとちゃんとApacheを理解してないといけないねぇ。頑張ろう。
投稿者 ymkx : 12:13
2006年5月15日
Nucleus文字化けぇ~
うい、なんかNucleusが文字化けまくりですぜ。もともと、MySQLは滅法弱い(?)ほうなのでそのあたりかなぁと思いつつ調べてたらビンゴですよ。
Nucleus(JP)フォーラム Forum Index -> インストール時の問題 -> 文字化け?
あまり、気持ちは良くないのですが、一応解決しました。 藤咲さんのアドバイスから、あちこち探し回り、結局ここのフォーラムで解決策を見つけました。 mysqlのクライアントやmysqlのライブラリを、色々コンパイルしてみたり、 my.ini をいじってみたり。本来なら、それで解決するんでしょうが、私の知恵と力の無さが露見して、ことごとく失敗。 FreeBSDを使っていて、出来ればportsで処理したいと考えたのも無理はあるんですが・・・←言い訳です。 で結局 /nucleus/libs/globalfunctions.php をいじりました。 設定やクライアントライブラリでクライアントのキャラクタセットが指定できないなら、プログラムで接続時に指定してしまえって事です。 改造は connect のファンクションに、1行追加function sql_connect() {
global $MYSQL_HOST, $MYSQL_USER, $MYSQL_PASSWORD, $MYSQL_DATABASE;$connection = @mysql_connect($MYSQL_HOST, $MYSQL_USER, $MYSQL_PASSWORD) or startUp
Error('Could not connect to MySQL database.
','Connect Error');
mysql_select_db($MYSQL_DATABASE) or startUpError('Could not select database: '.
', 'Connect Error');
mysql_error().'
mysql_query( 'set character set ujis' ); ←この行を追加
return $connection;
}
クライアントとサーバーのキャラクターセットの確認
なんちゅーか、targzからコンパイルしない場合の弊害のうちのひとつですな。あれ、もしかしたら、CentOSのyumで何とかなったりして。
投稿者 ymkx : 19:06
特価: ¥444,465(税込)
そうそう、件のRTX3000君ですがヨドバシで問い合わせをしていた結果が出ましたよ。
RTX3000 イーサアクセスVPNルータ
特価: ¥444,465(税込)
消費税総額表示です
10%ポイント還元
た、高っかー!! ありえねーよ。10%ポイントもらっても、うちが買ったお店より9万円近く高いです。やっぱ、こういう商品は家電量販店じゃ無理だね~。
投稿者 ymkx : 15:51
あー、MySQLぅ~
そして、今度はまったく別の話。某クライアント様のサイトで、Movable Typeを大量に組み合わせてサイトを構築しようと思ってたんだけど、真面目にラインセンス費用を払うととんでもない状態になりそうな気配だったので、っていうかMovable Type Enterpriseを使わないといけないので、思わずNucleusに逃げようと思ったわけですよ。が、こいつ、超MySQLオンリー対応だしぃ~。気合でPostgreSQL使ってる方もいらっしゃるようですが、やっぱ怖いよなぁ。話が横にそれますが、そのクライアント様のDBサーバはPostgreSQLなのさー。OracleからPostgreSQLにDBサーバを変更したら超速くなった。
でもって、それではCMSのPloneに逃げるのはどう? って思ったんですが、PHPが先住民のところに、PythonなZopeなPloneを入れるって、なんか嫌くない? まー、Zopeはhttpdでもあるので、ApacheなPHPとの競合問題はおきないのでしょうが、やっぱ怖い気がする。
とかなんとか、どうしようかねぇ。
投稿者 ymkx : 14:28
2006年5月 9日
swap使うスクリプトなんて書いちゃだめだ
いや、別に使いたいわけじゃないんだけど、俺が書いたダメダメスクリプトはメモリを喰らい尽くしスワップ領域に突入中。はぁ、だめだこりゃ、KILL -9。
投稿者 ymkx : 22:04
やヴぁいなー、ブログラのロギングあぱっち!
なんだか、わからない人には単なる落書きのようなタイトル。
そうそう、ブログラのアパッチサーバがやばげになってきました。やっぱ、月間3億ページビューは伊達じゃないねぇ。が、なんかリソースを眺めてるとメモリー足りまへん的だということに感づく。ぐへー、あのマシンってメモリがイヤーな感じの、高ぁい感じのDDR2だった気が...。うちの会社金ないんだよねぇ~、5月は消費税も払わないとだしぃ。まー、いつものごとく自分の給料カットで買っちまいますか、むへへ。
社員がいなくなった今だから言えるけど、俺自分の給料なんて1年以上まともに出てないことに気づいたぜ、ぷへー。
投稿者 ymkx : 21:53
2006年4月18日
554 DUL error
なんか、ブログラでメールが届かないってのが妙に気になってちょっとログを調べてみた。そうそう、ブログラのサーバはqmailじゃなくってPostfixね(実は手抜き)。でもって、こんなのを見つけた。
Apr 18 18:01:50 xxxxxxx postfix/smtp[16809]: E49AD12C084: to=, relay=acxv01.netbees.clubbbq.com[221.251.108.43], delay=5, status=bounced (host acxv01.netbees.clubbbq.com[221.251.108.43] said: 554 DUL error (http://www.clubbbq.com/abuse/) (in reply to end of DATA command))
なんじゃこりゃ? っていうか、554 DUL errorって何さ? で、親切丁寧にURLがあったんでチェックしてみるとこんな記載が。
CLUB BBQに届かないなど、お客様から連絡があった。また、迷惑メール対策を進めている通信事業者/ネットサービスの皆様へ CLUB BBQでは迷惑メール対策ポリシーの元に迷惑行為と断定したメールの受信制限を行っております。 ■届かない事例● 弊社ブラックリストに登録されている
● 弊社指定RBL
○ 逆引きできないホストから送信 ※
○ 動的IP類からの送信
・ 動的IPは管理できていない逆引きのないIPと同等と評価します。
また現在spam送信に利用されている安価な固定IPサービスは認めておりません。
・ 逆引きがコントロールできない固定IPサービスも認めておりません。
451 DUL error
→ 貴方の逆引きホスト名をチェックすると、動的IPであるかのように見えるため、一時受け取りを拒否を行いました。
RFC推奨に従い、再送を試行してください。
そっかー、そういうことをしてる会社もあるんだねぇ。厳しいけど、まっとうだな。それでユーザから文句が出ていないんだったら十分ありなんだろう。っていうか、メールサーバ管理者としては同意できる。が、自分の管理サーバが対応してないってのはだめだなぁ。
というわけで、とりあえずホワイトリスト申請&逆引き設定をすべく(設定はされているけど、メール送信時に伝えてるホスト名とは違う)申し込みですぜ、てへっぇ。
投稿者 ymkx : 19:51
2006年4月11日
# deny from xxx.xxx.xxx.xxx
おいおい、denyな作業をした直後に気づいたんだけど、某大企業から返事が来てるじゃんかー。とりあえず、反応があったことにびびってみた。でも、実は予想通りの用途だったので一安心。とりあえず、担当者様に連絡を入れて # denyしました。
こんにちは、0mn1F1nd。
投稿者 ymkx : 22:44
deny from xxx.xxx.xxx.xxx
そうそう、例のあれですが、某大企業から返事が全然来ないの(当然な気もしますが)&別のトラブルでアクセスが出来なかったりでして、クライアント様が「アクセス制限してください」との命が下りました、いえい。
というわけで、さりげなくhttpd.confに
deny from xxx.xxx.xxx.xxx
ですよ、いひひ。さようなら、0mn1F1nd。
投稿者 ymkx : 22:27
2006年4月 8日
アクセス解析
朝っぱらからMTとwebalizerを行ったり来たりです、てへ。
なんか、うちのお客さんにはwebalizerを無料でインストールしてるわけですが、やっぱ足らない部分がたくさんあるわけなんだよねwebalizerじゃ。でも、アクセス解析ツールってフリーなものの上って、いきなりすげー値段の奴らが多くて、しかもビミョーに痒いところに手が届かない状態なんだよなぁ。自分で作っちゃうのも手なんだけど、perlで書いちゃうと数Gみたいなアクセスログを裁くのは問題なんだよねぇ。
というわけで、いくつかツールを見てみるべかのぉ。webalizer意外だとanalogとか、有償な奴だとUrchinとかWebtrendsとか? あー、全然情報不足じゃのぉ、いろいろ探ってみるべし。って、もー、ドンだけ時間があってもたらんねぇ。でも、猫の手レベルなスタッフに検証させても遊ばせてるだけにしかならなかったからなぁ、結局自分でやるのが一番手っ取り早いんだよねぇ。
まー、本日もぼちぼち。
あ、哲に行ってこよう、うひひ。あ、痛風なおった?
投稿者 ymkx : 10:50
2006年4月 5日
0mniFind
0mniFindってなんだろ(0は正確にはO)。
なんかうちのお客様のWebに大量アクセスがあったんでそのIPアドレスのログをみてみると、Agentには0mniFindとだけ書かれてる。でもって、ちょっとgglったらこんなの見つけた。検索エンジンか。でもって、そのIPアドレスをwhoisしてみると...あら、お客様の親会社のネットワークな気分。とは言ってもこれクラスBのネットワークじゃん。
うーん、対応が難しいけど一応報告すべきなんだろうなぁ。
投稿者 ymkx : 20:25
2006年4月 3日
ディスクが飛びました
ぬぉぉ~、ディスクが飛びました、消えました、fsckでいやーなメッセージが出ちゃいました。
というわけで、直近のバックアップでなんとか復旧です。やー、乗り換え寸前だったけど、もうちょっと前に気づけばよかった~。MOVABLETYPEの障害じゃなくってディスク障害だったのねん、ぐすん。
はぁ、もろもろ消えちゃった、もろもろ消えちゃった。
投稿者 ymkx : 14:33
2006年3月 6日
おい、こら! IgnoreReferrer
やー、IgnoreReferrerの件ですが、もうめんどくさくなってきたよ。というわけで、かなり適当に加えちゃってますぜだんな、いえーいい。
IgnoreReferrer http://casino*
IgnoreReferrer http://slot-machine*
IgnoreReferrer http://roulette*
IgnoreReferrer http://internet-casino*
IgnoreReferrer http://blackjack*
IgnoreReferrer http://gambling*
IgnoreReferrer http://www.casino-bu*
IgnoreReferrer http://how-to-play-poker*
IgnoreReferrer http://www.poker-protection*
IgnoreReferrer http://www.casino*
IgnoreReferrer http://www.online-casino*
IgnoreReferrer http://www.slot-machine*
IgnoreReferrer http://www.roulette*
IgnoreReferrer http://www.internet-casino*
IgnoreReferrer http://www.blackjack*
IgnoreReferrer http://www.online-roulette*
IgnoreReferrer http://www.poker-stadium*
IgnoreReferrer http://www.hbsnwa*
IgnoreReferrer http://www.openlistings*
IgnoreReferrer http://www.standard-casino*
IgnoreReferrer http://atlantic-city-casinos*
IgnoreReferrer http://poker*
IgnoreReferrer http://www.ablejobs*
IgnoreReferrer http://www.allkinds-pills*
IgnoreReferrer http://www.antiquejunkyard*
IgnoreReferrer http://www.catchathief*
IgnoreReferrer http://www.guarantee-money*
IgnoreReferrer http://www.isacommie*
IgnoreReferrer http://www.musicdots*
IgnoreReferrer http://www.ouragent*
IgnoreReferrer http://www.payperday*
IgnoreReferrer http://www.street-poker*
IgnoreReferrer http://www.vneighbor*
IgnoreReferrer http://black-jack-online*
IgnoreReferrer http://bontril*
IgnoreReferrer http://buy-ultram-online*
IgnoreReferrer http://credit*
IgnoreReferrer http://debt*
IgnoreReferrer http://mortgages*
IgnoreReferrer http://pacific-poker*
IgnoreReferrer http://party-poker*
IgnoreReferrer http://party-poker*
IgnoreReferrer http://personal-loans*
IgnoreReferrer http://texas*
IgnoreReferrer http://tickfaw-poker*
IgnoreReferrer http://www.vneighbor*
IgnoreReferrer http://diet-pills*
IgnoreReferrer http://tops-poker*
IgnoreReferrer http://tramadol*
IgnoreReferrer http://viagra-online*
IgnoreReferrer http://wsop.play13.zindagi*
IgnoreReferrer http://www.always-credit*
IgnoreReferrer http://www.available-credit*
IgnoreReferrer http://www.bitlocker*
IgnoreReferrer http://www.consolidate*
IgnoreReferrer http://www.djsdesigns*
IgnoreReferrer http://www.doobu*
IgnoreReferrer http://www.drugs-order*
IgnoreReferrer http://www.firstchoicebanksandpremiercredit*
IgnoreReferrer http://www.home-equity-loans-mortgage-refinancing*
IgnoreReferrer http://www.huge-credit*
IgnoreReferrer http://www.knowtax*
IgnoreReferrer http://www.krantas*
IgnoreReferrer http://www.luxuryrenting*
IgnoreReferrer http://www.mycaddy*
IgnoreReferrer http://www.parentcompany*
IgnoreReferrer http://www.pawnauctions*
IgnoreReferrer http://www.petsellers*
IgnoreReferrer http://www.sportsexpert*
IgnoreReferrer http://www.sudtuiles*
IgnoreReferrer http://www.thexmlguys*
IgnoreReferrer http://www.uccpp*
IgnoreReferrer http://www.unique-casino*
IgnoreReferrer http://www.vfacility*
IgnoreReferrer http://best-online-casinos*
IgnoreReferrer http://diet-pills*
IgnoreReferrer http://www.immediately-credit*
IgnoreReferrer http://www.sml338*
IgnoreReferrer http://www.parentcompany*
IgnoreReferrer http://propecia.just-pills.com/
IgnoreReferrer http://rules-of-texas-hold-em.moved.to/
IgnoreReferrer http://viagra.10-pills.com/
IgnoreReferrer http://www.24hours-credit*
IgnoreReferrer http://www.chat-nett*
IgnoreReferrer http://www.computerxchange*
IgnoreReferrer http://www.debt-help-bill-consolidation-elimination*
IgnoreReferrer http://www.djsdesigns*
IgnoreReferrer http://www.e-poker-2005*
IgnoreReferrer http://www.favorite-casino*
IgnoreReferrer http://www.great-doctor*
IgnoreReferrer http://www.moneydetails*
IgnoreReferrer http://www.poker*
IgnoreReferrer http://www.sigmapiscu*
IgnoreReferrer http://www.sudtuiles*
IgnoreReferrer http://www.unique-pills*
IgnoreReferrer http://www.vdiplomas*
IgnoreReferrer http://www.zone-b51*
IgnoreReferrer http://adipex.useful-pills*
IgnoreReferrer http://monte-carlo*
IgnoreReferrer http://on-line-poker*
IgnoreReferrer http://prescription-diet-pills*
IgnoreReferrer http://www.artisticlandscapes*
IgnoreReferrer http://www.ca-america*
IgnoreReferrer http://www.moneydetails*
IgnoreReferrer http://www.namerealestate*
IgnoreReferrer http://www.our-money*
IgnoreReferrer http://www.teriandersonandassoc*
IgnoreReferrer http://www.unique-casino*
IgnoreReferrer http://mortgage-rates*
IgnoreReferrer http://www.studyinslovakia*
IgnoreReferrer http://world-poker-tour*
IgnoreReferrer http://payday-loans*
IgnoreReferrer http://www.vcats*
IgnoreReferrer http://apply-for-a-credit*
IgnoreReferrer http://bad-credit*
IgnoreReferrer http://free*
IgnoreReferrer http://home-equity-loans*
IgnoreReferrer http://payday-loans*
IgnoreReferrer http://world-series-of-poker*
IgnoreReferrer http://www.seethishome*
IgnoreReferrer http://www.seniordate*
IgnoreReferrer http://www.talentbroker*
IgnoreReferrer http://discover-card*
IgnoreReferrer http://free-casino*
IgnoreReferrer http://home-equity-loan*
IgnoreReferrer http://hydrocodone*
IgnoreReferrer http://wsop*
IgnoreReferrer http://www.credit*
IgnoreReferrer http://www.theebest*
IgnoreReferrer http://amoxicillin*
IgnoreReferrer http://best-online-casino*
IgnoreReferrer http://chase.great-finance*
IgnoreReferrer http://free-credit*
IgnoreReferrer http://full-tilt-poker*
IgnoreReferrer http://levitra*
IgnoreReferrer http://mortgage*
IgnoreReferrer http://online*
IgnoreReferrer http://phentermine*
IgnoreReferrer http://three-card*
IgnoreReferrer http://weight-loss*
IgnoreReferrer http://world*
IgnoreReferrer http://www.4best-health*
IgnoreReferrer http://www.aponte*
IgnoreReferrer http://www.cafexml*
IgnoreReferrer http://www.credit*
IgnoreReferrer http://www.debt-consolidation-consultant*
IgnoreReferrer http://www.fearcrow*
IgnoreReferrer http://www.freaky-cheats*
IgnoreReferrer http://www.nutzu*
IgnoreReferrer http://www.pool*
IgnoreReferrer http://www.psxtreme*
IgnoreReferrer http://www.rarefind*
IgnoreReferrer http://www.rarehomes*
IgnoreReferrer http://www.realtorlist*
IgnoreReferrer http://www.specific-casino*
IgnoreReferrer http://www.sy-casino*
IgnoreReferrer http://www.theebest*
IgnoreReferrer http://www.thesmart*
IgnoreReferrer http://www.thinkrealty*
IgnoreReferrer http://amortization-schedule*
IgnoreReferrer http://amoxil-500-mg*
IgnoreReferrer http://antibiotics-online*
IgnoreReferrer http://bad-credit*
IgnoreReferrer http://biloxi-casinos*
IgnoreReferrer http://buy-viagra-online*
IgnoreReferrer http://canadian-pharmacies*
IgnoreReferrer http://cash-advance*
IgnoreReferrer http://celebrex.d-daystore*
IgnoreReferrer http://countrywide-home-loans*
IgnoreReferrer http://empire-poker*
IgnoreReferrer http://free-credit*
IgnoreReferrer http://hoodia-gordonii*
IgnoreReferrer http://indian-casinos*
IgnoreReferrer http://keno.vrajitor*
IgnoreReferrer http://no-fax*
IgnoreReferrer http://paxil.e-pills-4u*
IgnoreReferrer http://payday*
IgnoreReferrer http://personal*
IgnoreReferrer http://pharmacy*
IgnoreReferrer http://phendimetrazine*
IgnoreReferrer http://refinance*
IgnoreReferrer http://star-poker*
IgnoreReferrer http://video*
IgnoreReferrer http://www.antiquemarketplace*
IgnoreReferrer http://www.birchfieldharriers*
IgnoreReferrer http://www.doctor-pills*
IgnoreReferrer http://www.finestrealty*
IgnoreReferrer http://www.flafeber*
IgnoreReferrer http://www.highest-credit*
IgnoreReferrer http://www.just-pharmacy*
IgnoreReferrer http://www.mortgagequestaz*
IgnoreReferrer http://www.norwichwriters*
IgnoreReferrer http://www.prakashcommunication*
IgnoreReferrer http://www.racepointfunding*
IgnoreReferrer http://www.sheratonnorthcharleston*
IgnoreReferrer http://www.vadoptions*
IgnoreReferrer http://www.vcrap*
IgnoreReferrer http://www.vpartnerships*
IgnoreReferrer http://www.vquality*
IgnoreReferrer http://www.vreporters*
IgnoreReferrer http://absolute-poker*
IgnoreReferrer http://amoxil*
IgnoreReferrer http://bonus*
IgnoreReferrer http://buy*
IgnoreReferrer http://capital*
IgnoreReferrer http://car-loans*
IgnoreReferrer http://download*
IgnoreReferrer http://experian*
IgnoreReferrer http://home*
IgnoreReferrer http://hoodia*
IgnoreReferrer http://internet*
IgnoreReferrer http://keno.registrarprice*
IgnoreReferrer http://low-apr-credit*
IgnoreReferrer http://meridia*
IgnoreReferrer http://paxil*
IgnoreReferrer http://pharmacy*
IgnoreReferrer http://play*
IgnoreReferrer http://reverse*
IgnoreReferrer http://soma*
IgnoreReferrer http://student*
IgnoreReferrer http://viagra*
IgnoreReferrer http://virtual*
IgnoreReferrer http://www.bayfronthomes*
IgnoreReferrer http://www.blevensdamman*
IgnoreReferrer http://www.cash*
IgnoreReferrer http://www.dogpile*
IgnoreReferrer http://www.e-debt*
IgnoreReferrer http://www.forever*
IgnoreReferrer http://www.mauiforsale*
IgnoreReferrer http://www.mydivx*
IgnoreReferrer http://www.namedealers*
IgnoreReferrer http://www.personal*
IgnoreReferrer http://www.pills*
IgnoreReferrer http://www.strega*
IgnoreReferrer http://www.taxmagic*
IgnoreReferrer http://www.the-discount*
IgnoreReferrer http://www.vadoptions*
IgnoreReferrer http://www.vcrap*
IgnoreReferrer http://www.vgardening*
IgnoreReferrer http://www.vmillionaire*
IgnoreReferrer http://www.vthought*
IgnoreReferrer http://www.vtoyshop*
IgnoreReferrer http://www.world-series*
IgnoreReferrer http://ativan.doctor-4all*
IgnoreReferrer http://didrex*
IgnoreReferrer http://mystic-lake-casino*
IgnoreReferrer http://panda-pai-gow-poker*
IgnoreReferrer http://prilosec*
IgnoreReferrer http://www.mauisun*
IgnoreReferrer http://www.mp-forum*
IgnoreReferrer http://www.smogless*
IgnoreReferrer http://www.spidervisit*
IgnoreReferrer http://www.texasholdemcenteral*
IgnoreReferrer http://www.this-casino*
IgnoreReferrer http://www.vcontacts*
IgnoreReferrer http://www.vexpert*
IgnoreReferrer http://xanax.available-prescription*
IgnoreReferrer http://www.available-mortgage*
IgnoreReferrer http://www.d-daystore*
IgnoreReferrer http://www.freakycheats*
IgnoreReferrer http://auto*
IgnoreReferrer http://www.bargainhunt*
IgnoreReferrer http://car*
IgnoreReferrer http://disability*
IgnoreReferrer http://group-health-insurance*
IgnoreReferrer http://insurance*
IgnoreReferrer http://pet-insurance*
IgnoreReferrer http://private-health-insurance*
IgnoreReferrer http://renters-insurance*
IgnoreReferrer http://safeco.finance*
IgnoreReferrer http://allstate-insurance*
IgnoreReferrer http://progressive-insurance*
IgnoreReferrer http://state-farm-insurance*
IgnoreReferrer http://www.insurance*
IgnoreReferrer http://21st-century-insurance*
IgnoreReferrer http://aarp.insurance*
IgnoreReferrer http://insurance*
IgnoreReferrer http://short-term-insurance*
IgnoreReferrer http://aetna.bargainhunt*
IgnoreReferrer http://business-insurance*
IgnoreReferrer http://cheap-car-insurance*
IgnoreReferrer http://dog-insurance*
IgnoreReferrer http://health-insurance*
IgnoreReferrer http://life-insurance*
IgnoreReferrer http://car-insurance*
IgnoreReferrer http://motorcycle-insurance*
IgnoreReferrer http://car-insurance*
IgnoreReferrer http://cheapest-airline-tickets*
IgnoreReferrer http://liability-insurance*
IgnoreReferrer http://long-term-care-insurance*
IgnoreReferrer http://nationwide-insurance.finance-ways.com/
IgnoreReferrer http://health-insurance*
IgnoreReferrer http://insurances*
IgnoreReferrer http://term-insurance*
IgnoreReferrer http://www.finance-account*
IgnoreReferrer http://aarp-insurance*
IgnoreReferrer http://annuities.insurance*
IgnoreReferrer http://cheap*
IgnoreReferrer http://health-insurance*
IgnoreReferrer http://individual-health-insurance*
IgnoreReferrer http://small-business-insurance*
IgnoreReferrer http://travel-insurance*
IgnoreReferrer http://www.finance-2u*
IgnoreReferrer http://automobile-insurance*
IgnoreReferrer http://group-insurance*
IgnoreReferrer http://health-insurance*
IgnoreReferrer http://life-insurance*
IgnoreReferrer http://term-life-insurance*
IgnoreReferrer http://www.well-finance*
IgnoreReferrer http://boat-insurance*
IgnoreReferrer http://cheap-insurance*
IgnoreReferrer http://life-insurance*
IgnoreReferrer http://www.finance-ways*
IgnoreReferrer http://life-insurance*
IgnoreReferrer http://tesco-car-insurance*
IgnoreReferrer http://6th-omaha-poker-street*
IgnoreReferrer http://best*
IgnoreReferrer http://drugs.open-pharmacy.com/
IgnoreReferrer http://canadian*
IgnoreReferrer http://cialis*
IgnoreReferrer http://diovan*
IgnoreReferrer http://losing*
IgnoreReferrer http://penis*
IgnoreReferrer http://www.mine-doctor*
IgnoreReferrer http://antidepressants*
IgnoreReferrer http://medicines*
IgnoreReferrer http://pills*
IgnoreReferrer http://adipex*
IgnoreReferrer http://antidepressant*
IgnoreReferrer http://medication*
IgnoreReferrer http://patch*
IgnoreReferrer http://prescription*
IgnoreReferrer http://discount*
IgnoreReferrer http://lose*
IgnoreReferrer http://nexium*
IgnoreReferrer http://wellbutrin*
IgnoreReferrer http://zyprexa*
IgnoreReferrer http://accutane*
IgnoreReferrer http://ambien*
IgnoreReferrer http://fast-weight*
IgnoreReferrer http://fioricet*
IgnoreReferrer http://ortho-evra*
IgnoreReferrer http://pills*
IgnoreReferrer http://quick*
IgnoreReferrer http://stop*
IgnoreReferrer http://valium*
IgnoreReferrer http://yasmin*
IgnoreReferrer http://zoloft*
IgnoreReferrer http://arthritis*
IgnoreReferrer http://cialis*
IgnoreReferrer http://diet*
IgnoreReferrer http://no-prescription*
IgnoreReferrer http://pharma*
IgnoreReferrer http://prescription*
IgnoreReferrer http://protonix*
IgnoreReferrer http://www.pharmacy*
IgnoreReferrer http://www.racingnavi*
IgnoreReferrer http://birth-control-pills*
IgnoreReferrer http://celebrex*
IgnoreReferrer http://lose*
IgnoreReferrer http://order-viagra*
IgnoreReferrer http://skin-products*
IgnoreReferrer http://vigrx*
IgnoreReferrer http://www.dedicated*
IgnoreReferrer http://canada-pharmacy*
IgnoreReferrer http://pain-relief*
IgnoreReferrer http://new-york*
IgnoreReferrer http://vicodin*
IgnoreReferrer http://weight*
IgnoreReferrer http://www.only-doctor*
IgnoreReferrer http://www.order-doctor*
IgnoreReferrer http://xanax.pro-doctor.com/
IgnoreReferrer http://xenical*
IgnoreReferrer http://2003-world-series*
IgnoreReferrer http://actonel*
IgnoreReferrer http://best-diet*
IgnoreReferrer http://cholesterol*
IgnoreReferrer http://citalopram*
IgnoreReferrer http://impotence*
IgnoreReferrer http://information*
IgnoreReferrer http://loose*
IgnoreReferrer http://skin*
IgnoreReferrer *doctor.com/
IgnoreReferrer *pharmacy.com/
IgnoreReferrer *moved.to/
IgnoreReferrer *xmlindustry.com/
IgnoreReferrer *insurance-24x7.com/
IgnoreReferrer *insurance-renew.com/
IgnoreReferrer *insurance-purchase.com/
IgnoreReferrer *insurance.com/
投稿者 ymkx : 11:04
2006年3月 1日
このサイトは安全でない可能性があるため接続できません au EZweb
やー、ハ○ウリの出展者さん向けに売り上げをオンラインで確認するシステムを作ったんですね。で、さっきそのアナウンスをしたんだけど、早速「つながらないぜー」という問い合わせが。EZwebのアドレスだったんで、携帯からだとつながらない? とか思って調べてみると、『このサイトは安全でない可能性があるため接続できません』とか表示されてほんとにつながらない。
実はSSLの有効期限が切れていたので、それをソッコー更新してOK~とか思ってたんだけど、やっぱりつながらないとのこと。もしかしたら、EZweb側で有効期限切れ証明書をキャッシングしてるのかなぁとか思ってたんだけど、調べてみると衝撃的な事実が。
対応プラットフォーム・環境など@GeoTrust ■au EZweb については、新サービスで対応予定です。 *対応予定機種 W31T以降(PENCK,W31CA,W32Kを除く)、A5509T以降 (Sweetsを除く)、A1405PT以降のモデル *上記以外のSSL対応機種でジオトラストの証明書を使ったサイトへアクセスした場合、 SSL対応機種でありましても強制切断されます。 au SSL解説ページ http://www.au.kddi.com/ezfactory/tec/spec/ssl.html
おいおい。っていうか、DoCoMoもVodafoneもヤバイかも...はぁ、むちゃくちゃやなほんとに。そもそも、たいした情報じゃないからSSLになんてする必要性は全く無いんだけど、間違ってメールにhttps://って書いちゃったのがすべての始まり...はぁ、携帯を侮ってたよジョージ...。ほんと、ご迷惑をおかけして申し訳ないです...。
投稿者 ymkx : 20:26
2006年2月27日
Referrer SPAM List 2
週末でさらにReferrer SPAM野郎が増えたので手動で追加した。でも、これってあれですよ手動でやるもんじゃないよねぇ。誰かがどっかで公開していそうですが、公開していないようなら自分でやっちゃおうかなぁ。なんか、Referrer SPAMって俺らWeb屋さんにとってはいろいろ厄介な話だからなぁ。が、実はアクセスアップに貢献されてるという説もありますがぁ...。
## Referrer SPAM List
IgnoreReferrer http://casino*
IgnoreReferrer http://slot-machine*
IgnoreReferrer http://roulette*
IgnoreReferrer http://internet-casino*
IgnoreReferrer http://blackjack*
IgnoreReferrer http://gambling*
IgnoreReferrer http://www.casino-bu*
IgnoreReferrer http://how-to-play-poker*
IgnoreReferrer http://www.poker-protection*
IgnoreReferrer http://www.casino*
IgnoreReferrer http://www.online-casino*
IgnoreReferrer http://www.slot-machine*
IgnoreReferrer http://www.roulette*
IgnoreReferrer http://www.internet-casino*
IgnoreReferrer http://www.blackjack*
IgnoreReferrer http://www.online-roulette*
IgnoreReferrer http://www.poker-stadium*
IgnoreReferrer http://www.hbsnwa*
IgnoreReferrer http://www.openlistings*
IgnoreReferrer http://www.standard-casino*
IgnoreReferrer http://atlantic-city-casinos*
IgnoreReferrer http://poker*
IgnoreReferrer http://www.ablejobs*
IgnoreReferrer http://www.allkinds-pills*
IgnoreReferrer http://www.antiquejunkyard*
IgnoreReferrer http://www.catchathief*
IgnoreReferrer http://www.guarantee-money*
IgnoreReferrer http://www.isacommie*
IgnoreReferrer http://www.musicdots*
IgnoreReferrer http://www.ouragent*
IgnoreReferrer http://www.payperday*
IgnoreReferrer http://www.street-poker*
IgnoreReferrer http://www.vneighbor*
IgnoreReferrer http://black-jack-online*
IgnoreReferrer http://bontril*
IgnoreReferrer http://buy-ultram-online*
IgnoreReferrer http://credit*
IgnoreReferrer http://debt*
IgnoreReferrer http://mortgages*
IgnoreReferrer http://pacific-poker*
IgnoreReferrer http://party-poker*
IgnoreReferrer http://party-poker*
IgnoreReferrer http://personal-loans*
IgnoreReferrer http://texas*
IgnoreReferrer http://tickfaw-poker*
IgnoreReferrer http://www.vneighbor*
IgnoreReferrer http://diet-pills*
IgnoreReferrer http://tops-poker*
IgnoreReferrer http://tramadol*
IgnoreReferrer http://viagra-online*
IgnoreReferrer http://wsop.play13.zindagi*
IgnoreReferrer http://www.always-credit*
IgnoreReferrer http://www.available-credit*
IgnoreReferrer http://www.bitlocker*
IgnoreReferrer http://www.consolidate*
IgnoreReferrer http://www.djsdesigns*
IgnoreReferrer http://www.doobu*
IgnoreReferrer http://www.drugs-order*
IgnoreReferrer http://www.firstchoicebanksandpremiercredit*
IgnoreReferrer http://www.home-equity-loans-mortgage-refinancing*
IgnoreReferrer http://www.huge-credit*
IgnoreReferrer http://www.knowtax*
IgnoreReferrer http://www.krantas*
IgnoreReferrer http://www.luxuryrenting*
IgnoreReferrer http://www.mycaddy*
IgnoreReferrer http://www.parentcompany*
IgnoreReferrer http://www.pawnauctions*
IgnoreReferrer http://www.petsellers*
IgnoreReferrer http://www.sportsexpert*
IgnoreReferrer http://www.sudtuiles*
IgnoreReferrer http://www.thexmlguys*
IgnoreReferrer http://www.uccpp*
IgnoreReferrer http://www.unique-casino*
IgnoreReferrer http://www.vfacility*
IgnoreReferrer http://best-online-casinos*
IgnoreReferrer http://diet-pills*
IgnoreReferrer http://www.immediately-credit*
IgnoreReferrer http://www.sml338*
IgnoreReferrer http://www.parentcompany*
IgnoreReferrer http://propecia.just-pills.com/
IgnoreReferrer http://rules-of-texas-hold-em.moved.to/
IgnoreReferrer http://viagra.10-pills.com/
IgnoreReferrer http://www.24hours-credit*
IgnoreReferrer http://www.chat-nett*
IgnoreReferrer http://www.computerxchange*
IgnoreReferrer http://www.debt-help-bill-consolidation-elimination*
IgnoreReferrer http://www.djsdesigns*
IgnoreReferrer http://www.e-poker-2005*
IgnoreReferrer http://www.favorite-casino*
IgnoreReferrer http://www.great-doctor*
IgnoreReferrer http://www.moneydetails*
IgnoreReferrer http://www.poker*
IgnoreReferrer http://www.sigmapiscu*
IgnoreReferrer http://www.sudtuiles*
IgnoreReferrer http://www.unique-pills*
IgnoreReferrer http://www.vdiplomas*
IgnoreReferrer http://www.zone-b51*
IgnoreReferrer http://adipex.useful-pills*
IgnoreReferrer http://monte-carlo*
IgnoreReferrer http://on-line-poker*
IgnoreReferrer http://prescription-diet-pills*
IgnoreReferrer http://www.artisticlandscapes*
IgnoreReferrer http://www.ca-america*
IgnoreReferrer http://www.moneydetails*
IgnoreReferrer http://www.namerealestate*
IgnoreReferrer http://www.our-money*
IgnoreReferrer http://www.teriandersonandassoc*
IgnoreReferrer http://www.unique-casino*
IgnoreReferrer http://mortgage-rates*
IgnoreReferrer http://www.studyinslovakia*
IgnoreReferrer http://world-poker-tour*
IgnoreReferrer http://payday-loans*
IgnoreReferrer http://www.vcats*
IgnoreReferrer http://apply-for-a-credit*
IgnoreReferrer http://bad-credit*
IgnoreReferrer http://free*
IgnoreReferrer http://home-equity-loans*
IgnoreReferrer http://payday-loans*
IgnoreReferrer http://world-series-of-poker*
IgnoreReferrer http://www.seethishome*
IgnoreReferrer http://www.seniordate*
IgnoreReferrer http://www.talentbroker*
IgnoreReferrer http://discover-card*
IgnoreReferrer http://free-casino*
IgnoreReferrer http://home-equity-loan*
IgnoreReferrer http://hydrocodone*
IgnoreReferrer http://wsop*
IgnoreReferrer http://www.credit*
IgnoreReferrer http://www.theebest*
IgnoreReferrer http://amoxicillin*
IgnoreReferrer http://best-online-casino*
IgnoreReferrer http://chase.great-finance*
IgnoreReferrer http://free-credit*
IgnoreReferrer http://full-tilt-poker*
IgnoreReferrer http://levitra*
IgnoreReferrer http://mortgage*
IgnoreReferrer http://online*
IgnoreReferrer http://phentermine*
IgnoreReferrer http://three-card*
IgnoreReferrer http://weight-loss*
IgnoreReferrer http://world*
IgnoreReferrer http://www.4best-health*
IgnoreReferrer http://www.aponte*
IgnoreReferrer http://www.cafexml*
IgnoreReferrer http://www.credit*
IgnoreReferrer http://www.debt-consolidation-consultant*
IgnoreReferrer http://www.fearcrow*
IgnoreReferrer http://www.freaky-cheats*
IgnoreReferrer http://www.nutzu*
IgnoreReferrer http://www.pool*
IgnoreReferrer http://www.psxtreme*
IgnoreReferrer http://www.rarefind*
IgnoreReferrer http://www.rarehomes*
IgnoreReferrer http://www.realtorlist*
IgnoreReferrer http://www.specific-casino*
IgnoreReferrer http://www.sy-casino*
IgnoreReferrer http://www.theebest*
IgnoreReferrer http://www.thesmart*
IgnoreReferrer http://www.thinkrealty*
IgnoreReferrer http://amortization-schedule*
IgnoreReferrer http://amoxil-500-mg*
IgnoreReferrer http://antibiotics-online*
IgnoreReferrer http://bad-credit*
IgnoreReferrer http://biloxi-casinos*
IgnoreReferrer http://buy-viagra-online*
IgnoreReferrer http://canadian-pharmacies*
IgnoreReferrer http://cash-advance*
IgnoreReferrer http://celebrex.d-daystore*
IgnoreReferrer http://countrywide-home-loans*
IgnoreReferrer http://empire-poker*
IgnoreReferrer http://free-credit*
IgnoreReferrer http://hoodia-gordonii*
IgnoreReferrer http://indian-casinos*
IgnoreReferrer http://keno.vrajitor*
IgnoreReferrer http://no-fax*
IgnoreReferrer http://paxil.e-pills-4u*
IgnoreReferrer http://payday*
IgnoreReferrer http://personal*
IgnoreReferrer http://pharmacy*
IgnoreReferrer http://phendimetrazine*
IgnoreReferrer http://refinance*
IgnoreReferrer http://star-poker*
IgnoreReferrer http://video*
IgnoreReferrer http://www.antiquemarketplace*
IgnoreReferrer http://www.birchfieldharriers*
IgnoreReferrer http://www.doctor-pills*
IgnoreReferrer http://www.finestrealty*
IgnoreReferrer http://www.flafeber*
IgnoreReferrer http://www.highest-credit*
IgnoreReferrer http://www.just-pharmacy*
IgnoreReferrer http://www.mortgagequestaz*
IgnoreReferrer http://www.norwichwriters*
IgnoreReferrer http://www.prakashcommunication*
IgnoreReferrer http://www.racepointfunding*
IgnoreReferrer http://www.sheratonnorthcharleston*
IgnoreReferrer http://www.vadoptions*
IgnoreReferrer http://www.vcrap*
IgnoreReferrer http://www.vpartnerships*
IgnoreReferrer http://www.vquality*
IgnoreReferrer http://www.vreporters*
IgnoreReferrer http://absolute-poker*
IgnoreReferrer http://amoxil*
IgnoreReferrer http://bonus*
IgnoreReferrer http://buy*
IgnoreReferrer http://capital*
IgnoreReferrer http://car-loans*
IgnoreReferrer http://download*
IgnoreReferrer http://experian*
IgnoreReferrer http://home*
IgnoreReferrer http://hoodia*
IgnoreReferrer http://internet*
IgnoreReferrer http://keno.registrarprice*
IgnoreReferrer http://low-apr-credit*
IgnoreReferrer http://meridia*
IgnoreReferrer http://paxil*
IgnoreReferrer http://pharmacy*
IgnoreReferrer http://play*
IgnoreReferrer http://reverse*
IgnoreReferrer http://soma*
IgnoreReferrer http://student*
IgnoreReferrer http://viagra*
IgnoreReferrer http://virtual*
IgnoreReferrer http://www.bayfronthomes*
IgnoreReferrer http://www.blevensdamman*
IgnoreReferrer http://www.cash*
IgnoreReferrer http://www.dogpile*
IgnoreReferrer http://www.e-debt*
IgnoreReferrer http://www.forever*
IgnoreReferrer http://www.mauiforsale*
IgnoreReferrer http://www.mydivx*
IgnoreReferrer http://www.namedealers*
IgnoreReferrer http://www.personal*
IgnoreReferrer http://www.pills*
IgnoreReferrer http://www.strega*
IgnoreReferrer http://www.taxmagic*
IgnoreReferrer http://www.the-discount*
IgnoreReferrer http://www.vadoptions*
IgnoreReferrer http://www.vcrap*
IgnoreReferrer http://www.vgardening*
IgnoreReferrer http://www.vmillionaire*
IgnoreReferrer http://www.vthought*
IgnoreReferrer http://www.vtoyshop*
IgnoreReferrer http://www.world-series*
IgnoreReferrer http://ativan.doctor-4all*
IgnoreReferrer http://didrex*
IgnoreReferrer http://mystic-lake-casino*
IgnoreReferrer http://panda-pai-gow-poker*
IgnoreReferrer http://prilosec*
IgnoreReferrer http://www.mauisun*
IgnoreReferrer http://www.mp-forum*
IgnoreReferrer http://www.smogless*
IgnoreReferrer http://www.spidervisit*
IgnoreReferrer http://www.texasholdemcenteral*
IgnoreReferrer http://www.this-casino*
IgnoreReferrer http://www.vcontacts*
IgnoreReferrer http://www.vexpert*
IgnoreReferrer http://xanax.available-prescription*
IgnoreReferrer http://www.available-mortgage*
IgnoreReferrer http://www.d-daystore*
IgnoreReferrer http://www.freakycheats*
IgnoreReferrer *xmlindustry.com/
IgnoreReferrer *insurance-24x7.com/
IgnoreReferrer *insurance-renew.com/
IgnoreReferrer *insurance-purchase.com/
IgnoreReferrer *insurance.com/
トラバ対象:
Referrer SPAM List@予定は未定であって決定ではない
投稿者 ymkx : 12:22
2006年2月24日
Webalizer SearchEngine
なんか、WebalizerでSearch Keywordが表示されないなぁと思ったら、SearchEngineの設定ができていませんでしたよ、ダンナ。というわけで、こんな奴を設定してみる。って、
SearchEngine cgi.tbs.co.jp kensakubar_radio=
こんなの効果あるのか??????
SearchEngine google.co.jp q=
SearchEngine yahoo.co.jp p=
SearchEngine search.biglobe.ne.jp q=
SearchEngine infoseek.co.jp qt=
SearchEngine search.nifty.com Text=
SearchEngine goo.ne.jp MT=
SearchEngine excite.co.jp search=
SearchEngine fresheye.com kw=
SearchEngine search.dmoz.org search=
SearchEngine ask.jp q=
SearchEngine livedoor.com q=
SearchEngine d.hatena.ne.jp keyword/
SearchEngine msn.co.jp q=
SearchEngine search.biglobe.ne.jp search=
SearchEngine cgi.tbs.co.jp kensakubar_radio=
SearchEngine yahoo.com p=
SearchEngine altavista.com q=
SearchEngine google.com q=
SearchEngine eureka.com q=
SearchEngine lycos.com query=
SearchEngine hotbot.com MT=
SearchEngine msn.com MT=
SearchEngine infoseek.com qt=
SearchEngine webcrawler searchText=
SearchEngine excite search=
SearchEngine netscape.com search=
SearchEngine mamma.com query=
SearchEngine alltheweb.com query=
SearchEngine northernlight.com qr=
投稿者 ymkx : 13:00
Referrer SPAM List
某サイトのwebalizerの設定をしていて気づいたんだけど、Referrer SPAMがすげーいるんだなぁ。なんか、むかついたので一気に消し去ろうと思ってログを追っていったら出てくる出てくる。やっぱgTLD系のドメインにはこの手のSPAMを大量に受けちゃうんだねぇ。というわけで、とりあえずうちに記録されていた人たちさようなら的リスト公開。さらば馬鹿カジノ。
あまり充実していないけど、もしかしたら使えるかもWebalizer向けReferrer SPAM Listでっす。順次更新予定でじゃボケ!
## Referrer SPAM List
IgnoreReferrer http://casino*
IgnoreReferrer http://online-casino*
IgnoreReferrer http://slot-machine*
IgnoreReferrer http://roulette*
IgnoreReferrer http://internet-casino*
IgnoreReferrer http://blackjack*
IgnoreReferrer http://online-roulette*
IgnoreReferrer http://gambling*
IgnoreReferrer http://www.casino-bu*
IgnoreReferrer http://how-to-play-poker*
IgnoreReferrer http://www.poker-protection*
IgnoreReferrer http://www.casino*
IgnoreReferrer http://www.online-casino*
IgnoreReferrer http://www.slot-machine*
IgnoreReferrer http://www.roulette*
IgnoreReferrer http://www.internet-casino*
IgnoreReferrer http://www.blackjack*
IgnoreReferrer http://www.online-roulette*
IgnoreReferrer http://www.poker-stadium*
IgnoreReferrer http://www.hbsnwa*
IgnoreReferrer http://www.openlistings*
IgnoreReferrer http://www.standard-casino*
IgnoreReferrer http://atlantic-city-casinos*
IgnoreReferrer http://poker*
IgnoreReferrer http://www.ablejobs*
IgnoreReferrer http://www.allkinds-pills*
IgnoreReferrer http://www.antiquejunkyard*
IgnoreReferrer http://www.catchathief*
IgnoreReferrer http://www.guarantee-money*
IgnoreReferrer http://www.isacommie*
IgnoreReferrer http://www.musicdots*
IgnoreReferrer http://www.ouragent*
IgnoreReferrer http://www.payperday*
IgnoreReferrer http://www.street-poker*
IgnoreReferrer http://www.vneighbor*
IgnoreReferrer http://black-jack-online*
IgnoreReferrer http://bontril*
IgnoreReferrer http://buy-ultram-online*
IgnoreReferrer http://credit*
IgnoreReferrer http://debt*
IgnoreReferrer http://mortgages*
IgnoreReferrer http://online-poker*
IgnoreReferrer http://onlinepoker*
IgnoreReferrer http://pacific-poker*
IgnoreReferrer http://party-poker*
IgnoreReferrer http://party-poker*
IgnoreReferrer http://personal-loans*
IgnoreReferrer http://texas*
IgnoreReferrer http://tickfaw-poker*
IgnoreReferrer http://www.vneighbor*
IgnoreReferrer http://diet-pills*
IgnoreReferrer http://tops-poker*
IgnoreReferrer http://tramadol*
IgnoreReferrer http://viagra-online*
IgnoreReferrer http://wsop.play13.zindagi*
IgnoreReferrer http://www.always-credit*
IgnoreReferrer http://www.available-credit*
IgnoreReferrer http://www.bitlocker*
IgnoreReferrer http://www.consolidate*
IgnoreReferrer http://www.djsdesigns*
IgnoreReferrer http://www.doobu*
IgnoreReferrer http://www.drugs-order*
IgnoreReferrer http://www.firstchoicebanksandpremiercredit*
IgnoreReferrer http://www.home-equity-loans-mortgage-refinancing*
IgnoreReferrer http://www.huge-credit*
IgnoreReferrer http://www.knowtax*
IgnoreReferrer http://www.krantas*
IgnoreReferrer http://www.luxuryrenting*
IgnoreReferrer http://www.mycaddy*
IgnoreReferrer http://www.parentcompany*
IgnoreReferrer http://www.pawnauctions*
IgnoreReferrer http://www.petsellers*
IgnoreReferrer http://www.sportsexpert*
IgnoreReferrer http://www.sudtuiles*
IgnoreReferrer http://www.thexmlguys*
IgnoreReferrer http://www.uccpp*
IgnoreReferrer http://www.unique-casino*
IgnoreReferrer http://www.vfacility*
IgnoreReferrer http://best-online-casinos*
IgnoreReferrer http://diet-pills*
IgnoreReferrer http://www.immediately-credit*
IgnoreReferrer http://www.sml338*
IgnoreReferrer http://www.parentcompany*
IgnoreReferrer http://propecia.just-pills.com/
IgnoreReferrer http://rules-of-texas-hold-em.moved.to/
IgnoreReferrer http://viagra.10-pills.com/
IgnoreReferrer http://www.24hours-credit*
IgnoreReferrer http://www.chat-nett*
IgnoreReferrer http://www.computerxchange*
IgnoreReferrer http://www.debt-help-bill-consolidation-elimination*
IgnoreReferrer http://www.djsdesigns*
IgnoreReferrer http://www.e-poker-2005*
IgnoreReferrer http://www.favorite-casino*
IgnoreReferrer http://www.great-doctor*
IgnoreReferrer http://www.moneydetails*
IgnoreReferrer http://www.poker*
IgnoreReferrer http://www.sigmapiscu*
IgnoreReferrer http://www.sudtuiles*
IgnoreReferrer http://www.unique-pills*
IgnoreReferrer http://www.vdiplomas*
IgnoreReferrer http://www.zone-b51*
IgnoreReferrer http://adipex.useful-pills*
IgnoreReferrer http://monte-carlo*
IgnoreReferrer http://on-line-poker*
IgnoreReferrer http://prescription-diet-pills*
IgnoreReferrer http://www.artisticlandscapes*
IgnoreReferrer http://www.ca-america*
IgnoreReferrer http://www.moneydetails*
IgnoreReferrer http://www.namerealestate*
IgnoreReferrer http://www.our-money*
IgnoreReferrer http://www.teriandersonandassoc*
IgnoreReferrer http://www.unique-casino*
投稿者 ymkx : 12:28
2006年1月 7日
.qmail- の後ろに.(ドット)を使いたくなった時
やー、qmailはホームディレクトリに.qmail-の後に文字列を書いたファイルを置いておくだけで、メールアドレスが作れちゃう便利な仕組み(拡張アドレス[dot-qmailの使い方])がある訳ですが、その文字列の部分に.(ドット)を使おうとすると何故だか.qmailが機能しないんだよねぇ。で、マニュアルにそれらしい事は書いてあるんだけど、
警告: qmail-localは安全のためにext中の点(dot)はすべてコロン(colon)で置き換えてから.qmail-extを調べます。 また、使用の便宜のため、ext中の英大文字は英小文字に変換します。
この日本語って分かりにくいよねぇ。単純に拡張アドレスを使う場合は.(ドット)は:(コロン)に置き換えて下さい、って書いてくれればいいのにねぇ。っていうか、そりゃ翻訳の問題か...。ちなみに、メールアドレスに:(コロン)を含んでいる場合はどうしたらよいのだろう、ってメールアドレスに:(コロン)なんて使えないか(調べるの面倒臭い)。
投稿者 ymkx : 17:48
2005年12月31日
今日は一日サーバ構築
どーしたもんかねー。みそかなのにねぇ。
でも、できることはやる。
それが第○企画。
とも、いえなくなりつつある寂しさ。
投稿者 ymkx : 12:45
2005年12月30日
もう、やだ、、、
年末にこれは無いよなぁ、これは、、、。この時期にサーバセットアップって、どうないせーっちゅーの、、、。
投稿者 ymkx : 21:33
2005年12月27日
昨日からパケットがロスるぜ
昨日からうちの会社に引っ張ってるB-Fletsのパケットがロスるなぁ。pingで確認してみると、10%程度のロスもあるわけですが、それ以上にリーチタイムが異様に不安定。ほとんどの場合20msecでいけてる(YBB経由はほぼ20msec)のに、たまに500msecとかになるんだよなぁ。でもって、ロスしちゃう感じ。なんだろー、ブログラのロギングサーバに大量アクセスかなぁ? 実はアクセスログが1日でGByte単位でたまっちゃうので、うちのサーバ君たちじゃ解析しきれなかったりするんだよねぇ。あー、こういうときの為に速いーサーバ君が欲しいねぇ、金がねぇっての。bit-driveとかNTT東に聞こうかと思ったけど、標準状態でもYBBよりリーチタイムが遅いのはおかしいので、ちょっとアクセスログを解析してからにしよう。あ"ー、でもその解析するサーバがいねぇってなぁ~、ぷへー。
投稿者 ymkx : 12:19
2005年12月16日
CentOS vs RHEL(Red Hat Enterprise Linux)
今年はここまでTurbolinux贔屓な一年をすごしていたわけですが、ここにきてTurbolinuxの弱点というかダメな部分がいろいろ見えてきた。基本はRedHat系な訳ですが、細かい部分でTurbolinuxのエンジニアががんばってしまった結果、微妙にコンパイルできないアプリがあるわけですな。でも、コンパイルなんてしない状況でサーバを使い続けることも重要なわけで、ある意味自分を納得させてきやしたのですぜ。
が、ここ最近のCentOSの台頭にはなにかほって置くと痛い目にあいそうな気配が濃厚で、今になってCentOSをインストールしてみたりしています。やー、チープなRHELって感じ。AT-LINKがRHEL ESが無償提供になって、今のAT-LINKサーバの後継機として使い始めてて、本当はRHELで揃えたいところなんだけど、Turbolinux 10 Serverを選択したりしていたわけで、やっぱここはCentOS使ってみようと思ったわけさ。KDDIに借りてるデータセンターも、さすがの通信回線のコストパフォーマンスの悪さにSAKURA INTERNETに移転を決めたこともあり、新たに超低消費電力型なサーバを2台ほど導入したわけですが、そいつのOSが決まらんのだよ。今のところ、Turbolinux 10 Serverが超有力候補ではあるのですがね...。
というわけで、やる気が無くてもrootな作業は続行ー。会社の電力も不安な日々が続いているので、年末にでも電気を完全に落として一斉点検をするべしするべし。
はー、つかれた。寝ようぜ、寝ようぜ~。
投稿者 ymkx : 03:38
2005年12月14日
きついですぅー2
やー、サーバ周りがそろそろリプレイスの時期なので状況把握に勤しんでいるわけですが、とにかく複雑だー。クライアントさんの要望重視でなんでもかんでも条件を飲んでいると、あとから訳がわからん状態になるんだなぁ、という最たる例かも。
これまでも、一人で300ドメインの移転とかやってるわけですが、今回の方がきついかも。ちなみにドメインは100前後。メールアカウントは300アカウントくらいでしょうか...。
大体、サーバOSの選定で再度もめてるのも問題だぁ。ほんとうは、Turbolinux 10 Serverのつもりだったけど、けっこう方言がきつくてやっぱCentOSとかにしようかと。
クローンOSはなんだかんだいって胡散臭さが付きまとっていたわけですが、勘違いだったと言い切れるような状況になってきてるからねぇ。友人がRedHatに居るってのも、なんかクローンOSに乗り換えにくかった理由だったり。
投稿者 ymkx : 10:33
2005年12月 4日
凹んでいても障害は発生する
なんか、httpdが死んでるくさいアラートが出たのだけど、ハコ○リの店番中で出られない。とりあえず、sshでDNSを変更、ダミーサーバにアクセスするように修正。でもって、ウリ子ちゃんが着たので事務所で原因解析。あれ? httpdは生きてるけどたくさーん。でもって、httpd restartしてみるも、やっぱりいっぱいになっちゃう。あー、こりゃDBがくさいなーと思い、DB serverを見てみるけど、PostgreSQLもpgpoolも元気だぜ。うーん、なんだろと思って何の気なしにdf -kしてみると...おいおい、/usrが100%やんけ! そもそも、このサーバはDBは/dbにいるはずなんだけど...。あ、このまえ再起動したときに、スタッフが間違えて-D /dbしなかったと推測。ライブリハ中のスタッフ(ミュージシャン)に無理やり連絡、やっぱ推測どおり。2ndのサーバにDB先を変更して、なんとか復旧。ふいー。なんだか、いろいろ監視してないと、ちょっとの変更で大事件になっちゃうなぁ。
鬱続行中。
投稿者 ymkx : 14:16
2005年12月 1日
Courier-imapで悩む
某案件でWebmailを設定する感じな奴があったわけですな。で、さすがにUW-IMAPじゃーねー、だいたいqmailでMaildirを使うんだったらダメジャン、見たいな気分でCourier-imapをIMAPをインストールしたわけですが、これがとんでもなくはまってしまったのじゃよ。
そもそもIMAPサーバを構築する系の書籍はぜーんぶ古い奴が多かったりして、その中では群抜きに発行日が新しい『qmail完全解説―qmailを使ったセキュアなメールサーバの構築』を参考にしてみたんですが、この本超曲者です。とりあえず、そんなにバージョンが違っているとは考えにくかったのですが、書かれたとおりのインストール方法では微妙に起動しないdaemonがいるようです、っていうか誤植とか誤解が多すぎない? この書籍。
で、悩んだ結果 /var/log/maillog にこんなものが、
Dec 1 11:52:10 xxxxxx imapd: Connection, ip=[::ffff:nnn.nnn.nnn.nnn] Dec 1 11:52:10 xxxxxx imapd: authdaemon: s_connect() failed: Connection refused Dec 1 11:52:10 xxxxxx imapd: [Hint: perhaps authdaemond is not running?] Dec 1 11:52:10 xxxxxx imapd: LOGIN FAILED, user=kuro2, ip=[::ffff:nnn.nnn.nnn.nnn] Dec 1 11:52:10 xxxxxx imapd: authentication error: Connection refused Dec 1 11:52:11 xxxxxx imapd: Connection, ip=[::ffff:nnn.nnn.nnn.nnn] Dec 1 11:52:11 xxxxxx imapd: authdaemon: s_connect() failed: Connection refused Dec 1 11:52:11 xxxxxx imapd: [Hint: perhaps authdaemond is not running?] Dec 1 11:52:11 xxxxxx imapd: LOGIN FAILED, user=kuro2, ip=[::ffff:nnn.nnn.nnn.nnn] Dec 1 11:52:11 xxxxxx imapd: authentication error: Connection refused
うーん、なんかそのままの通りでauthdaemond が動いていないんですなー。って、authdaemondってなんだよー、と考えていたらCourier-imap用の認証daemon君だった。find / -name "authdaemond"とかしてみたら、
/usr/local/libexec/courier-authlib/authdaemond
こんなところに居たので起動してみる。おー、入れた入れたー。ったく、なんだかめんどいのぉ。実は、このサーバのIMAPはWebmail(SquirrelMai)でしか使わないので、認証なんてどうでもいいやと思っていたのが失敗の原因でした、イェッツ!
投稿者 ymkx : 12:24
2005年11月11日
とりあえず、復活
やー、なんとか復活ー。でも、本店のネットワークが死んだままだから、確実にうちの機器の問題じゃなくって回線か上位プロバイダの問題だなー。やっぱ、B-Fletsって怖いよね。故障窓口に連絡したら、留守番電話だし........いねや。
帰って寝る、もー、ただでさえ寝不足だったのにぃ~。
投稿者 ymkx : 06:15
2005年11月 7日
checkpassword & qmail compile error on Turbolinux 10 Server
Turbolinuxのマシンにqmailを入れようとして