@tehnology-online

Почему при подключении proftpd выходит ошибка ECONNREFUSED — Connection refused by server?

После подключения к ФТП некоторое время все работает отлично. Но потом соединение обрывается, порт недоступен и появляется ошибка
Не удалось установить соединение с "ECONNREFUSED - Connection refused by server".

после перезагрузки proftpd, какое-то время опять работает дальше. В чем может быть проблема? Как ее обнаружить и решить?
  • Вопрос задан
  • 2165 просмотров
Пригласить эксперта
Ответы на вопрос 2
t_q_l
@t_q_l
Интересная личность
ну для начала посмотреть в логи proftpd, по умолчанию в Linux это тут:
/var/log/proftdp.log

Потом можно посмотреть вывод dmesg.
Ответ написан
@tehnology-online Автор вопроса
Логи

2015-03-29 07:12:26,004 vps-13799.vps-ukraine.com.ua proftpd[24837] localhost (91.212.124.39[91.212.124.39]): USER user: Login successful. 
2015-03-29 07:13:05,612 vps-13799.vps-ukraine.com.ua proftpd[24772] localhost (91.212.124.39[91.212.124.39]): RELINQUISH PRIVS: unable to seteuid(PR_ROOT_UID): Operation not permitted 
2015-03-29 07:13:05,612 vps-13799.vps-ukraine.com.ua proftpd[24772] localhost (91.212.124.39[91.212.124.39]): FTP session closed. 
2015-03-29 08:13:07,431 vps-13799.vps-ukraine.com.ua proftpd[24905] localhost (91.212.124.39[91.212.124.39]): FTP session opened. 
2015-03-29 07:13:07,547 vps-13799.vps-ukraine.com.ua proftpd[24905] localhost (91.212.124.39[91.212.124.39]): Preparing to chroot to directory '/home/user' 
2015-03-29 07:13:07,548 vps-13799.vps-ukraine.com.ua proftpd[24905] localhost (91.212.124.39[91.212.124.39]): USER user: Login successful. 
2015-03-29 07:16:59,043 vps-13799.vps-ukraine.com.ua proftpd[24036] localhost (91.212.124.39[91.212.124.39]): FTP no transfer timeout, disconnected 
2015-03-29 07:16:59,050 vps-13799.vps-ukraine.com.ua proftpd[24036] localhost (91.212.124.39[91.212.124.39]): RELINQUISH PRIVS: unable to seteuid(PR_ROOT_UID): Operation not permitted 
2015-03-29 07:16:59,052 vps-13799.vps-ukraine.com.ua proftpd[24036] localhost (91.212.124.39[91.212.124.39]): FTP session closed. 
2015-03-29 07:19:17,285 vps-13799.vps-ukraine.com.ua proftpd[24037] localhost (91.212.124.39[91.212.124.39]): Passive data transfer failed, possibly due to network issues 
2015-03-29 07:19:17,286 vps-13799.vps-ukraine.com.ua proftpd[24037] localhost (91.212.124.39[91.212.124.39]): Check your PassivePorts and MasqueradeAddress settings, 
2015-03-29 07:19:17,286 vps-13799.vps-ukraine.com.ua proftpd[24037] localhost (91.212.124.39[91.212.124.39]): and any router, NAT, and firewall rules in the network path. 
2015-03-29 07:19:17,286 vps-13799.vps-ukraine.com.ua proftpd[24037] localhost (91.212.124.39[91.212.124.39]): FTP no transfer timeout, disconnected 
2015-03-29 07:19:17,292 vps-13799.vps-ukraine.com.ua proftpd[24037] localhost (91.212.124.39[91.212.124.39]): RELINQUISH PRIVS: unable to seteuid(PR_ROOT_UID): Operation not permitted 
2015-03-29 07:19:17,293 vps-13799.vps-ukraine.com.ua proftpd[24037] localhost (91.212.124.39[91.212.124.39]): FTP session closed. 
2015-03-29 07:19:18,151 vps-13799.vps-ukraine.com.ua proftpd[24355] localhost (91.212.124.39[91.212.124.39]): Data transfer stall timeout: 600 seconds 
2015-03-29 07:19:18,154 vps-13799.vps-ukraine.com.ua proftpd[24355] localhost (91.212.124.39[91.212.124.39]): RELINQUISH PRIVS: unable to seteuid(PR_ROOT_UID): Operation not permitted 
2015-03-29 07:19:18,154 vps-13799.vps-ukraine.com.ua proftpd[24355] localhost (91.212.124.39[91.212.124.39]): FTP session closed. 
2015-03-29 07:20:23,610 vps-13799.vps-ukraine.com.ua proftpd[24477] localhost (91.212.124.39[91.212.124.39]): Data transfer stall timeout: 600 seconds 
2015-03-29 07:20:23,613 vps-13799.vps-ukraine.com.ua proftpd[24477] localhost (91.212.124.39[91.212.124.39]): RELINQUISH PRIVS: unable to seteuid(PR_ROOT_UID): Operation not permitted 
2015-03-29 07:20:23,615 vps-13799.vps-ukraine.com.ua proftpd[24477] localhost (91.212.124.39[91.212.124.39]): notice: user user: aborting transfer: Data connection closed 
2015-03-29 07:20:23,616 vps-13799.vps-ukraine.com.ua proftpd[24477] localhost (91.212.124.39[91.212.124.39]): FTP session closed. 
2015-03-29 07:20:23,678 vps-13799.vps-ukraine.com.ua proftpd[24427] localhost (91.212.124.39[91.212.124.39]): Data transfer stall timeout: 600 seconds 
2015-03-29 07:20:23,683 vps-13799.vps-ukraine.com.ua proftpd[24427] localhost (91.212.124.39[91.212.124.39]): RELINQUISH PRIVS: unable to seteuid(PR_ROOT_UID): Operation not permitted 
2015-03-29 07:20:23,684 vps-13799.vps-ukraine.com.ua proftpd[24427] localhost (91.212.124.39[91.212.124.39]): notice: user user: aborting transfer: Data connection closed 
2015-03-29 07:20:23,684 vps-13799.vps-ukraine.com.ua proftpd[24427] localhost (91.212.124.39[91.212.124.39]): FTP session closed. 
2015-03-29 08:43:40,866 vps-13799.vps-ukraine.com.ua proftpd[26257] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): FTP session opened. 
2015-03-29 08:43:40,866 vps-13799.vps-ukraine.com.ua proftpd[26258] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): FTP session opened. 
2015-03-29 07:43:41,073 vps-13799.vps-ukraine.com.ua proftpd[26258] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): Preparing to chroot to directory '/home/user' 
2015-03-29 07:43:41,073 vps-13799.vps-ukraine.com.ua proftpd[26257] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): Preparing to chroot to directory '/home/user' 
2015-03-29 07:43:41,073 vps-13799.vps-ukraine.com.ua proftpd[26258] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): USER user: Login successful. 
2015-03-29 07:43:41,073 vps-13799.vps-ukraine.com.ua proftpd[26257] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): USER user: Login successful. 
2015-03-29 07:52:04,608 vps-13799.vps-ukraine.com.ua proftpd[24837] localhost (91.212.124.39[91.212.124.39]): Data transfer stall timeout: 600 seconds 
2015-03-29 07:52:04,617 vps-13799.vps-ukraine.com.ua proftpd[24837] localhost (91.212.124.39[91.212.124.39]): RELINQUISH PRIVS: unable to seteuid(PR_ROOT_UID): Operation not permitted 
2015-03-29 07:52:04,619 vps-13799.vps-ukraine.com.ua proftpd[24837] localhost (91.212.124.39[91.212.124.39]): FTP session closed. 
2015-03-29 07:52:04,631 vps-13799.vps-ukraine.com.ua proftpd[24905] localhost (91.212.124.39[91.212.124.39]): Data transfer stall timeout: 600 seconds 
2015-03-29 07:52:04,635 vps-13799.vps-ukraine.com.ua proftpd[24905] localhost (91.212.124.39[91.212.124.39]): RELINQUISH PRIVS: unable to seteuid(PR_ROOT_UID): Operation not permitted 
2015-03-29 07:52:04,635 vps-13799.vps-ukraine.com.ua proftpd[24905] localhost (91.212.124.39[91.212.124.39]): FTP session closed. 
2015-03-29 08:55:55,202 vps-13799.vps-ukraine.com.ua proftpd[26658] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): FTP session opened. 
2015-03-29 07:55:55,608 vps-13799.vps-ukraine.com.ua proftpd[26658] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): Preparing to chroot to directory '/home/user' 
2015-03-29 07:55:55,609 vps-13799.vps-ukraine.com.ua proftpd[26658] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): USER user: Login successful. 
2015-03-29 08:00:08,515 vps-13799.vps-ukraine.com.ua proftpd[26658] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): ROOT PRIVS: unable to seteuid(): Operation not permitted 
2015-03-29 08:00:08,515 vps-13799.vps-ukraine.com.ua proftpd[26257] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): ROOT PRIVS: unable to seteuid(): Operation not permitted 
2015-03-29 08:00:08,515 vps-13799.vps-ukraine.com.ua proftpd[26257] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): ROOT PRIVS: unable to setegid(): Operation not permitted 
2015-03-29 08:00:08,515 vps-13799.vps-ukraine.com.ua proftpd[26658] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): ROOT PRIVS: unable to setegid(): Operation not permitted 
2015-03-29 08:00:08,522 vps-13799.vps-ukraine.com.ua proftpd[26257] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): RELINQUISH PRIVS: unable to seteuid(PR_ROOT_UID): Operation not permitted 
2015-03-29 08:00:08,522 vps-13799.vps-ukraine.com.ua proftpd[26258] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): ROOT PRIVS: unable to seteuid(): Operation not permitted 
2015-03-29 08:00:08,522 vps-13799.vps-ukraine.com.ua proftpd[26258] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): ROOT PRIVS: unable to setegid(): Operation not permitted 
2015-03-29 08:00:08,522 vps-13799.vps-ukraine.com.ua proftpd[26257] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): FTP session closed. 
2015-03-29 08:00:08,523 vps-13799.vps-ukraine.com.ua proftpd[26658] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): RELINQUISH PRIVS: unable to seteuid(PR_ROOT_UID): Operation not permitted 
2015-03-29 08:00:08,523 vps-13799.vps-ukraine.com.ua proftpd[26658] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): FTP session closed. 
2015-03-29 08:00:08,525 vps-13799.vps-ukraine.com.ua proftpd[26258] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): RELINQUISH PRIVS: unable to seteuid(PR_ROOT_UID): Operation not permitted 
2015-03-29 08:00:08,525 vps-13799.vps-ukraine.com.ua proftpd[26258] localhost (109-162-17-52-klsh.broadband.kyivstar.net[91.212.124.39]): FTP session closed.
Ответ написан
Комментировать
Ваш ответ на вопрос

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

Войти через центр авторизации
Похожие вопросы