PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : proftpd startet nciht



Schmolleg
16.10.03, 20:29
Wenn ich meinen Proftp server unter meinem Debian starten will, dann kommt so eine Fehlermeldung:
- No certificate files found!

Was kann ich dagegen machen ?

]tux[cHriz
16.10.03, 20:40
hast du eine config?

Doh!
16.10.03, 22:37
Kommt ein Mann zum Arzt und sacht: "Mir tut was weh, können Sie mir helfen?"

Schmolleg
17.10.03, 12:33
Na klar /etc/proftpd.conf

elevator
17.10.03, 12:48
Original geschrieben von Schmolleg
Na klar /etc/proftpd.conf

Du sollst sie wohl eher posten oder anhängen ;)

Vermutung: Proftpd wurde mit mod_tls gebaut, es wurde aber kein Zertifikat erstellt bzw. es liegt nicht dort wo proftpd es erwartet.

Gruß elevator

Doh!
17.10.03, 12:54
Original geschrieben von Schmolleg
Na klar /etc/proftpd.conf

Kommt ein Mann zum Arzt und sacht: "Hab' mich auch schon mal röntgen lassen... irgendwann, habe auch Bilder davon..."

Schmolleg
17.10.03, 16:17
Wenn dem so wäre, was könnte ich dann machen ? Ich habe einfach nur das Paket mit apt-get install proftpd installiert.

Doh!
17.10.03, 19:40
Original geschrieben von Schmolleg
Wenn dem so wäre, was könnte ich dann machen ? Ich habe einfach nur das Paket mit apt-get install proftpd installiert.

Sach mal, kapierst Du's net oder was? Poste mal Deine Conf

Schmolleg
18.10.03, 14:09
# 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 "ProFTPD Default Installation"
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# 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 under which the server will run.
User nobody
Group nogroup

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
User ftp
Group ftp

# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

# 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
<Limit WRITE>
DenyAll
</Limit>
</Anonymous>

Doh!
19.10.03, 00:31
Die Config sieht ok aus, wie startest Du denn den FTP (Direkt das Binary mit optionen oder per Startskript?)

Schmolleg
19.10.03, 11:09
Nicht mit Startskribt sondern über /usr/sbin/proftpd .

Schmolleg
20.10.03, 13:18
Ich habe jetzt nen neuen proftp ru ntergeladen und versucht den zu compilieren. mit ./configure hat ja alles geklappt aber als ich dann make eingegeben habe:

cd lib/ && make lib
make[1]: Entering directory `/home/michael/proftpd-1.2.8/lib'
make[1]: Nothing to be done for `lib'.
make[1]: Leaving directory `/home/michael/proftpd-1.2.8/lib'
cd src/ && make src
make[1]: Entering directory `/home/michael/proftpd-1.2.8/src'
make[1]: Nothing to be done for `src'.
make[1]: Leaving directory `/home/michael/proftpd-1.2.8/src'
cd modules/ && make modules
make[1]: Entering directory `/home/michael/proftpd-1.2.8/modules'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/home/michael/proftpd-1.2.8/modules'
make[1]: Entering directory `/home/michael/proftpd-1.2.8/lib/libcap'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/michael/proftpd-1.2.8/lib/libcap'
gcc -Llib -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/inet.o src/log.o src/bindings.o src/scoreboard.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/module_glue.o -lsupp -lcrypt -Llib/libcap -lcap
lib/libcap/libcap.a(cap_text.o): In function `namcmp':
cap_text.o(.text+0x5a): undefined reference to `__ctype_tolower_loc'
cap_text.o(.text+0x7d): undefined reference to `__ctype_b_loc'
lib/libcap/libcap.a(cap_text.o): In function `lookupname':
cap_text.o(.text+0xb1): undefined reference to `__ctype_b_loc'
lib/libcap/libcap.a(cap_text.o): In function `cap_from_text':
cap_text.o(.text+0x185): undefined reference to `__ctype_b_loc'
cap_text.o(.text+0x1be): undefined reference to `__ctype_b_loc'
cap_text.o(.text+0x232): undefined reference to `__ctype_b_loc'
lib/libcap/libcap.a(cap_text.o)(.text+0x306): more undefined references to `__ctype_b_loc' follow
collect2: ld returned 1 exit status
make: *** [proftpd] Error 1


Mit dem Fehler kann ich nichts anfangen. Was könnte ich machen ?
So Probleme hab ich nur mir Debian.

steve-bracket
20.10.03, 13:53
Original geschrieben von Schmolleg
Nicht mit Startskribt sondern über /usr/sbin/proftpd .

Probier die Steuerung über inetd.
Die Config sieht richtig aus.
In der Config das standalone mit inetd ersetzen und die /etc/inetd.conf anpassen.


Gruß
Steve