felixio01
А есть такая папка на сервере?
/FTP
(заглавными буквами?)
А есть такая папка на сервере?
/FTP
(заглавными буквами?)
===> Configuring for proftpd-1.3.4a
==> Configuring with following modules:
mod_ratio:mod_readme:mod_rewrite:mod_copy:mod_deflate:mod_ifsession:mod_ifversion:mod_radius:mod_quotatab_file:mod_quotatab_sql:mod_quotatab:mod_sftp:mod_sql:mod_tls:mod_wrap2
checking build system type... i386-portbld-freebsd9.0
checking host system type... i386-portbld-freebsd9.0
checking target system type... i386-portbld-freebsd9.0
checking for gcc...
............................
libtool: install: /usr/bin/install -c -o root -g wheel -o root -g wheel -m 0755 .libs/mod_sql.a /usr/local/libexec/proftpd/mod_sql.a
libtool: install: strip --strip-debug /usr/local/libexec/proftpd/mod_sql.a
...........................
proftpd -l
Compiled-in modules:
mod_core.c
mod_xfer.c
mod_auth_unix.c
mod_auth_file.c
mod_auth.c
mod_ls.c
mod_log.c
mod_site.c
mod_delay.c
mod_facts.c
mod_dso.c
mod_ident.c
mod_auth_pam.c
mod_ctrls.c
mod_lang.c
proftpd -t
Checking syntax of configuration file
proftpd[1171]: Fatal: unknown configuration directive 'SQLAuthTypes' on line 41 of '/usr/local/etc/proftpd.conf'
Compile-time Settings:
Version: 1.3.4a (maint)
Platform: LINUX [Linux 2.6.32-220.4.1.el6.x86_64 x86_64]
Built: Tue Jan 24 2012 13:27:13 MSK
Built With:
configure '--build=x86_64-unknown-linux-gnu' '--host=x86_64-unknown-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix='
'--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info'
'--libexecdir=/usr/libexec/proftpd' '--localstatedir=/var/run' '--enable-ctrls' '--enable-dso' '--enable-facl' '--enable-ipv6' '--enable-nls' '--enable-openssl' '--enable-shadow' '--with-libraries=/usr/lib64/mysql' '--with-includes=/usr/include/mysql' '--with-modules=mod_readme:mod_auth_pam:mod_tls:mod_vroot'
'--with-shared=mod_sql:mod_sql_mysql:mod_sql_postgres:mod_quotatab:mod_quotatab_file:mod_quotatab_ldap:mod_quotatab_radius:
mod_quotatab_sql:mod_ldap:mod_ban:mod_wrap:mod_ctrls_admin:mod_facl:mod_load:mod_radius:mod_ratio:mod_rewrite:mod_site_misc:
mod_exec:mod_wrap2:mod_wrap2_file:mod_wrap2_sql:mod_sftp:mod_ifsession'
'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-unknown-linux-gnu' 'target_alias=x86_64-redhat-linux-gnu'
'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
CFLAGS: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall
LDFLAGS: -L$(top_srcdir)/lib -L/usr/lib64/mysql -L/usr/lib64/mysql -L/usr/lib64
LIBS: -lacl -lssl -lcrypto -lssl -lcrypto -lcap -lssl -lcrypto -lpam -lsupp -lcrypt -ldl -ldl -lz
Files:
Configuration File:
/etc/proftpd.conf
Pid File:
/var/run/proftpd.pid
Scoreboard File:
/var/run/proftpd.scoreboard
Header Directory:
/usr/include/proftpd
Shared Module Directory:
/usr/libexec/proftpd
Features:
- Autoshadow support
+ Controls support
+ curses support
- Developer support
+ DSO support
+ IPv6 support
+ Largefile support
- Lastlog support
- Memcache support
+ ncursesw support
+ NLS support
+ OpenSSL support (FIPS enabled)
- PCRE support
+ POSIX ACL support
+ Shadow file support
+ Sendfile support
+ Trace support
Tunable Options:
PR_TUNABLE_BUFFER_SIZE = 1024
PR_TUNABLE_DEFAULT_RCVBUFSZ = 8192
PR_TUNABLE_DEFAULT_SNDBUFSZ = 8192
PR_TUNABLE_GLOBBING_MAX_MATCHES = 100000
PR_TUNABLE_GLOBBING_MAX_RECURSION = 8
PR_TUNABLE_HASH_TABLE_SIZE = 40
PR_TUNABLE_NEW_POOL_SIZE = 512
PR_TUNABLE_SCOREBOARD_BUFFER_SIZE = 80
PR_TUNABLE_SCOREBOARD_SCRUB_TIMER = 30
PR_TUNABLE_SELECT_TIMEOUT = 30
PR_TUNABLE_TIMEOUTIDENT = 10
PR_TUNABLE_TIMEOUTIDLE = 600
PR_TUNABLE_TIMEOUTLINGER = 30
PR_TUNABLE_TIMEOUTLOGIN = 300
PR_TUNABLE_TIMEOUTNOXFER = 300
PR_TUNABLE_TIMEOUTSTALLED = 3600
PR_TUNABLE_XFER_SCOREBOARD_UPDATES = 10
proftpd -V
Compile-time Settings:
Version: 1.3.4a (maint)
Platform: FREEBSD9 (FREEBSD9_0) [FreeBSD 9.0-RELEASE i386]
Built: Tue Jan 31 2012 02:22:08 MSK
Built With:
configure '--localstatedir=/var/run' '--libexecdir=/usr/local/libexec/proftpd' '--with-pkgconfig=libdata/pkgconfig' '--sysconfdir=/usr/local/etc' '--enable-dso' '--disable-sendfile' '--enable-ipv6' '--enable-nls' '--enable-pcre' '--enable-ctrls' '--disable-memcache' '--with-shared=mod_ratio:mod_readme:mod_rewrite:mod_copy:mod_deflate:mod_ifsession:mod_ifversion:mod_radius:mod_quotatab_file:mod_quotatab_sql:mod_quotatab:mod_sftp:mod_sql:mod_tls:mod_wrap2' '--with-includes=:/usr/local/include:/usr/local/include:/include' '--with-libraries=:/usr/local/lib:/usr/local/lib:/usr/local/lib' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd9.0' 'build_alias=i386-portbld-freebsd9.0' 'CC=cc' 'CFLAGS=-O2 -pipe -DHAVE_OPENSSL -I/usr/include -fno-strict-aliasing' 'LDFLAGS= -rpath=/usr/lib:/usr/local/lib' 'LIBS=-lintl -L/usr/local/lib -lssl -lcrypto -L/usr/lib' 'CPPFLAGS=' 'CPP=cpp'
CFLAGS: -O2 -pipe -DHAVE_OPENSSL -I/usr/include -fno-strict-aliasing -Wall
LDFLAGS: -L$(top_srcdir)/lib -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib
LIBS: -lintl -lpcreposix -lpcre -lssl -lcrypto -lpam -lsupp -lcrypt -lintl -L/usr/local/lib -lssl -lcrypto -L/usr/lib -liconv -lutil
Files:
Configuration File:
/usr/local/etc/proftpd.conf
Pid File:
/var/run/proftpd.pid
Scoreboard File:
/var/run/proftpd.scoreboard
Header Directory:
/usr/local/include/proftpd
Shared Module Directory:
/usr/local/libexec/proftpd
Features:
- Autoshadow support
+ Controls support
+ curses support
- Developer support
+ DSO support
+ IPv6 support
+ Largefile support
- Lastlog support
- Memcache support
+ ncursesw support
+ NLS support
+ OpenSSL support
+ PCRE support
- POSIX ACL support
- Shadow file suppport
- Sendfile support
+ Trace support
Tunable Options:
PR_TUNABLE_BUFFER_SIZE = 1024
PR_TUNABLE_DEFAULT_RCVBUFSZ = 8192
PR_TUNABLE_DEFAULT_SNDBUFSZ = 8192
PR_TUNABLE_GLOBBING_MAX_MATCHES = 100000
PR_TUNABLE_GLOBBING_MAX_RECURSION = 8
PR_TUNABLE_HASH_TABLE_SIZE = 40
PR_TUNABLE_NEW_POOL_SIZE = 512
PR_TUNABLE_SCOREBOARD_BUFFER_SIZE = 80
PR_TUNABLE_SCOREBOARD_SCRUB_TIMER = 30
PR_TUNABLE_SELECT_TIMEOUT = 30
PR_TUNABLE_TIMEOUTIDENT = 10
PR_TUNABLE_TIMEOUTIDLE = 600
PR_TUNABLE_TIMEOUTLINGER = 30
PR_TUNABLE_TIMEOUTLOGIN = 300
PR_TUNABLE_TIMEOUTNOXFER = 300
PR_TUNABLE_TIMEOUTSTALLED = 3600
PR_TUNABLE_XFER_SCOREBOARD_UPDATES = 10
: mod_sql/4.3: no SQL backends registered
: mod_sql.c: error initializing session: No such file or directory
: FTP session closed.
portupgrade -r proftpd
обновлять не желает(молча).
в помощь. см. 20120126
LoadModule mod_sql.c
LoadModule mod_sql_mysql.c
SQLBackend mysql
Спасибо, прочитал, хотя был в курсе. Именно в этом и состоял мой первоначальный вопрос. Как теперь обновиться?
Вроде как получается надо сносить установленный, из портов ставить новый с модулем sql и пытаться подпихнуть новому конфиг от старого с
Хм. Оно на make сразу ругается
Код:
proftpd-1.3.4a is marked as broken: __FreeBSD_libc_enter_restricted_mode is not supported
так что, не спеши сносить ))
попробуй из пакетов поставить (pkg_add)
удалил все порты коллекцию в /usr/ports
cd /usr
rm -r ports
Странно в портах я не наблюдаю proftpd-mysql
Предыдущая тема: Проблема в сети с master browser