Current time: 06-27-2024, 03:47 AM Hello There, Guest! (LoginRegister)


Post Reply 
Proftpd + Debian Lenny 64Bit
Author Message
Kotty Offline
Junior Member
*

Posts: 167
Joined: Mar 2008
Reputation: 3
Post: #1
Proftpd + Debian Lenny 64Bit
Moin Moin,

ich hab vor ein paar Tagen ein Debian Lenny 64Bit aufgesetzt mit einem ISPCP (trunk vom 02.09.2008) hinterher ansich hat das auch ohne Probelme funktioniert (auch die erweiterungen mit Dovecot und Sieve).

Jedoch gab es ein Problem mit dem FTP-Server scheinbar wurden hier einige dinge im gegensatz zu Etch geändert.

Es soll nicht mehr DisplayFirstChdir genutzt werden sonden ab sofort DisplayChdir was aber nur eine Warnung ist.

Das größere Problem ist wohl die änderung der Modulaktivierung.

Die mysql Module wurden nicht geladen und somit hat natürlich der Login nicht funktioniert.

Zu einem hab ich in der Datei /etc/proftpd/sql.conf folgende Zeilen auskomentiert:

<IfModule mod_sql.c>
</IfModule>

und in der /etc/proftpd/modules.conf

folgende Zeilen aktiviert:
LoadModule mod_sql.c
LoadModule mod_sql_mysql.c


Jetzt die Frage Wink

Ist das ein Installationsfehler (evtl. auch auf meiner Seite gewesen?) oder hat sich da wirklich grob was geändert was den Fehler verursacht hat?
09-07-2008 08:32 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Proftpd + Debian Lenny 64Bit
Hatte bisher noch kein Lenny 64-Bit installiert.
Aber so wie es scheint ist es neu und die Config muss überarbeitet werden.
Was für eine ProFTPd Version läuft denn bei Dir ?
Geht jetzt alles nach der Änderung ?

Greez BeNe
09-07-2008 09:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
xxo Offline
Junior Member
*

Posts: 38
Joined: Sep 2008
Reputation: 0
Post: #3
RE: Proftpd + Debian Lenny 64Bit
Kann ich auch für die 32bit version bestätigen.
LoadModule mod_sql_mysql.c
ist zusätzlich zwingend notwendig, sonst streikt der Login.
Aktueller proftpd 1.3.1, stable.
09-08-2008 09:20 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: Proftpd + Debian Lenny 64Bit
Jetzt habe ich grad mal bei mir auf der Etch Machine nachgeschaut.
Alles per default so geladen:

/etc/proftpd/modules.conf
Code:
#
# This file is used to manage DSO modules and features.
#

# This is the directory where DSO modules reside

ModulePath /usr/lib/proftpd

# Allow only user root to load and unload modules, but allow everyone
# to see which modules have been loaded

ModuleControlsACLs insmod,rmmod allow user root
ModuleControlsACLs lsmod allow user *

LoadModule mod_ctrls_admin.c
LoadModule mod_tls.c
LoadModule mod_sql.c
LoadModule mod_ldap.c
LoadModule mod_sql_mysql.c
LoadModule mod_sql_postgres.c
LoadModule mod_quotatab.c
LoadModule mod_quotatab_file.c
LoadModule mod_quotatab_ldap.c
LoadModule mod_quotatab_sql.c
LoadModule mod_radius.c
LoadModule mod_wrap.c
LoadModule mod_rewrite.c

# keep this module the last one
LoadModule mod_ifsession.c
Schaut die unter Lenny auch so aus ?
Habe leider keinen Server bzw. vServer frei für eine Installation.

Greez BeNe
09-08-2008 10:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
xxo Offline
Junior Member
*

Posts: 38
Joined: Sep 2008
Reputation: 0
Post: #5
RE: Proftpd + Debian Lenny 64Bit
Das passt alles auch bei lenny, blos das

# Install proftpd-mod-mysql to use this
#LoadModule mod_sql_mysql.c

per default aus ist und LoadModule mod_sql.c alleine nicht ausreicht. Unter lenny muß zwingend proftpd-mod-mysql nachinstalliert werden. Wurde, soweit ich mich entsinne, nicht automatisch geholt.
(This post was last modified: 09-08-2008 11:11 PM by xxo.)
09-08-2008 11:09 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: Proftpd + Debian Lenny 64Bit
proftpd-mod-mysql steht mal nicht auf der package-list.
Schreibe mal ein Ticket dazu.

EDIT: Ticket --> http://www.isp-control.net/ispcp/ticket/1528

Greez BeNe
(This post was last modified: 09-08-2008 11:49 PM by BeNe.)
09-08-2008 11:42 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Kotty Offline
Junior Member
*

Posts: 167
Joined: Mar 2008
Reputation: 3
Post: #7
RE: Proftpd + Debian Lenny 64Bit
Habe hier auch nen ProFTPD 1.3.1 nach den änderungen hats bei mir funktioniert.
Und proftpd-mod-mysql muss nicht extra hinzugefügt werden weil es in abhängigkeit zum proftpd installiert wird.
09-10-2008 06:03 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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