Current time: 12-23-2024, 08:22 PM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT] Probleme mit dem FTP Server
Author Message
Knut Offline
Member
***

Posts: 736
Joined: Nov 2006
Reputation: 10
Post: #21
RE: Probleme mit dem FTP Server
Nicht über die Konsole eingeben, an die entsprechenden Stellen in der /etc/proftpd/proftpd.conf eintragen ist wohl gemeint.


Knut
07-31-2009 04:24 PM
Find all posts by this user
tobiii Offline
Junior Member
*

Posts: 51
Joined: Jul 2009
Reputation: 0
Post: #22
RE: Probleme mit dem FTP Server
hi,

ok...danke, keine Ahnung...

hier ist die Datei:

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

MultilineRFC2228        on
DefaultServer            on
ShowSymlinks            on

TimeoutNoTransfer        600
TimeoutStalled            600
TimeoutIdle            1200

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

DenyFilter            \*.*/

# 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

# 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 kommt es denn rein??
(This post was last modified: 07-31-2009 04:49 PM by tobiii.)
07-31-2009 04:32 PM
Find all posts by this user
Knut Offline
Member
***

Posts: 736
Joined: Nov 2006
Reputation: 10
Post: #23
RE: Probleme mit dem FTP Server
Hoppla !
Da fehlt ja einiges an ispCP spezifischen "Kram".

Vergleiche am besten mal mit der passenden .conf aus : http://www.isp-control.net/ispcp/browser...an/proftpd

Knut
07-31-2009 05:22 PM
Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #24
RE: Probleme mit dem FTP Server
Nicht in der proftpd.conf sondern in der modules.conf!
Zudem ist das wie Knut schon erkannt hat keine ispCP Proftpd Config.

Deine System war schon vom Hoster installiert ?

Greez BeNe
07-31-2009 05:27 PM
Visit this user's website Find all posts by this user
tobiii Offline
Junior Member
*

Posts: 51
Joined: Jul 2009
Reputation: 0
Post: #25
RE: Probleme mit dem FTP Server
hallo, war vorinstalliert, diese mail kam, nach der installation:

Quote:Ihr vServer wurde soeben mit einem neuen Image (Debian 5.0 x86 ISPcp vorinstalliert) eingerichtet.
Sie koennen sich nun per root auf dem VServer vz146.worldserver.net einloggen.

Um das ISPcp Setup abzuschliesen bitte folgende Schritte durchfuehren.

- mysql Passwort vergeben
# mysqladmin -u root password MeinSQLPw

- in das ISPcp Setup Verzeichnis wechseln und Setup Skript ausfuehren.
# cd /var/www/ispcp/engine/setup
# perl ./ispcp-setup

Bis auf Passwoerter und die Emailadresse koennen die default Werte verwendet werden.

- nachdem das Setup erfolgreich durchgefuehrt wurde, kann man sich mit den vergebenen Daten (administrator login name, administrator password) am Interface anmelden:

Was soll ich jetzt also machen?
07-31-2009 05:41 PM
Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #26
RE: Probleme mit dem FTP Server
Hast Du danache ein apt-get upgrade oder mit aptitude packete aktualisiert ?
Fakt ist das diese nicht von ispCP sind oder eben durch ein Update überschrieben wurden.

Du kannst jetzt die aus dem Trunk wie Knut angegeben hat herunterladen und die proftpd.conf damit ersetzen. MySQL Passwort und Benutzername eintragen und es sollte gehen. Achso, die Module auch nicht richtig laden wie ich schon geschrieben hatte.

Greez BeNe
07-31-2009 05:49 PM
Visit this user's website Find all posts by this user
tobiii Offline
Junior Member
*

Posts: 51
Joined: Jul 2009
Reputation: 0
Post: #27
RE: Probleme mit dem FTP Server
(07-31-2009 05:49 PM)BeNe Wrote:  Hast Du danache ein apt-get upgrade oder mit aptitude packete aktualisiert ?
Fakt ist das diese nicht von ispCP sind oder eben durch ein Update überschrieben wurden.

Du kannst jetzt die aus dem Trunk wie Knut angegeben hat herunterladen und die proftpd.conf damit ersetzen. MySQL Passwort und Benutzername eintragen und es sollte gehen. Achso, die Module auch nicht richtig laden wie ich schon geschrieben hatte.

Greez BeNe

hi, habe über die systemtools "ispCP Updates" etc. gamcht. aber da war alles aktuell...

Ansonsten hab ich nicht upgerade
Kann ich die proftpd.conf so nehmen, oder muss ich noch was dran ändern? das es geht.... ?

Code:
#
# ispCP ω (OMEGA) a Virtual Hosting Control System
#
# @copyright    2001-2006 by moleSoftware GmbH
# @copyright    2006-2009 by ispCP | http://isp-control.net
# @version              SVN: $Id$
# @link                 http://isp-control.net
# @author               ispCP Team
#
# @license
#   This program is free software; you can redistribute it and/or modify it under
#   the terms of the MPL General Public License as published by the Free Software
#   Foundation; either version 1.1 of the License, or (at your option) any later
#   version.
#   You should have received a copy of the MPL Mozilla Public License along with
#   this program; if not, write to the Open Source Initiative (OSI)
#   http://opensource.org | osi@opensource.org
#
################################################################################​
# Includes DSO modules (this is mandatory in proftpd 1.3)
#Include /etc/proftpd/modules.conf
  
# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6                    off
  
ServerName                 "{HOST_NAME}"
ServerType                 standalone
DeferWelcome               off
  
MultilineRFC2228           on
DefaultServer              on
ShowSymlinks               on

