通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
JoyNeop
V2EX  ›  VPS

PureFTPd 这是闹哪样。。。

  •  
  •   JoyNeop · Aug 16, 2013 · 1608 views
    This topic created in 4677 days ago, the information mentioned may be changed or developed.
    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 replies    1970-01-01 08:00:00 +08:00
    11138
        1
    11138  
       Aug 17, 2013
    修改启动脚本 /etc/init.d/pureftpd
    在 prog="Pure-FTPd" 这行上面加上 export LC_ALL=C 这行
    Comphuse
        2
    Comphuse  
       Aug 17, 2013
    猜你用的是Debian。
    aptitude install locales && dpkg-reconfigure locales
    JoyNeop
        3
    JoyNeop  
    OP
       Aug 19, 2013
    @11138 该文件不存在。。。
    JoyNeop
        4
    JoyNeop  
    OP
       Aug 19, 2013
    @Comphuse Ubuntu 。。。
    JoyNeop
        5
    JoyNeop  
    OP
       Aug 19, 2013
    @11138 噢不对我好像手抖了。。。
    vibbow
        6
    vibbow  
       Aug 20, 2013
    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
       Aug 20, 2013 via iPad
    @11138 成功了!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3045 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 14:24 · PVG 22:24 · LAX 07:24 · JFK 10:24
    ♥ Do have faith in what you're doing.