Задать вопрос
@hardtime88
IT любитель и начинающий специалист

Как исправить ошибку при запуске ftp сервера под ubuntu?

При запуске FTP сервера выдает ошибку:
spoiler
2018-02-10 02:35:07,569 prestigekozha proftpd[8000]: warning: unknown/unsupported LANG environment variable 'ru_RU.UTF-8', ignoring
2018-02-10 02:35:07,576 prestigekozha proftpd[8000]: mod_auth_file/1.0: unable to lstat AuthUserFile '/etc/pfostpd/ftpd.passwd': No such file or directory
2018-02-10 02:35:07,576 prestigekozha proftpd[8000]: Fatal: AuthUserFile: unable to use /etc/pfostpd/ftpd.passwd: No such file or directory on line 192 of '/etc/proftpd/proftpd.conf'


конфигурационный файл 'proftpd.conf':
spoiler
# Include other custom configuration files
Include /etc/proftpd/conf.d/
RequireValidShell off
ServerIdent no "FTP Server ready"
AuthUserFile /etc/pfostpd/ftpd.passwd
DefaultRoot ~


Логи:
spoiler
2018-02-09 11:25:54,272 prestigekozha proftpd[3345] prestigekozha.ru: ProFTPD 1.3.5rc3 (devel) (built Fri Feb 17 2017 19:15:12 UTC) standalone $
2018-02-09 11:27:42,610 prestigekozha proftpd[3418] prestigekozha.ru (109.63.153.28[109.63.153.28]): FTP session opened.
2018-02-09 11:27:42,619 prestigekozha proftpd[3418] prestigekozha.ru (109.63.153.28[109.63.153.28]): SECURITY VIOLATION: root login attempted.
2018-02-09 11:27:42,622 prestigekozha proftpd[3418] prestigekozha.ru (109.63.153.28[109.63.153.28]): FTP session closed.
2018-02-09 11:28:17,812 prestigekozha proftpd[3345] prestigekozha.ru: ProFTPD killed (signal 15)
2018-02-09 11:28:17,813 prestigekozha proftpd[3345] prestigekozha.ru: ProFTPD 1.3.5rc3 standalone mode SHUTDOWN
2018-02-09 11:28:17,856 prestigekozha proftpd[3447] prestigekozha.ru: ProFTPD 1.3.5rc3 (devel) (built Fri Feb 17 2017 19:15:12 UTC) standalone $
2018-02-09 11:53:24,449 prestigekozha proftpd[3698] prestigekozha.ru (ec2-34-215-225-142.us-west-2.compute.amazonaws.com[34.215.225.142]): FTP $
2018-02-09 11:53:34,667 prestigekozha proftpd[3698] prestigekozha.ru (ec2-34-215-225-142.us-west-2.compute.amazonaws.com[34.215.225.142]): FTP $
2018-02-09 12:02:12,412 prestigekozha proftpd[3722] prestigekozha.ru (196.52.43.53[196.52.43.53]): FTP session opened.
2018-02-09 12:02:12,541 prestigekozha proftpd[3722] prestigekozha.ru (196.52.43.53[196.52.43.53]): FTP session closed.
2018-02-09 23:26:48,307 prestigekozha proftpd[6881] prestigekozha.ru (45.249.245.182[45.249.245.182]): FTP session opened.
2018-02-09 23:26:48,569 prestigekozha proftpd[6881] prestigekozha.ru (45.249.245.182[45.249.245.182]): FTP session closed.
2018-02-10 00:06:14,926 prestigekozha proftpd[6991] prestigekozha.ru (scan-04.shadowserver.org[184.105.139.70]): FTP session opened.
2018-02-10 00:06:15,105 prestigekozha proftpd[6991] prestigekozha.ru (scan-04.shadowserver.org[184.105.139.70]): FTP session closed.
2018-02-10 01:07:05,209 prestigekozha proftpd[3447] prestigekozha.ru: ProFTPD killed (signal 15)
2018-02-10 01:07:05,330 prestigekozha proftpd[3447] prestigekozha.ru: ProFTPD 1.3.5rc3 standalone mode SHUTDOWN
2018-02-10 01:08:09,903 prestigekozha proftpd[7143] prestigekozha.ru: ProFTPD 1.3.5rc3 (devel) (built Fri Feb 17 2017 19:15:12 UTC) standalone $
2018-02-10 01:08:27,916 prestigekozha proftpd[7146] prestigekozha.ru (109.63.153.28[109.63.153.28]): FTP session opened.
2018-02-10 01:08:27,926 prestigekozha proftpd[7146] prestigekozha.ru (109.63.153.28[109.63.153.28]): error: unable to open passwd file '/etc/pr$
2018-02-10 01:08:27,926 prestigekozha proftpd[7146] prestigekozha.ru (109.63.153.28[109.63.153.28]): error: unable to open passwd file '/etc/pr$
2018-02-10 01:08:27,926 prestigekozha proftpd[7146] prestigekozha.ru (109.63.153.28[109.63.153.28]): USER ftp_ru: no such user found from 109.6$
2018-02-10 01:08:27,929 prestigekozha proftpd[7146] prestigekozha.ru (109.63.153.28[109.63.153.28]): FTP session closed.
2018-02-10 01:08:37,981 prestigekozha proftpd[7147] prestigekozha.ru (109.63.153.28[109.63.153.28]): FTP session opened.
2018-02-10 01:08:37,990 prestigekozha proftpd[7147] prestigekozha.ru (109.63.153.28[109.63.153.28]): error: unable to open passwd file '/etc/pr$
2018-02-10 01:08:37,990 prestigekozha proftpd[7147] prestigekozha.ru (109.63.153.28[109.63.153.28]): error: unable to open passwd file '/etc/pr$
2018-02-10 01:08:37,990 prestigekozha proftpd[7147] prestigekozha.ru (109.63.153.28[109.63.153.28]): USER ftp_ru: no such user found from 109.6$
2018-02-10 01:08:37,993 prestigekozha proftpd[7147] prestigekozha.ru (109.63.153.28[109.63.153.28]): FTP session closed.
2018-02-10 01:08:43,000 prestigekozha proftpd[7148] prestigekozha.ru (109.63.153.28[109.63.153.28]): FTP session opened.
2018-02-10 01:08:43,009 prestigekozha proftpd[7148] prestigekozha.ru (109.63.153.28[109.63.153.28]): error: unable to open passwd file '/etc/pr$
2018-02-10 01:08:43,009 prestigekozha proftpd[7148] prestigekozha.ru (109.63.153.28[109.63.153.28]): error: unable to open passwd file '/etc/pr$
2018-02-10 01:08:43,009 prestigekozha proftpd[7148] prestigekozha.ru (109.63.153.28[109.63.153.28]): USER ftp_ru: no such user found from 109.6$
2018-02-10 01:08:43,011 prestigekozha proftpd[7148] prestigekozha.ru (109.63.153.28[109.63.153.28]): FTP session closed.
2018-02-10 01:14:43,219 prestigekozha proftpd[7143] prestigekozha.ru: ProFTPD killed (signal 15)
2018-02-10 01:14:43,220 prestigekozha proftpd[7143] prestigekozha.ru: ProFTPD 1.3.5rc3 standalone mode SHUTDOWN
2018-02-10 01:35:24,610 prestigekozha proftpd[7422] prestigekozha.ru: ProFTPD 1.3.5rc3 (devel) (built Fri Feb 17 2017 19:15:12 UTC) standalone $
2018-02-10 01:35:34,833 prestigekozha proftpd[7425] prestigekozha.ru (109.63.153.28[109.63.153.28]): FTP session opened.
  • Вопрос задан
  • 323 просмотра
Подписаться 1 Простой 5 комментариев
Пригласить эксперта
Ответы на вопрос 1
Exebeche
@Exebeche
Осваиваю программирование
Написано "нет файла /etc/pfostpd/ftpd.passwd" и нет языка ru_RU
Попробуйте создать недостающий файл и возможно доустаноить локаль
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы