Итак, proftpd-1.3.5_4, freebsd 10, ставился из портов. Становился и настроился без проблем.
Запускаем и смотрим, что он работает
root@server:/ # /usr/local/etc/rc.d/proftpd start Starting proftpd. root@server:/ # /usr/local/etc/rc.d/proftpd status proftpd is running as pid 15734.Но через короткий промежуток времени он сам останавливается. В логах ничего по этому поводу нет.
Запускаем proftpd с выводом информации в консоль
root@server:/ # proftpd -n -d 9 -c /usr/local/etc/proftpd.conf 2015-02-20 14:41:03,279 server proftpd[15751]: using PCRE 8.35 2014-04-04 2015-02-20 14:41:03,280 server proftpd[15751]: using TCP receive buffer size of 65536 bytes 2015-02-20 14:41:03,280 server proftpd[15751]: using TCP send buffer size of 32768 bytes 2015-02-20 14:41:03,284 server proftpd[15751]: setting default addresses to *.*.*.* 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: Config for FTP-DH: 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: Limit 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: DenyAll 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: DefaultServer 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: Umask 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: CommandBufferSize 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: UserID 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: UserName 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: GroupID 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: GroupName 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: DefaultRoot 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: DefaultRoot 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: AllowOverwrite 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: SyslogLevel 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: SystemLog 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: LogFormat 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: LogFormat 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: LogFormat 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: TimeoutIdle 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: MaxClients 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: DisplayLogin 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: mod_lang/1.0: binding to text domain 'proftpd' using locale path '/usr/local/share/locale' 2015-02-20 14:41:03,302 server proftpd[15751] *.*.*.*: mod_lang/1.0: using locale files in '/usr/local/share/locale' 2015-02-20 14:41:03,304 server proftpd[15751] *.*.*.*: mod_lang/1.0: added the following supported languages: zh_CN.UTF-8, zh_CN, zh_TW.UTF-8, zh_TW, en_US.UTF-8, en_US, es_ES.UTF-8, es_ES, it_IT.UTF-8, it_IT, ja_JP.UTF-8, ja_JP, ru_RU.UTF-8, ru_RU, bg_BG.UTF-8, bg_BG, fr_FR.UTF-8, fr_FR, ko_KR.UTF-8, ko_KR 2015-02-20 14:41:03,304 server proftpd[15751] *.*.*.*: ROOT PRIVS at mod_ctrls.c:1187 2015-02-20 14:41:03,304 server proftpd[15751] *.*.*.*: RELINQUISH PRIVS at mod_ctrls.c:1189 2015-02-20 14:41:03,304 server proftpd[15751] *.*.*.*: ROOT PRIVS at mod_delay.c:441 2015-02-20 14:41:03,304 server proftpd[15751] *.*.*.*: RELINQUISH PRIVS at mod_delay.c:444 2015-02-20 14:41:03,304 server proftpd[15751] *.*.*.*: ROOT PRIVS at mod_log.c:1762 2015-02-20 14:41:03,304 server proftpd[15751] *.*.*.*: RELINQUISH PRIVS at mod_log.c:1765 2015-02-20 14:41:03,304 server proftpd[15751] *.*.*.*: ROOT PRIVS at mod_rlimit.c:541 2015-02-20 14:41:03,304 server proftpd[15751] *.*.*.*: RELINQUISH PRIVS at mod_rlimit.c:544 2015-02-20 14:41:03,304 server proftpd[15751] *.*.*.*: set core resource limits for daemon 2015-02-20 14:41:03,305 server proftpd[15751] *.*.*.*: SETUP PRIVS at main.c:3014 2015-02-20 14:41:03,305 server proftpd[15751] *.*.*.*: ROOT PRIVS at main.c:2351 2015-02-20 14:41:03,305 server proftpd[15751] *.*.*.*: deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard' 2015-02-20 14:41:03,305 server proftpd[15751] *.*.*.*: opening scoreboard '/var/run/proftpd/proftpd.scoreboard' 2015-02-20 14:41:03,305 server proftpd[15751] *.*.*.*: RELINQUISH PRIVS at main.c:2378 2015-02-20 14:41:03,305 server proftpd[15751] *.*.*.*: ROOT PRIVS at inet.c:247 2015-02-20 14:41:03,305 server proftpd[15751] *.*.*.*: RELINQUISH PRIVS at inet.c:270 2015-02-20 14:41:03,305 server proftpd[15751] *.*.*.*: ROOT PRIVS at inet.c:373 2015-02-20 14:41:03,305 server proftpd[15751] *.*.*.*: RELINQUISH PRIVS at inet.c:447 2015-02-20 14:41:03,305 server proftpd[15751] *.*.*.*: ProFTPD 1.3.5 (stable) (built Wed Feb 18 2015 15:41:34 KRAT) standalone mode STARTUP 2015-02-20 14:41:03,306 server proftpd[15751] *.*.*.*: ROOT PRIVS at pidfile.c:47 2015-02-20 14:41:03,306 server proftpd[15751] *.*.*.*: RELINQUISH PRIVS at pidfile.c:49 Alarm clock
В интернете пишут, что данная ошибка (Alarm clock), лечится пересборкой порта. Добавляем в Makefile такую строчку LDFLAGS+= -pthread.
Затем make configure && make install && make clean и все ftp стоит не падает
Затем make configure && make install && make clean и все ftp стоит не падает
Комментариев нет:
Отправить комментарий