Ubuntu-Austria Foren-Übersicht
Portal  •  Forum  •  Profil  •  Suchen   •  Registrieren  •  Einloggen, um private Nachrichten zu lesen  •  Login   

 proftp auf vServer -> keine Verbindung

Neues Thema eröffnenNeue Antwort erstellen
Autor Nachricht
Gast











BeitragVerfasst am: 11.10.2009, 19:15    proftp auf vServer -> keine Verbindung Antworten mit ZitatNach oben

Hallo Ubuntu-Gemeinde!

Hab mir einen vServer zugelegt. Hab schon apache, php, mysql installiert und alles funktionierte super. Als ich dann versuchte, proftpd zu installieren war ich jedoch am ende mit meinem Latein. Ich suche nun schon seit 3 Tagen nach einer Lösung, werde aber nicht schlauer.

Ich habe also mal die LOCALES einstellungen gesetzt da diese - aus welchem Grund auch immer - nicht gesetzt waren. Auch den Dienst "inetutils-inetd" bzw. inetd hab ich installiert, da der standardmäßig anscheinend nicht dabei ist.

/etc/proftpd/proftpd.conf:

AllowOverwrite on
AuthAliasOnly on

# Choose here the user alias you want !!!!
UserAlias comhome userftp

ServerName                      "comhome.at"
ServerType                      inetd
DeferWelcome                    on

MultilineRFC2228 on
DefaultServer                   on
ShowSymlinks                    off

TimeoutNoTransfer 600
TimeoutStalled 100
TimeoutIdle 2200

DisplayChdir               .message
ListOptions                     "-l"

RequireValidShell               off

TimeoutLogin 20

RootLogin                       off

# It's better for debug to create log files ;-)
ExtendedLog                     /var/log/ftp.log
TransferLog                     /var/log/xferlog
SystemLog                       /var/log/syslog.log

#DenyFilter                     \*.*/
# I don't choose to use /etc/ftpusers file (set inside the users you want to ban, not useful for me)
UseFtpUsers off

# Allow to restart a download
AllowStoreRestart               on

# Port 21 is the standard FTP port, so you may prefer to use another port for security reasons (choose here the port you want)
Port                            1980

# 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 8

# Set the user and group that the server normally runs at.
User                  nobody
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

PersistentPasswd                off

MaxClients 8
MaxClientsPerHost 8
MaxClientsPerUser 8
MaxHostsPerUser 8

# Display a message after a successful login
AccessGrantMsg "welcome !!!"
# This message is displayed for each access good or not
ServerIdent                  on       "you're at home"

# Set /home/userftp directory as home directory
DefaultRoot /home/userftp

# Lock all the users in home directory, ***** really important *****
DefaultRoot ~

MaxLoginAttempts    5

#VALID LOGINS
<Limit LOGIN>
AllowUser userftp
DenyALL
</Limit>

<Directory /home/userftp>
Umask 022 022
AllowOverwrite off
        <Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD>
        DenyAll
        </Limit>
</Directory>

<Directory /home/userftp/download/*>
Umask 022 022
AllowOverwrite off
        <Limit MKD STOR DELE XMKD RNEF RNTO RMD XRMD>
        DenyAll
        </Limit>
</Directory>

<Directory /home/userftp/upload/>
Umask 022 022
AllowOverwrite on
        <Limit READ RMD DELE>
        DenyAll
        </Limit>

        <Limit STOR CWD MKD>
        AllowAll
        </Limit>
</Directory>


Habe den user userftp im System erstellt und das configfile mit "/etc/init.d/proftpd -t" überprüft sowie auch mit "proftpd -td5".

Wenn ich nun versuche eine Verbindung mit meinem FTP-Programm herzustellen dann macht gFTP folgende Ausgabe:

Suche IP Adresse von v220091037971777.yourvserver.net
Versuche v220091037971777.yourvserver.net:1980
Keine Verbindung zu v220091037971777.yourvserver.net möglich: Connection refused

Der Dienst "inetutils-inetd" wird mit ps -A gelistet und daher müsste auch proftp gestartet sein oder? Log-files seitens proftp wurden keine erstellt bzw. sind keine vorhanden, weder unter /var/log/proftpd noch unter /var/log. Hoffe es kann mir jemand von euch helfen.

emefge moses_johann!


Desktop: anderer

Version: 16.04

Hardware: Notebook

Architektur: 64Bit
Online    
Gast











BeitragVerfasst am: 11.10.2009, 19:20    (Kein Titel) Antworten mit ZitatNach oben

Problem hat sich gelöst: Die Firewall lässt die Anfrage auf Port 1980 nicht durch, ich muss den Standardport 21 verwenden.

Desktop: anderer

Version: 16.04

Hardware: Notebook

Architektur: 64Bit
Online    
Beiträge der letzten Zeit anzeigen:      
Neues Thema eröffnenNeue Antwort erstellen


 Gehe zu:   



Berechtigungen anzeigen


Forensicherheit

1008050261051 Angriffe abgewehrt

Powered by Orion based on phpBB © 2001, 2002 phpBB Group
CBACK Orion Style based on FI Theme
Alle Zeiten sind GMT + 2 Stunden



[ Page generation time: 0.054s (PHP: 70% - SQL: 30%) | SQL queries: 31 | GZIP enabled | Debug off ]