PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Proftpd will einfach nicht...!!



pinguin007
09.06.03, 21:29
Hallo,

leider willl mein Proftpd Server nicht so laufen wie er soll...
Habe leider keinen zugriff von keinem Rechner auf das angeblich frei gelegt Verzeichnis...
Ich hoffe Ihr könnt mir irgendwie helfen.
Um es zu vereinfachen habe ich einfach meine ganze proftpd.conf hier freigegeben..
Da wäre noch was...
Der Proftpd startet auch nicht immer .... oft kommt einfach faild obwohl ich nichts an der conf Datei geändert habe... Woran könnte das denn liegen...
Nun gut schaut euch mal bitte die conf mal an....



# This is a basic ProFTPD configuration file. It establishes a single
# server and a single anonymous login. It assumes that you have a
# user/group "nobody"/"nogroup" for normal operation and anon.

# !!! PLEASE read the documentation of proftpd !!!
#
# You can find the documentation in /usr/doc/packages/proftpd/,
# http://www.proftpd.org/ and don't forget to read carefully
# and _follow_ hints on http://www.proftpd.net/security.html.

ServerName "pinguin"
#ServerType inetd
ServerType standalone
ServerAdmin alfons@gmx.de
#
# uncomment, if you want to hide the servers name:
#
ServerIdent on "FTP Server ready"
DeferWelcome on
DefaultServer on

# Enable PAM for authentication...
#
AuthPAM on

# Setting this directive to on will cause authentication to fail
# if PAM authentication fails. The default setting, off, allows
# other modules and directives such as AuthUserFile and friends
# to authenticate users.
#
AuthPAMAuthoritative on

# This directive allows you to specify the PAM service name used
# in authentication (default is "proftpd" on SuSE Linux).
# You have to setup the service in the /etc/pam.d/<other_name>.
#
AuthPAMConfig proftpd

# 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

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

# Normally, we want files to be overwriteable.
<Directory /public>
AllowOverwrite off
HiddenStor on
HideNoAccess on
# DenyAll
</Directory>

# protect .ftpaccess and similar - see also PathDenyFilter
<Directory /*>
<Limit ALL>
DenyAll
IgnoreHidden on
</Limit>
</Directory>

# 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

# Performance: skip DNS resolution when we process the logs...
#UseReverseDNS off

# Turn off Ident lookups
IdentLookups off

# Set the maximum number of seconds a data connection is allowed
# to "stall" before being aborted.
TimeoutStalled 300

# Where do we put the pid files?
ScoreboardPath /var/run/proftpd



# Do a chroot for web-users (i.e. public or www group), but
# do not change root if the user is also in the users group...
#
#DefaultRoot ~/public_html public,!users
DefaultRoot /public

# Limit login attempts
MaxLoginAttempts 3


#
# Dort befindet sich die Login Datei... -> bessere Loesung als im
# <Anonymous>. Jetzt zeig er sie immer an!

DisplayConnect /public/login.msg

<Anonymous /public>
# After anonymous login, daemon runs as:
User ftp
Group public

# 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

# login.msg muss sich im root Verzeichnis befinden!
DisplayLogin login.msg
DisplayFirstChdir .message
</Anonymous>


gruss
pinguin007

Matzetronic
10.06.03, 05:32
hi,

ändere mal:
#ServerType inetd
in
ServerType standalone

gruß,
matze

$kuLL
10.06.03, 05:37
hat er doch oder?

ServerName "pinguin"
#ServerType inetd
ServerType standalone
ServerAdmin alfons@gmx.de

$kuLL
10.06.03, 05:39
welche fehlermeldung kommt denn beim verbinden zum ftp server?

Doh!
10.06.03, 09:19
Hast Du denn die Unix-Rechte auf den entsprechenden Verzeichnissen auch entsprechend gesetzt?

pinguin007
10.06.03, 12:14
Hallo,

ja die Unix rechte sind richtig gesetzt. Habe nämlich chmod 777 ausgeführt (aslo haben alle zugriff drauf).

Die Fehlermeldung : Verbindung wird abgebrochen schauen Sie nach ob sie zugriffs rechte haben... also sowas in der Art...

Da wäre aber noch was...
Der Server will manchma garnicht starten... also immer faild..
Das verstehe ich auch nicht..

Ich bin ganz schön am verzweifeln.. deswegen brauche ich eure hilfe...

Ah könnte das vielleicht an XP liegen... denn vorher habe ich immer von Win2000 auf den Proftpd zugegriffen...

Wenn ich starte sagt er "done" und wenn ich den "status " sehen will sagt er dead!
Auszug aus meiner Konsole...:


server:~ # /etc/init.d/proftpd start
Starting ProFTPD Server: done
server:~ # /etc/init.d/proftpd status
Checking for ProFTPD Server: dead


Verstehe ich nicht...???

gruss
pinguin

zippelmann
10.06.03, 12:58
Ich hab zwar keine Ahnung, wie ich Dir helfen kann, aber es wäre doch mal interessant zu wissen, was für ne Distribution Du verwendest. Vielleicht fällt dann ja noch jemandem was ein.

pinguin007
10.06.03, 13:00
Suse Linux 7.3
und proftpd 1.2

gruss
pinguin

Matzetronic
10.06.03, 18:51
hat er doch oder?

hab wohl noch gepennt, sorry :ugly:

schau mal bitte in den logs nach.


matze

pinguin007
10.06.03, 19:16
Problem schon gelöst.. Danke...

gruss
pinguin

Dewitt
10.06.03, 22:35
und wodran lag es? Könnte immerhin noch anderen helfen =)

pinguin007
11.06.03, 17:07
Es gab folgendes:

Der Proftpd lief immer im Hintergrund... den habe ich dann gekillt und den Proftpd im Debug Modus gestartet um zu sehen wo der Fehler lag!
Dann habe ich immer noch festgestellt das er immer noch im Hintergrund löuft
und dann das Speilchen von vorn bis er endlich lief.

Ah und noch was ... ich habe den Dienst in der service.conf auskommentiert...
Das wars schon...

gruss
pinguin