www.ProFTPD.de
13. März 2007, 19:47:52 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: Proftpd Startproblem  (Gelesen 508 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
numx
ProFTPD
*
Offline Offline

Beiträge: 25


Profil anzeigen
« am: 26. November 2004, 10:26:25 »

Hallo Leute,

nach der Anleitung von Sven habe ich mir meine Keys für das TLS Modul nun endlich erstellen können. Ich habe die proftpd.conf auch nach dieser Anleitung angepasst bekomme aber beim Start folgende Fehlermeldung.

-No certificate files found!
- Fatal: unknown configuration directive '<IfModule>' on line 54 of '/etc/proftpd.conf'.

Das TLS MOdul ist mit eingebunden das sagt mir jedenfalls

Nach einem proftpd -l
Compiled-in modules:
mod_tls.c

Die Zeilen für TLS habe ich auch 1 zu 1 aus der Anleitung in meine proftp.conf eingetragen.

Hier mein proftpd.conf

# 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         "Debian"
ServerType         standalone
DeferWelcome         off

ShowSymlinks         on
MultilineRFC2228      on
DefaultServer         on
ShowSymlinks         on
AllowOverwrite         on

TimeoutNoTransfer      600
TimeoutStalled         600
TimeoutIdle         1200

DisplayLogin                    welcome.msg
DisplayFirstChdir               .message
LsDefaultOptions                "-l"

DenyFilter         \*.*/

# Uncomment this if you are using NIS or LDAP to retrieve passwords:
#PersistentPasswd      off

# Port 21 is the standard FTP port.
Port            21

# 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

# Set the user and group that the server normally runs at.
User            nobody
Group            nogroup

# Normally, we want files to be overwriteable.
<Directory /*>
  # Umask 022 is a good standard umask to prevent new files and dirs
  # (second parm) from being group and world writable.
  Umask            022  022

  AllowOverwrite      on
</Directory>


<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/proftpd/proftpd_tls.log
TLSProtocol TLSv1
TLSRequired off
TLSRSACertificateFile /etc/ssl/certs/server.crt
TLSRSACertificateKeyFile /etc/ssl/certs/server.key
TLSVerifyClient off
</IfModule>

# A basic anonymous configuration, no upload directories.

## <Anonymous ~ftp>
##   User            ftp
##   Group            nogroup
##   # We want clients to be able to login with "anonymous" as well as "ftp"
##   UserAlias         anonymous ftp
##
##   RequireValidShell      off
##
##   # Limit the maximum number of anonymous logins
##   MaxClients         10
##
##   # We want 'welcome.msg' displayed at login, and '.message' displayed
##   # in each newly chdired directory.
##   DisplayLogin         welcome.msg
##   DisplayFirstChdir      .message
##
##   # Limit WRITE everywhere in the anonymous chroot
##   <Directory *>
##     <Limit WRITE>
##       DenyAll
##     </Limit>
##   </Directory>
##
##   # Uncomment this if you're brave.
##   # <Directory incoming>
##   #   # Umask 022 is a good standard umask to prevent new files and dirs
##   #   # (second parm) from being group and world writable.
##   #   Umask            022  022
##   #            <Limit READ WRITE>
##   #            DenyAll
##   #            </Limit>
##   #            <Limit STOR>
##   #            AllowAll
##   #            </Limit>
##   # </Directory>
##
## </Anonymous>

Mein System ist Debian 3.0r3

Ich habe die Standard Pakete proftpd und openssl von Debian 3.0r3 installiert. Danke für eure Antworten.
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #1 am: 26. November 2004, 11:40:50 »

Mach mal <IfModule mod_tls.c> und </IfModule> raus.
Das Modul hast du ja eh. Brauchst du die Abfrage also nicht zwingend....
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
numx
ProFTPD
*
Offline Offline

Beiträge: 25


Profil anzeigen
« Antwort #2 am: 26. November 2004, 11:48:59 »

wenn ich das mache mekert er bei der nächsten Zeile unzwar.

unknown configuration directive 'TLSEngine' on line 55 of /etc/proftpd.conf

was kann das nur sein?
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #3 am: 26. November 2004, 13:22:21 »

Kann es sein, dass du proftpd zweimal installiert hast?

Mach mal find / -name proftpd* -print und poste das hier.
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
numx
ProFTPD
*
Offline Offline

Beiträge: 25


Profil anzeigen
« Antwort #4 am: 26. November 2004, 13:29:22 »

also find / -name proftpd* -print
ergab fogendes

/usr/sbin/proftpd
/usr/share/doc/proftpd
/usr/doc/proftpd
/etc/init.d/proftpd
/etc/default/proftpd
/etc/pam.d/proftpd
/etc/cron.monthly/proftpd
/var/run/proftpd

ich habe es nur einmal installiert.
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #5 am: 26. November 2004, 14:07:30 »

Zitat von: "numx"
also find / -name proftpd* -print
ergab fogendes

/usr/sbin/proftpd
/usr/share/doc/proftpd
/usr/doc/proftpd
/etc/init.d/proftpd
/etc/default/proftpd
/etc/pam.d/proftpd
/etc/cron.monthly/proftpd
/var/run/proftpd

ich habe es nur einmal installiert.

Stimmt  Cool

Mmmh. Also proftpd -l - haste gesagt - zeigt mod_tls an.
Komisch.
Mach mal killall proftpd und proftpd -nd5
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
Anonymous
Gast
« Antwort #6 am: 26. November 2004, 14:26:57 »

habe ich gemacht und es kam folgendes bei raus

killall proftpd

proftpd -nd5

-No certificate files found!
-Compiling deny regex '\*.*/'.
-Allocated deny regex at location 0x808f468.
-Fatal: unknown configuration directive '<IfModule>' on line 53 of '/etc/proftpd.conf


Warum kennt er <IfModule> nicht? Muss das vielleicht auch woanders in der Datei definiert werden?
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #7 am: 26. November 2004, 15:26:18 »

Zitat von: "Anonymous"
Warum kennt er <IfModule> nicht? Muss das vielleicht auch woanders in der Datei definiert werden?

Weiß ich nicht.
Solltest du doch rausnehmen.
Außerdem such mal nach "No certificate files found!" im Forum. (Sehe ich ja jetzt erst.... :oops: )
Du mußt die Zertifikate bestimmt noch erstellen.
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
numx
ProFTPD
*
Offline Offline

Beiträge: 25


Profil anzeigen
« Antwort #8 am: 26. November 2004, 20:43:43 »

ich habe die Schlüssel schon erstellt und richtig in der Datei angegeben (siehe oben). Das hat nichts mit den Schlüsseln zu tun. Ob das vielleicht ein Bug in ptoftpd ist?
Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.058 Sekunden mit 16 Zugriffen.