Не работает FTP

Ответить
asizintsev
Сообщения: 41
Зарегистрирован: Пн дек 05, 2022 4:05 pm

Не работает FTP

Сообщение asizintsev » Вс апр 19, 2026 12:18 pm

Не работает FTP, в Пакетном менеджере proftpd горит красным. Сервер на Ubuntu 24.04. Что делать?
2026-04-19_15-16-45.png
root@rrurpaemve:~# journalctl -u proftpd.service --no-pager -n 50
Apr 19 12:03:49 rrurpaemve systemd[1]: proftpd.service: Failed with result 'exit-code'.
Apr 19 12:03:49 rrurpaemve systemd[1]: Failed to start proftpd.service - ProFTPD FTP Server.
Apr 19 12:05:01 rrurpaemve systemd[1]: Starting proftpd.service - ProFTPD FTP Server...
Apr 19 12:05:01 rrurpaemve proftpd[1505758]: Checking syntax of configuration file
Apr 19 12:05:01 rrurpaemve proftpd[1505758]: 2026-04-19 12:05:01,569 rrurpaemve proftpd[1505758]: warning: unable to determine IP address of 'rrurpaemve'
Apr 19 12:05:01 rrurpaemve proftpd[1505758]: 2026-04-19 12:05:01,569 rrurpaemve proftpd[1505758]: error: no valid servers configured
Apr 19 12:05:01 rrurpaemve proftpd[1505758]: 2026-04-19 12:05:01,569 rrurpaemve proftpd[1505758]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
Apr 19 12:05:01 rrurpaemve systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE
Apr 19 12:05:01 rrurpaemve systemd[1]: proftpd.service: Failed with result 'exit-code'.
Apr 19 12:05:01 rrurpaemve systemd[1]: Failed to start proftpd.service - ProFTPD FTP Server.
Apr 19 12:09:01 rrurpaemve systemd[1]: Starting proftpd.service - ProFTPD FTP Server...
Apr 19 12:09:01 rrurpaemve proftpd[1508416]: Checking syntax of configuration file
Apr 19 12:09:01 rrurpaemve proftpd[1508416]: 2026-04-19 12:09:01,776 rrurpaemve proftpd[1508416]: warning: unable to determine IP address of 'rrurpaemve'
Apr 19 12:09:01 rrurpaemve proftpd[1508416]: 2026-04-19 12:09:01,776 rrurpaemve proftpd[1508416]: error: no valid servers configured
Apr 19 12:09:01 rrurpaemve proftpd[1508416]: 2026-04-19 12:09:01,776 rrurpaemve proftpd[1508416]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
Apr 19 12:09:01 rrurpaemve systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE
Apr 19 12:09:01 rrurpaemve systemd[1]: proftpd.service: Failed with result 'exit-code'.
Apr 19 12:09:01 rrurpaemve systemd[1]: Failed to start proftpd.service - ProFTPD FTP Server.
Apr 19 12:13:01 rrurpaemve systemd[1]: Starting proftpd.service - ProFTPD FTP Server...
Apr 19 12:13:01 rrurpaemve proftpd[1510183]: Checking syntax of configuration file
Apr 19 12:13:01 rrurpaemve proftpd[1510183]: 2026-04-19 12:13:01,144 rrurpaemve proftpd[1510183]: warning: unable to determine IP address of 'rrurpaemve'
Apr 19 12:13:01 rrurpaemve proftpd[1510183]: 2026-04-19 12:13:01,144 rrurpaemve proftpd[1510183]: error: no valid servers configured
Apr 19 12:13:01 rrurpaemve proftpd[1510183]: 2026-04-19 12:13:01,144 rrurpaemve proftpd[1510183]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
Apr 19 12:13:01 rrurpaemve systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE
Apr 19 12:13:01 rrurpaemve systemd[1]: proftpd.service: Failed with result 'exit-code'.
Apr 19 12:13:01 rrurpaemve systemd[1]: Failed to start proftpd.service - ProFTPD FTP Server.
Apr 19 12:14:21 rrurpaemve systemd[1]: Starting proftpd.service - ProFTPD FTP Server...
Apr 19 12:14:21 rrurpaemve proftpd[1511791]: Checking syntax of configuration file
Apr 19 12:14:21 rrurpaemve proftpd[1511791]: 2026-04-19 12:14:21,104 rrurpaemve proftpd[1511791]: warning: unable to determine IP address of 'rrurpaemve'
Apr 19 12:14:21 rrurpaemve proftpd[1511791]: 2026-04-19 12:14:21,104 rrurpaemve proftpd[1511791]: error: no valid servers configured
Apr 19 12:14:21 rrurpaemve proftpd[1511791]: 2026-04-19 12:14:21,104 rrurpaemve proftpd[1511791]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
Apr 19 12:14:21 rrurpaemve systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE
Apr 19 12:14:21 rrurpaemve systemd[1]: proftpd.service: Failed with result 'exit-code'.
Apr 19 12:14:21 rrurpaemve systemd[1]: Failed to start proftpd.service - ProFTPD FTP Server.
Apr 19 12:17:01 rrurpaemve systemd[1]: Starting proftpd.service - ProFTPD FTP Server...
Apr 19 12:17:01 rrurpaemve proftpd[1514728]: Checking syntax of configuration file
Apr 19 12:17:01 rrurpaemve proftpd[1514728]: 2026-04-19 12:17:01,496 rrurpaemve proftpd[1514728]: warning: unable to determine IP address of 'rrurpaemve'
Apr 19 12:17:01 rrurpaemve proftpd[1514728]: 2026-04-19 12:17:01,496 rrurpaemve proftpd[1514728]: error: no valid servers configured
Apr 19 12:17:01 rrurpaemve proftpd[1514728]: 2026-04-19 12:17:01,496 rrurpaemve proftpd[1514728]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
Apr 19 12:17:01 rrurpaemve systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE
Apr 19 12:17:01 rrurpaemve systemd[1]: proftpd.service: Failed with result 'exit-code'.
Apr 19 12:17:01 rrurpaemve systemd[1]: Failed to start proftpd.service - ProFTPD FTP Server.
Apr 19 12:21:01 rrurpaemve systemd[1]: Starting proftpd.service - ProFTPD FTP Server...
Apr 19 12:21:01 rrurpaemve proftpd[1518003]: Checking syntax of configuration file
Apr 19 12:21:01 rrurpaemve proftpd[1518003]: 2026-04-19 12:21:01,838 rrurpaemve proftpd[1518003]: warning: unable to determine IP address of 'rrurpaemve'
Apr 19 12:21:01 rrurpaemve proftpd[1518003]: 2026-04-19 12:21:01,838 rrurpaemve proftpd[1518003]: error: no valid servers configured
Apr 19 12:21:01 rrurpaemve proftpd[1518003]: 2026-04-19 12:21:01,838 rrurpaemve proftpd[1518003]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
Apr 19 12:21:01 rrurpaemve systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE
Apr 19 12:21:01 rrurpaemve systemd[1]: proftpd.service: Failed with result 'exit-code'.
Apr 19 12:21:01 rrurpaemve systemd[1]: Failed to start proftpd.service - ProFTPD FTP Server.

asizintsev
Сообщения: 41
Зарегистрирован: Пн дек 05, 2022 4:05 pm

Re: Не работает FTP

Сообщение asizintsev » Вс апр 19, 2026 12:57 pm

Оказалось, что /etc/hosts было как-то не так указано

Исходное (IP скрыл):
127.0.0.1 localhost
45.*.*.*
45.*.*.* The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
45.*.*.*
Стало:

127.0.0.1 localhost localhost.localdomain
45.*.*.* rrurpaemve

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Проверяем разрешение имени:
ping -c 1 rrurpaemve
Перезапускаем ProFTPd:
systemctl restart proftpd
systemctl status proftpd
FTP заработал.

Ответить