ni kvel

漠然的な Something を Do しちゃうところ。

proftpd タイムスタンプ 問題


with 2 comments


ファイルを生成したら、9時間の時差が発生している。 proftpd.conf に

TimesGMT off

を設定しても変化はなし、いろいろ調べてみると対処方法が載っていた。
profile.d 内のTZ変数を作成し、そこで調整するとのこと。

# echo ‘export TZ=JST-9′ > /etc/profile.d/tz.sh
# chmod 755 /etc/profile.d/tz.sh
#

これで、OS を再起動後、ffftp などのクライアントでつないでみると正常に JST 表示されておりました。

TimesGMT 項目に関しては、xinetd 上で ProFTPD を起動させると正常に動作するという記事をどこかでみつけたけど、昔 inetd で ProFTPD を起動させていたら、やたら変な動作して落ちたりしていたけど今は昔ってことかな?w
怖くていっつも Standalone にしていますたw

Written by miroq

2月 4th, 2008 at 1:36 pm

Posted in Linux,proftpd

2 Responses to 'proftpd タイムスタンプ 問題'

Subscribe to comments with RSS

  1. Aide Whitely

    mycelebrityoutfits

    14 9月 11 at 2:02 pm

  2. Wow, superb blog layout! How long have you been running a blog for? you make blogging glance easy. The whole look of your website is wonderful, let alone the content!

    gift card for free

    19 12月 11 at 12:12 pm

Leave a Reply