Wie SSL Problem mit proftpd lösen?

shadow_one

Captain
Registriert
Okt. 2005
Beiträge
3.431
Guten Morgen,

seit geraumer Zeit kann ich proftp nicht mehr starten (ubuntu server 12.04) und glaube dem Problem etwas näher gekommen zu sein.

sudo /etc/init.d/proftpd check-config hat folgendes ergeben:

ubuntu proftpd[1842]: mod_tls/2.4.3: compiled using OpenSSL version 'OpenSSL 1.0.0e 6 Sep 2011' headers, but linked to OpenSSL version 'OpenSSL 1.0.1 14 Mar 2012' library
ubuntu proftpd[1842]: mod_sftp/0.9.8: compiled using OpenSSL version 'OpenSSL 1.0.0e 6 Sep 2011' headers, but linked to OpenSSL version 'OpenSSL 1.0.1 14 Mar 2012' library
ubuntu proftpd[1842]: mod_tls_memcache/0.1: notice: unable to register 'memcache' SSL session cache: Memcache support not enabled

Weiß einer wie ich das Problem beheben kann? Proftp scheint wohl von einer alten SSL Version auszugehen. Ich weiß aber nicht, wie ich proftp sagen kann, die neue zu nutzen.
 
mach ma proftpd -V
die "logs" von dir sind nur warnugen. die sollten mit deinem problem nix zu tun haben.
 
Ok hier. Und was ich vorher aufgelistet habe sind keine Fehlermeldungen? Wenn ich proftp von Hand starten möchte, kommt ja die Meldung "proftpd kann nicht gestartet werden, check your configuration".

Compile-time Settings:
Version: 1.3.4a (maint)
Platform: LINUX [Linux 3.2.0-24-generic-pae i686]
Built: Fri Dec 16 2011 17:47:14 UTC
Built With:
configure '--prefix=/usr' '--with-includes=/usr/include/postgresql:/usr/include/mysql' '--mandir=/usr/share/man' '--sysconfdir=/etc/proftpd' '--localstatedir=/var/run' '--libexecdir=/usr/lib/proftpd' '--enable-sendfile' '--enable-facl' '--enable-dso' '--enable-autoshadow' '--enable-ctrls' '--with-modules=mod_readme' '--enable-ipv6' '--enable-nls' '--with-lastlog=/var/log/lastlog' '--enable-pcre' '--build' 'i686-linux-gnu' '--with-shared=mod_unique_id:mod_site_misc:mod_load:mod_ban:mod_quotatab:mod_sql:mod_sql_mysql:mod_sql_postgres:mod_sql_sqlite:mod_sql_odbc:mod_dynmasq:mod_quotatab_sql:mod_ldap:mod_quotatab_ldap:mod_ratio:mod_tls:mod_rewrite:mod_radius:mod_wrap:mod_wrap2:mod_wrap2_file:mod_wrap2_sql:mod_quotatab_file:mod_quotatab_radius:mod_facl:mod_ctrls_admin:mod_copy:mod_deflate:mod_ifversion:mod_tls_memcache:mod_exec:mod_sftp:mod_sftp_pam:mod_sftp_sql:mod_shaper:mod_sql_passwd:mod_ifsession' 'build_alias=i686-linux-gnu' 'CFLAGS=-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_OPENSSL -DUSE_LDAP_TLS -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'

CFLAGS: -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_OPENSSL -DUSE_LDAP_TLS -O2 -Wall
LDFLAGS: -L$(top_srcdir)/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib/i386-linux-gnu -L/usr/lib
LIBS: -lpcreposix -lpcre -lssl -lcrypto -lcap -lpam -lsupp -lcrypt -ldl -ldl -lz

Files:
Configuration File:
/etc/proftpd/proftpd.conf
Pid File:
/var/run/proftpd.pid
Scoreboard File:
/var/run/proftpd.scoreboard
Header Directory:
/usr/include/proftpd
Shared Module Directory:
/usr/lib/proftpd

Features:
+ Autoshadow support
+ Controls support
+ curses support
- Developer support
+ DSO support
+ IPv6 support
+ Largefile support
+ Lastlog support
- Memcache support
+ ncurses support
+ NLS support
+ OpenSSL support
+ 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
 
Zuletzt bearbeitet:
Starte doch proftpd mal direkt via terminal, nix upstart oder init script und guck was für Fehlermeldungen kommen.
 
/etc/init.d/proftpd start
ProFTPD warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration.

Die Meldung habe ich schon bei google reingehauen, aber nichts für mich passendes gefundenen.

Es ist übrigens ein frisches Ubuntu, außer apt-get update && apt-get dist-upgrade habe ich nichts großartig gemacht.

Edit: Komisch ist auch: proftpd status ergibt. "ProFTPD is started in standalone mode, currently not running." Obwohl in der proftpd Konfig "Servertype inetd" steht.
Edit2: So habe mal auf Servertype standalone gewechselt und läuft jetzt. Also macht intit.d Probleme?
 
Zuletzt bearbeitet:
Ich sagte doch EXPLIZIT: NICHT via upstart oder init script.
Warum schreibe ich denn das extra hin?
 
Mumpitzelchen

Weil ich nicht weiß wie das geht :/
 
geh in den ordner in dem die bin von proftpd liegt und starte es mit proftpd + enter
 
Zurück
Oben