AllowOverwrite             on
UseReverseDNS              off
IdentLookups               off
AllowStoreRestart          on
AllowForeignAddress        on
  
LogFormat                  traff "%b %u"

TimeoutLogin               120
TimeoutNoTransfer          600
TimeoutStalled             600
TimeoutIdle                1200
  
DisplayLogin               welcome.msg
DisplayFirstChdir          message
  
ListOptions                "-l"
#LsDefaultOptions           "-l"
  
DenyFilter                 \*.*/
  
DefaultRoot                ~
  
Uncomment this if you are using NIS or LDAP to retrieve passwords:
PersistentPasswd         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
  
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
# Normally, we want files to be overwriteable.
AllowOverwrite           on
HideNoAccess             on
</Directory>
  
<Limit ALL>
  IgnoreHidden             on
</Limit>
  
# 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
  
<Global>
RootLogin                off
   TransferLog              /var/log/proftpd/xferlog
   ExtendedLog              /var/log/proftpd/ftp_traff.log read,write traff
   PathDenyFilter           "\.quota$"
</Global>
  
#
# SSL via TLS
#
#<IfModule mod_tls.c>
#  TLSEngine                off                           # on for use of TLS
#  TLSLog                   /var/log/proftpd/ftp_ssl.log  # where to log to
#  TLSProtocol              SSLv23                        # SSLv23 or TLSv1
#  TLSOptions               NoCertRequest                 # either to request the certificate or not
#  TLSRSACertificateFile    /etc/proftpd/ssl.crt          # SSL certfile
#  TLSRSACertificateKeyFile /etc/proftpd/ssl.key          # SSL keyfile
#  TLSVerifyClient          off                           # client verification
#</IfModule>
  
#
# ISPCP Quota management;
#
<IfModule mod_quotatab.c>
   QuotaEngine              on
   QuotaShowQuotas          on
   QuotaDisplayUnits        Mb
  
   SQLNamedQuery            get-quota-limit SELECT "name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM quotalimits WHERE name = '%{0}' AND quota_type = '%{1}'"
   SQLNamedQuery            get-quota-tally SELECT "name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM quotatallies WHERE name = '%{0}' AND quota_type = '%{1}'"
   SQLNamedQuery            update-quota-tally UPDATE "bytes_in_used = bytes_in_used + %{0}, bytes_out_used = bytes_out_used + %{1}, bytes_xfer_used = bytes_xfer_used + %{2}, files_in_used = files_in_used + %{3}, files_out_used = files_out_used + %{4}, files_xfer_used = files_xfer_used + %{5} WHERE name = '%{6}' AND quota_type = '%{7}'" quotatallies
   SQLNamedQuery            insert-quota-tally INSERT "%{0}, %{1}, %{2}, %{3}, %{4}, %{5}, %{6}, %{7}" quotatallies
  
   QuotaLock                /var/run/proftpd/tally.lock
   QuotaLimitTable          sql:/get-quota-limit
   QuotaTallyTable          sql:/get-quota-tally/update-quota-tally/insert-quota-tally
</IfModule>
  
<IfModule mod_ratio.c>
   Ratios                   on
</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           on
   ControlsMaxClients       2
   ControlsLog              /var/log/proftpd/controls.log
   ControlsInterval         5
   ControlsSocket           /var/run/proftpd/proftpd.sock
</IfModule>
  
<IfModule mod_ctrls_admin.c>
   AdminControlsEngine      on
</IfModule>
  
# ispCP SQL Managment
AuthOrder                  mod_sql.c mod_sql_mysql.c
# Activate for proftpd >= 1.3
#SQLBackend                 mysql
SQLAuthTypes               Crypt
SQLAuthenticate            on
SQLConnectInfo             {DATABASE_NAME}@{DATABASE_HOST} {DATABASE_USER} {DATABASE_PASS}
SQLUserInfo                ftp_users userid passwd uid gid homedir shell
SQLGroupInfo               ftp_group groupname gid members
SQLMinUserUID              {FTPD_MIN_UID}
SQLMinUserGID              {FTPD_MIN_GID}

# 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
#   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>
Include /etc/proftpd/ispcp/*

Hi, gerade gelesn aber in der proftpd.conf nicht gefunden:

MySQL Passwort und Benutzername eintragen und es sollte gehen


Wo wird es eingefügt?
(This post was last modified: 07-31-2009 06:37 PM by tobiii.)
07-31-2009 06:12 PM
Find all posts by this user
tobiii Offline
Junior Member
*

Posts: 51
Joined: Jul 2009
Reputation: 0
Post: #28
RE: Probleme mit dem FTP Server
hmmm...
irgendwie trette ich auf der stelle.

habe die datei ersetzt, doch es ist immer noch das selbe problem da.

Wo muss ich in der datei was vom SQL Server Kennwort und so eintragen?

Was hat es mit dem Update aufsich?

grüße
tobi
07-31-2009 10:38 PM
Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #29
RE: Probleme mit dem FTP Server
Du musst alle Variablen ala {VARIABLE} richtig ersetzen.
Hostname, SQL Benutzer, SQL Passwort usw...

Dann sollte alles wieder gehen wenn das passt.

Greez BeNe
07-31-2009 11:39 PM
Visit this user's website Find all posts by this user
tobiii Offline
Junior Member
*

Posts: 51
Joined: Jul 2009
Reputation: 0
Post: #30
RE: Probleme mit dem FTP Server
ok, wie ist denn der Standart SQL Benutzer? kann mich nicht dran erinnern einen vergeben zuhaben.... Kann man die daten irgendwo nachschauen?

Danke
tobi
07-31-2009 11:54 PM
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)