Register for your free account! | Forgot your password?

Go Back   elitepvpers > Off-Topics > Technical Support > Unix/Linux
You last visited: Today at 09:28

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Debian Server] Problem mit Proftpd

Discussion on [Debian Server] Problem mit Proftpd within the Unix/Linux forum part of the Technical Support category.

Reply
 
Old   #1
 
MentisMora's Avatar
 
elite*gold: 0
Join Date: Nov 2012
Posts: 20
Received Thanks: 2
[Debian Server] Problem mit Proftpd

Hallo liebe Runde,

ich nutze zum erstelen mal unfreiwillig Proftpd weil es meine neue Projekt Idee verlangt. Nun habe ich aber ein Problem. Also......

1. Installieet mit
Code:
apt-get install proftpd
2. Dem Tutorial gefolgt und einen User angelegt für das Verzeichnis www

3. Versucht zu verbinden und....
Code:
Verbindungsversuch fehlgeschlagen mit "ECONNREFUSED - Connection refused by server".
Folgende Einrichtung habe ich in meiner Config also der proftpd.conf in /etc/proftpd :
Code:
#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
# 

# Includes DSO modules
Include /etc/proftpd/modules.conf

# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6				on
# If set on you can experience a longer connection delay in many cases.
IdentLookups			off

ServerName			"PabloMedia"
ServerType			standalone
DeferWelcome			on

MultilineRFC2228		on
DefaultServer			on
ShowSymlinks			off

TimeoutNoTransfer		600
TimeoutStalled			100
TimeoutIdle			2200

DisplayLogin                    welcome.msg
DisplayChdir               	.message true
ListOptions                	"-l"

DenyFilter			\*.*/

UseFtpUsers off

# Use this to jail all users in their homes 
 DefaultRoot			~

# Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
 RequireValidShell		off

# Port 21 is the standard FTP port.
Port				21

# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
# PassivePorts                  49152 65534

# If your host was NATted, this option is useful in order to
# allow passive tranfers to work. You have to use your public
# address and opening the passive ports used on your firewall as well.
# MasqueradeAddress		1.2.3.4

# This is useful for masquerading address with dynamic IPs:
# refresh any configured MasqueradeAddress directives every 8 hours
<IfModule mod_dynmasq.c>
# DynMasqRefresh 28800
</IfModule>

# 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				proftpd
Group				nogroup

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

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

# This is required to use both PAM-based authentication and local passwords
# AuthOrder			mod_auth_pam.c* mod_auth_unix.c

# Be warned: use of this directive impacts CPU average load!
# Uncomment this if you like to see progress and transfer rate with ftpwho
# in downloads. That is not needed for uploads rates.
#
# UseSendFile			off

TransferLog /var/log/proftpd/xferlog
SystemLog   /var/log/proftpd/proftpd.log

<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>

<IfModule mod_ratio.c>
Ratios off
</IfModule>


# Delay engine reduces impact of the so-called Timing Attack described in
# http://security.lss.hr/index.php?page=details&ID=LSS-2004-10-02
# It is on by default. 
<IfModule mod_delay.c>
DelayEngine on
</IfModule>

<IfModule mod_ctrls.c>
ControlsEngine        off
ControlsMaxClients    2
ControlsLog           /var/log/proftpd/controls.log
ControlsInterval      5
ControlsSocket        /var/run/proftpd/proftpd.sock
</IfModule>

<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>

#
# Alternative authentication frameworks
#
#Include /etc/proftpd/ldap.conf
#Include /etc/proftpd/sql.conf

#
# This is used for FTPS connections
#
#Include /etc/proftpd/tls.conf

#
# Useful to keep VirtualHost/VirtualRoot directives separated
#
#Include /etc/proftpd/virtuals.con

# 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
#   # Cosmetic changes, all files belongs to ftp user
#   DirFakeUser	on ftp
#   DirFakeGroup on 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
#   DisplayChdir		.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>
Wo sitzt der Fehler das ich mit meinem FTP Programm nicht auf meinen Server nun mit diesem User zugreifen kann ? Was muss ich beheben ?
MentisMora is offline  
Old 05/26/2013, 01:39   #2
 
elite*gold: 57
Join Date: Jun 2011
Posts: 2,220
Received Thanks: 865
Poste mal bitte den Inhalt von "/var/log/proftpd/proftpd.log". Es könnten viele Ursachen sein.. Außerdem wäre nicht schlecht zu wissen, welches System du benutzt. Centos? Debian? Etwas anderes?

