Нет коннекта к фтп

12
ingmar
На сайте с 11.01.2009
Offline
111
1372

Доброе время суток уважаемые форумчане. Вчера столкнулся с неприятной проблемой, после установки ретрекера по этому гайду перестал работать фтп доступ к сайту, может совпадение, а может и нет. Фтп настроен, все работало, теперь выдает ошибку "Не могу соединиться" . У меня vps, Linux Федора 9-я, панель управления Plesk 9. Прошу помочь решить данную проблему, заранее благодарю за ответы.

ingmar добавил 13.06.2010 в 14:09

Вот что показывает FileZilla

Статус: Ожидание повтора...
Статус: Определение IP для animeway.ru
Трассировка: ControlSocket.cpp(167): CControlSocket::ContinueConnect(026F1D40) m_pEngine=021155F0 caller=02734818
Статус: Соединение с 87.118.98.40:21...
Статус: Соединение установлено, ожидание приглашения...
Трассировка: CControlSocket::OnClose()
Трассировка: CFtpControlSocket::ResetOperation(66)
Трассировка: CControlSocket::ResetOperation(66)
Ошибка: Не могу соединиться!
https://white-master.ru/ (https://white-master.ru/) разработка продающих сайтов
rustelekom
На сайте с 20.04.2005
Offline
544
#1

telnet 87.118.98.40 21

Trying 87.118.98.40...

Connected to 87.118.98.40.

Escape character is '^]'.

Connection closed by foreign host.

не работает фтп. что то слушает на 21 порту но не фтп наверное :) по гайду по идее на фтп ничего отразиться не могло - возможно просто этот ново установленный сервис как раз запущен на 21 порту.

60% скидка на VPS в США, 20% скидка в Нидерландах и 40% в Финляндии. Новые тарифы на AMD Ryzen 9950x с частотой до 5.7 ГГц со скидкой 40% RoboVPS https://www.robovps.biz
ingmar
На сайте с 11.01.2009
Offline
111
#2

Да вроде нет. Кстати вот что в логах пишется:

Jun 13 12:08:23 serv xinetd[28333]: START: ftp pid=22191 from=::ffff:95.191.154.156
Jun 13 12:08:23 serv proftpd[22191]: mod_tls/2.1.2: compiled using OpenSSL version 'OpenSSL 0.9.8k-fips 25 Mar 2009' headers, but linked to OpenSSL version 'OpenSSL 0.9.8n-fips 24 Mar 2010' library
Jun 13 12:08:23 serv proftpd[22191]: Fatal: unable to load module 'mod_tls.c': Operation not permitted
Jun 13 12:08:23 serv xinetd[28333]: EXIT: ftp status=1 pid=22191 duration=0(sec)
Jun 13 12:08:28 serv xinetd[28333]: START: ftp pid=22194 from=::ffff:95.191.154.156
Jun 13 12:08:28 serv proftpd[22194]: mod_tls/2.1.2: compiled using OpenSSL version 'OpenSSL 0.9.8k-fips 25 Mar 2009' headers, but linked to OpenSSL version 'OpenSSL 0.9.8n-fips 24 Mar 2010' library
Jun 13 12:08:28 serv proftpd[22194]: Fatal: unable to load module 'mod_tls.c': Operation not permitted
Jun 13 12:08:28 serv xinetd[28333]: EXIT: ftp status=1 pid=22194 duration=0(sec)
rustelekom
На сайте с 20.04.2005
Offline
544
#3

как быстрый способ - отключить модуль tls для ftp. В конфиге proftpd делается. Если не поможет то надо смотреть что ему мешает подняться еше.

ingmar
На сайте с 11.01.2009
Offline
111
#4

Не нашел в кофиге ничего похожего на tls

#
# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "ProFTPD"
#ServerType standalone
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ psacln
AllowOverwrite on
</Global>
DefaultTransferMode binary
UseFtpUsers on

TimesGMT off
SetEnv TZ :/etc/localtime
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation
#with Anonymous FTP feature in PSA control panel.

#Include directive should point to place where FTP Virtual Hosts configurations
#preserved

ScoreboardFile /var/run/proftpd/scoreboard

# Primary log file mest be outside of system logrotate province

TransferLog /usr/local/psa/var/log/xferlog

#Change default group for new files and directories in vhosts dir to psacln

<Directory /var/www/vhosts>
GroupOwner psacln
</Directory>

# Enable PAM authentication
#AuthPAM on
#AuthPAMConfig proftpd

IdentLookups off
UseReverseDNS off

AuthGroupFile /etc/group

Include /etc/proftpd.include
rustelekom
На сайте с 20.04.2005
Offline
544
#5

а тут Include /etc/proftpd.include ?

ingmar
На сайте с 11.01.2009
Offline
111
#6

P.S Форумчане, кто поможет решить проблему с фтп, в качестве благодарности размещу бесплатно баннер на 1 месяц (не адлт и не варез) на вот этой площадке

а тут Include /etc/proftpd.include ?

Этот файл вообще пустой :(

rustelekom
На сайте с 20.04.2005
Offline
544
#7

о, только сейчас обратил внимание, а это тоже выполняли по гайду:

3. Настраиваем mysql

mysql_install_db - создание системной базы данных mysql

safe_mysqld & - запуск базы

mysqladmin password "пароль" - назначение пароля

mysqladmin create xbtt - создаём новую базу для трекера

mysql -u root -p xbtt < xbt_tracker.sql - создаем таблицы

chkconfig mysqld on - добавляем демон в автостарт

Создаем нового пользователя

mysql -uroot -p

USE xbtt;

GRANT SELECT, INSERT, UPDATE ON xbtt.* TO 'xbt'@'localhost' IDENTIFIED BY 'пароль';

FLUSH PRIVILEGES;

QUIT;

?

сайты работают ? в пхпмайдмине из под юзера доступ есть ?

ingmar
На сайте с 11.01.2009
Offline
111
#8

Выполнял. Сайт работает, в пхпмайадмин все в порядке

rustelekom
На сайте с 20.04.2005
Offline
544
#9

/usr/sbin/in.proftpd -t

ругается наверное ? похоже переставить надо.

ingmar
На сайте с 11.01.2009
Offline
111
#10

Вот что говорит:


Checking syntax of configuration file
- mod_tls/2.1.2: compiled using OpenSSL version 'OpenSSL 0.9.8k-fips 25 Mar 2009' headers, but linked to OpenSSL version 'OpenSSL 0.9.8n-fips 24 Mar 2010' library
- Fatal: unable to load module 'mod_tls.c': Operation not permitted
12

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий