Current time: 11-16-2024, 09:10 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[erledigt]proftpd mag nicht
Author Message
p.mueller Offline
Junior Member
*

Posts: 17
Joined: Jul 2009
Reputation: 0
Post: #1
[erledigt]proftpd mag nicht
Hallo, hab ispCP1.0.2 auf (VMware 1.0.x) ubuntu 8.04 LTS 64bit installiert. Schaut fast gut aus. ;-)

Meine Probleme:
a. proftpd: ftp localhost (oder auch remote):
421 Service not available, remote server has closed connection
Hab hier einige Threads gelesen und probiert, nutzt nix.
proftpd -nd9 zeigt:
(Domainname gekürzt)
ispcp-test. - ROOT PRIVS at main.c:1054
ispcp-test. - RELINQUISH PRIVS at main.c:1058
ispcp-test. - no matching vhost found for ::ffff:127.0.0.1#21, using DefaultServer 'ispCP-test.'
ispcp-test. (ispcp-test.local[::ffff:127.0.0.1]) - ROOT PRIVS at main.c:903
ispcp-test. (ispcp-test..local[::ffff:127.0.0.1]) - SETUP PRIVS at main.c:908
ispcp-test. (ispcp-test..local[::ffff:127.0.0.1]) - FTP session requested from unknown class
ispcp-test. (ispcp-test..local[::ffff:127.0.0.1]) - performing module session initializations
ispcp-test. (ispcp-test..local[::ffff:127.0.0.1]) - mod_sql/4.2.2: defaulting to 'mysql' backend
ispcp-test. (ispcp-test..local[::ffff:127.0.0.1]) - ROOT PRIVS at mod_delay.c:1095
ispcp-test. (ispcp-test..local[::ffff:127.0.0.1]) - RELINQUISH PRIVS at mod_delay.c:1097
ispcp-test. (ispcp-test.de.local[::ffff:127.0.0.1]) - FTP session closed.

Manueller mysql-Zugriff als vftp mit passwort funktioniert.
Kann das jemand interpretieren?
(This post was last modified: 09-22-2009 05:03 AM by ZooL.)
09-20-2009 01:09 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: proftpd mag nicht
was haste in der config?
09-20-2009 08:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
p.mueller Offline
Junior Member
*

Posts: 17
Joined: Jul 2009
Reputation: 0
Post: #3
RE: proftpd mag nicht
(09-20-2009 08:09 AM)joximu Wrote:  was haste in der config?

/etc/proftpd/proftpd.conf:

Include /etc/proftpd/modules.conf
UseIPv6 off
ServerName "ispCP-test.xxx.de"
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 \*.*/
DefaultRoot ~
RequireValidShell off
Port 21
# PassivePorts 49152 65534
# MasqueradeAddress 1.2.3.4
MaxInstances 30
User proftpd
Group nogroup
Umask 022 022
AllowOverwrite on
# PersistentPasswd off
# AuthOrder *mod_auth_pam.c mod_auth_unix.c
# UseSendFile off
<IfModule mod_sql.c>
SQLBackend mysql
</IfModule>
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>
<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>
Include /etc/proftpd/sql.conf
Include /etc/proftpd/tls.conf
09-20-2009 03:54 PM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #4
RE: proftpd mag nicht
Hi,
deine Proftpd config datei sieht nicht so aus als wenn es die mitgelieferte
config von ispcp ist...


mfg
09-20-2009 06:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply
p.mueller Offline
Junior Member
*

Posts: 17
Joined: Jul 2009
Reputation: 0
Post: #5
RE: proftpd mag nicht
Hi,

stimmt. Hab ja auch viel rumprobiert. Ich dachte ja auch eigentlich, dass jemand die debug-Meldungen interpretieren kann.
Das Originalfile aus: ispcp-omega-1.0.2/configs/ubuntu/proftpd/proftpd.conf

- warning: the DisplayFirstChdir directive is deprecated and will be removed in a future release. Please use the DisplayChdir directive.
- Fatal: unknown configuration directive 'SQLAuthTypes' on line 165 of '/etc/proftpd/proftpd.conf'

165: SQLAuthTypes Crypt

Und nun? Da krieg ich proftpd ja nicht Mal gestartet. Mit SQL Backend "mysql" auch nicht.
Vielleicht gibt's hier jemanden, der proftpd mit ispCP auf ubuntu 8.04 LTS am Laufen hat?

So, hier die Originaldatei ohne Kommentare:

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"
DenyFilter \*.*/
DefaultRoot ~
Port 21
MaxInstances 30
User nobody
Group nogroup
<Directory /*>
Umask 022 022
AllowOverwrite on
HideNoAccess on
</Directory>
<Limit ALL>
IgnoreHidden on
</Limit>
<Global>
RootLogin off
TransferLog /var/log/proftpd/xferlog
ExtendedLog /var/log/proftpd/ftp_traff.log read,write traff
PathDenyFilter "\.quota$"
</Global>
<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>

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

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}


Include /etc/proftpd/ispcp/*
09-20-2009 07:39 PM
Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #6
RE: proftpd mag nicht
Quote: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}

die platzhalter sind nicht ersetzt

solltest mal als ansatz nehmen

mfg
09-21-2009 07:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: proftpd mag nicht
http://www.isp-control.net/ispcp/browser...oftpd?rev=

ich weiss nicht, ob dein proftpd eine 1.3 Version ist, aber da sind jedenfalls die Muster für die proftpd.conf.
Wie ZooL schreibt: die {...} müssen ersetzt werden mit den Zugangsdaten für den vftp user.
die min_gid und min_uid sind meist 2000 (vu2000)

/J
09-21-2009 08:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
p.mueller Offline
Junior Member
*

Posts: 17
Joined: Jul 2009
Reputation: 0
Post: #8
RE: proftpd mag nicht
Hallo,

ich hab mir jetzt das ganze nochmal auf debian 5.0.3 64bit installiert.

Ich seh zwar nicht die großen Unterschiede zu ubuntu, aber was soll's.
Bißchen "aufwändig" ist auch das Anmelden am ftp-server, als Anmeldename nochmal name@domain einzupressen, obwohl ich mich schon an der Subdomain angeklinkt habe.

Danke erstmal, P.M.
09-22-2009 04:31 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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