Grüße
Zypr is offline  
Old 05/26/2013, 09:23   #3
 
MentisMora's Avatar
 
elite*gold: 0
Join Date: Nov 2012
Posts: 20
Received Thanks: 2
Antwort

Der Log ist nicht gerade groß daher ich ja wie gesagt erst garkeine Verbindung zu meinem Server mit dem FTP Programm kriege:
Code:
May 25 18:49:23 localhost proftpd[1329] localhost: ProFTPD 1.3.3a (maint) (built Tue Jan 8 2013 14:41:26 UTC) standalone mode STARTUP
May 25 19:33:28 localhost proftpd[1329] localhost: ProFTPD killed (signal 15)
May 25 19:33:28 localhost proftpd[1329] localhost: ProFTPD 1.3.3a standalone mode SHUTDOWN
May 25 19:33:30 localhost proftpd[4654] localhost: ProFTPD 1.3.3a (maint) (built Tue Jan 8 2013 14:41:26 UTC) standalone mode STARTUP
ich hoffe nun ist eine Hilfe möglich. Dazu sollte ich erwähnen ich habe rausgefunden das zum Beispiel bei Joomla und Wordpress der Zugriff auf Templates uploaden und plugins geht über den FTP User aber halt nicht mit den Programm.

Es ist wie in der Klammer im Titel erwähnt Debian. Die Version ist Debian 6 minimal. Zurzeit ist noch Apache als Webserver System. Der Umstieg auf ngix ist von meinem Geschäftspartner noch nicht zugestimmt. Datenbank ist mysql
MentisMora is offline  
Old 05/26/2013, 11:03   #4
 
elite*gold: 424
Join Date: Dec 2012
Posts: 4,208
Received Thanks: 903
Ich stelle mir die frage,welche rechte der angelegte FTP user auf dem server in den jeweiligen verzeichnissen hat.
Wenn ich Filezilla einrichte,vergebe ich die berechtigungen immer differenziert.
Das nur als Denkanstoß;eventuell sind die berechtigungen nicht ausreichend oder es werden zuviele verbindungen geöffnet zum übertragen.

MfG
Verleihnix
Verleihnix is offline  
Old 05/26/2013, 13:02   #5
 
MentisMora's Avatar
 
elite*gold: 0
Join Date: Nov 2012
Posts: 20
Received Thanks: 2
Änderung zu Vsftpd. Daher Proftpd nicht will wie es soll. Vsftpd arbeitet ohne grundlegende Probleme
MentisMora is offline  
Reply


Similar Threads Similar Threads
Debian Root server problem (proftpd)
11/17/2012 - Unix/Linux - 0 Replies
Hallo Ich habe ein Problem ich habe einen User erstellt und wenn der nun Daten hochlaedt dann kann er nicht auf die zugreiffen da er keine Rechte dazu hat wie kann ich das aendern also die datei die er hochlaedt gehoert danach dem Root und nicht mehr dem accaunt kann man das um stellen dass es sofort dem accaunt
Proftpd (debian) auf eine Ip begrenzen?
06/11/2011 - General Coding - 2 Replies
Hi, ich habe einen Linux (Debian) vServer mit proftpd installiert und vermute das jemand über ftp bei mir eingedrungen ist. Ist es möglich alle ftp user auf eine bestimmte IP zu begrenzen da ich eine feste habe würde das kein Problem für mich sein. Gibt es da etwas? Wäre euch sehr dankbar für jeden Tipp edit: oder vielleicht einfach eine gute Firewall so wie die IPFW Firewall für freebsd
ProFTPD unter debian
06/10/2011 - Unix/Linux - 0 Replies
Hey, ich möchte die datei /etc/apt/sources.list um einen zeile editieren bloß krige ich ads mit vi nicht hin, deshalb habe ich mir (weil ich es eh ein schritt weiter gebraucht hätte) den FTP server proftpd installiert und habe mir einen user angelegt und ein passwort gesetzt, jedoch kommt beim verbinden mit filezilla immer: Befehl: PASS ******* Antwort: 530 Login incorrect. Fehler: Kritischer Fehler Fehler: Herstellen der Verbindung zum Server fehlgeschlagen weiß einer wie ich das lösen...
Linux(debian)server problem
12/30/2010 - Minecraft - 2 Replies
Hallo Leute, ich möchte gerne einen server auf meinen linux server machen aber java macht irgend welche macken weiß da jemand einen rat? Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. ich kenn das problem aber ich finde keine lösung dafür goggle sagt daszu auch nix xD



All times are GMT +1. The time now is 09:29.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.