V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
JoyNeop
V2EX  ›  VPS

PureFTPd 这是闹哪样。。。

  •  
  •   JoyNeop · 2013-08-16 23:47:56 +08:00 · 987 次点击
    这是一个创建于 3919 天前的主题,其中的信息可能已经有所发展或是发生改变。
    root@s1:~# /etc/init.d/pureftpd start
    Starting Pure-FTPd: perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    Running: /usr/local/pureftpd/sbin/pure-ftpd --daemonize -A -c50 -B -C5 -D -E -fftp -H -I15 -lmysql:/usr/local/pureftpd/pureftpd-mysql.conf -lunix -L2000:8 -m4 -p20000:30000 -s -U133:022 -u100 -k99 -Z
    7 条回复    1970-01-01 08:00:00 +08:00
    11138
        1
    11138  
       2013-08-17 00:06:23 +08:00
    修改启动脚本 /etc/init.d/pureftpd
    在 prog="Pure-FTPd" 这行上面加上 export LC_ALL=C 这行
    Comphuse
        2
    Comphuse  
       2013-08-17 00:31:47 +08:00
    猜你用的是Debian。
    aptitude install locales && dpkg-reconfigure locales
    JoyNeop
        3
    JoyNeop  
    OP
       2013-08-19 23:46:11 +08:00
    @11138 该文件不存在。。。
    JoyNeop
        4
    JoyNeop  
    OP
       2013-08-19 23:47:30 +08:00
    @Comphuse Ubuntu 。。。
    JoyNeop
        5
    JoyNeop  
    OP
       2013-08-19 23:49:28 +08:00
    @11138 噢不对我好像手抖了。。。
    vibbow
        6
    vibbow  
       2013-08-20 07:07:14 +08:00
    sudo apt-get install language-pack-en
    sudo update-locale LANG="en_US.UTF-8" LANGUAGE="en_US"
    sudo dpkg-reconfigure locales
    JoyNeop
        7
    JoyNeop  
    OP
       2013-08-20 14:37:07 +08:00 via iPad
    @11138 成功了!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5716 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 272ms · UTC 01:27 · PVG 09:27 · LAX 18:27 · JFK 21:27
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.