www.ProFTPD.de
13. März 2007, 20:05:09 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
  Übersicht Hilfe Suche Login Registrieren  
  Zeige Beiträge
Seiten: [1]
1  ProFTPD / ProFTPD - Deutsch / FEHLER bei make am: 14. Juni 2005, 02:03:03
je nac hsystem, musst du noch die tlib nachinstallieren.
bei suse in der yast nach zlib suchen, bei debian:
apt-get install zlib-bin
apt-get install zlib1g-dev
2  ProFTPD / ProFTPD - Deutsch / FEHLER bei make am: 25. Mai 2005, 17:21:38
so nun mal eine Selbstantwort.


ein wenig überlegen und man kommt slbst drauf  :lol:


die zlib-devel war es die der gcc nicht gefunden hat.

Das könntem an noch in das configure script aufnehmen!!
3  ProFTPD / ProFTPD - Deutsch / FEHLER bei make am: 24. Mai 2005, 17:03:21
Hallo ich versuche gerade die Proftpd 1.2.10 mit folgendem befehl zu kompelieren.

./configure --with-modules=mod_sql:mod_sql_mysql:mod_quotatab_sql:mod_quotatab --with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql

aber sobald ich den make befehl ausführe wir dieser nach eienr kurtzen zeit fehlerhaft abgebrochen.
Code:

.....
make[1]: Entering directory `/tmp/proftpd-1.2.10/modules'
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_core.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_xfer.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_auth_unix.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_auth_file.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_auth.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_ls.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_log.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_site.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_sql.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_sql_mysql.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_quotatab_sql.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_quotatab.c
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c mod_cap.c
srcdir=. ./glue.sh mod_core.o mod_xfer.o mod_auth_unix.o mod_auth_file.o mod_auth.o mod_ls.o mod_log.o mod_site.o mod_sql.o mod_sql_mysql.o mod_quotatab_sql.o mod_quotatab.o mod_cap.o
gcc  -DLINUX  -I.. -I../include -I/usr/include/mysql -O2 -Wall -c module_glue.c
make[1]: Leaving directory `/tmp/proftpd-1.2.10/modules'
make[1]: Entering directory `/tmp/proftpd-1.2.10/lib/libcap'
=> making cap_names.c from <linux/capability.h>
cc -O2 -Wall -Llib  _makenames.c -o _makenames
./_makenames > cap_names.h
cc -O2 -Wall -c cap_alloc.c -o cap_alloc.o
cc -O2 -Wall -c cap_proc.c -o cap_proc.o
cc -O2 -Wall -c cap_extint.c -o cap_extint.o
cc -O2 -Wall -c cap_flag.c -o cap_flag.o
cc -O2 -Wall -c cap_text.c -o cap_text.o
cc -O2 -Wall -c cap_sys.c -o cap_sys.o
ar rcu libcap.a cap_alloc.o cap_proc.o cap_extint.o cap_flag.o cap_text.o cap_sys.o
make[1]: Leaving directory `/tmp/proftpd-1.2.10/lib/libcap'
gcc -Llib  -o proftpd src/main.o src/timers.o src/sets.o src/pool.o src/regexp.o src/dirtree.o src/support.o src/netaddr.o src/inet.o src/child.o src/log.o src/xferlog.o src/bindings.o src/netacl.o src/class.o src/scoreboard.o src/help.o src/feat.o src/netio.o src/response.o src/ident.o src/data.o src/modules.o src/auth.o src/fsio.o src/mkhome.o src/ctrls.o src/event.o modules/mod_core.o modules/mod_xfer.o modules/mod_auth_unix.o modules/mod_auth_file.o modules/mod_auth.o modules/mod_ls.o modules/mod_log.o modules/mod_site.o modules/mod_cap.o modules/mod_quotatab.o modules/mod_quotatab_sql.o modules/mod_sql_mysql.o modules/mod_sql.o  modules/module_glue.o -L/usr/lib/mysql -lsupp -lcrypt  -Llib/libcap -lcap  -lm -lz -lmysqlclient
/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../../i586-suse-linux/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [proftpd] Error 1
linux:/tmp/proftpd-1.2.10 #



Infos:

Linux Suse 9.0 , neuste patche

symlink erstellt:  /usr/lib/libcrypto.so.0.9.7 auf /usr/lib/lib.crypto.so.4
symlink erstellt:  /lib/libss.so.2.0 auf /usr/lib/libssl.so.4

nutze den gcc 3.3.1

Weis jemand wo der Fehler ist???

Oder wo ich sonst eine mysl,quota fähigen proftpd für suse 9.0 herbekomme Huch ( oder equivalent )
4  ProFTPD / ProFTPD - Deutsch / mod_mysql quota wie mus die config aussehen am: 27. April 2005, 07:38:30
Erstmal das roblem:  Ich wünsche es das ich meien usern ein Quota auf erlege und nach möglichkeit auch noch eine größenbegrenzung für hoch zu ladenen datein. Also das ein benuzer z.B.  max 200mb haben darf aber die einzelnden datein nur max 10mb sein dürfen.


Ich habe zwar schon lösungansätze beim googeln gefunde. Aber diese hatte nimemr noch download quota xfer usw beinhaltet, was ich aber garnicht benötige. Dieses würde in meinem fall die DB doch viel zu sehr aufblasen.  Da ich eigentlich bloß 3 felder in die user tabelle machen wollte:  max_quota,  max_file_size,  mom_quota

Wie müste ich das jetzt in dir proftpd.conf schreiben ??
Das mysql login usw funst alles schon.
5  ProFTPD / ProFTPD - Deutsch / LIST befehl dauer ca 5s am: 02. April 2005, 12:40:23
der LIST befehl dauert imemr 3-5 sec WISO??

Aber der dir befehl auf der konsole dauer nur ms also ist davon aus zu gehen das die festplatte funktionier.


debuglog:
Code:

LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching POST_CMD command 'PWD' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PWD' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PWD' to mod_log
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'TYPE A' to mod_tls
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'TYPE A' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'TYPE A' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching CMD command 'TYPE A' to mod_xfer
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching POST_CMD command 'TYPE A' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'TYPE A' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'TYPE A' to mod_log
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'PASV' to mod_tls
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'PASV' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'PASV' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching CMD command 'PASV' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - in dir_check_full(): path = '/bla/test/rufjgf', fullpath = '/www/htdocs/vhost/www/bla/test/rufjgf'.
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - Entering Passive Mode (192,168,254,232,128,83).
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching POST_CMD command 'PASV' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PASV' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PASV' to mod_log
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'LIST' to mod_tls
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'LIST' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'LIST' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching CMD command 'LIST' to mod_ls



bis zur vorletzten zeile geht alles fix aber die letzte lässt halt 3-5sec auf sich warten.


paranoid log:
Code:
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching POST_CMD command 'PWD' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PWD' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PWD' to mod_log
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'TYPE A' to mod_tls
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'TYPE A' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'TYPE A' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching CMD command 'TYPE A' to mod_xfer
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching POST_CMD command 'TYPE A' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'TYPE A' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'TYPE A' to mod_log
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'PASV' to mod_tls
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'PASV' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'PASV' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching CMD command 'PASV' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - in dir_check_full(): path = '/bla/test/rufjgf', fullpath = '/www/htdocs/vhost/www/bla/test/rufjgf'.
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - FS: using system stat()
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - Entering Passive Mode (192,168,254,232,128,83).
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching POST_CMD command 'PASV' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PASV' to mod_sql
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching LOG_CMD command 'PASV' to mod_log
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'LIST' to mod_tls
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'LIST' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching PRE_CMD command 'LIST' to mod_core
LAMPP-Serverlein (192.168.254.200[192.168.254.200]) - dispatching CMD command 'LIST' to mod_ls



config:
Code:
ServerName "LAMPP-FTP-Server"
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 002

# 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 www
Group www-data

# only for the web servers content
DefaultRoot ~

# nobody is no normal user so we have to allow users with no real shell
RequireValidShell off

# nobody may be in /etc/ftpusers so we also have to ignore this file
UseFtpUsers off

LogFormat default "%h %l %u %t \"%r\" %s %b %D %m"
ExtendedLog /opt/lampp/logs/proftpd.paranoid_log ALL default
SQLLogFile /opt/lampp/logs/proftpd_mysql.log

RootLogin off

SQLAuthTypes            Plaintext
SQLAuthenticate         users*

SQLConnectInfo  projekt@localhost ftpserver ftpserver
SQLUserInfo     users username password "NULL" "NULL" Directory "NULL"

SQLDefaultUID   1002
SQLDefaultGID   33

# create a user's home directory on demand if it doesn't exist
SQLHomedirOnDemand on

# Update count every time user logs in
# SQLLog PASS updatecount
# SQLNamedQuery updatecount UPDATE "count=count+1, accessed=now() WHERE userid='%u'" ftpuser

# SQLLog RETR,STOR,ERR_RETR,ERR_STOR transfer
SQLLog RETR,SITE,DELE,STOR,MKD,RMD transfer
SQLNamedQuery transfer INSERT "'%h', '%u', '%D', now(), '%r', %b" `ftp-transferlog`



protokoll des ftp-clients:
Code:
Connecting to 192.168.254.232, Port 21 (#1)
Connected.  Waiting for response.
220 ProFTPD 1.2.10 Server (LAMPP-FTP-Server) [192.168.254.232]
USER cdrom
331 Password required for cdrom.
PASS xxxxxx
230 User cdrom logged in.
SYST
215 UNIX Type: L8
REST 100
350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
PWD
257 "/" is current directory.
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (192,168,254,232,128,7).
LIST
150 Opening ASCII mode data connection for file list
226 Transfer complete.
Transfer done: 483 bytes in 10,025 secs (0,05 k/sec)
CWD /Welcome in Space
250 CWD command successful
PWD
257 "/Welcome in Space" is current directory.
TYPE A
200 Type set to A
PASV
227 Entering Passive Mode (192,168,254,232,128,8).
LIST
150 Opening ASCII mode data connection for file list
226 Transfer complete.
Transfer done: 750 bytes in 10,044 secs (0,07 k/sec)
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (192,168,254,232,128,9).
RETR 10-AudioTrack 10.mp3
150 Opening BINARY mode data connection for 10-AudioTrack 10.mp3 (6080640 bytes)
226 Transfer complete.
Transfer done: 6.080.640 bytes in 20,038 secs (303,46 k/sec)
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (192,168,254,232,128,10).
RETR 09-AudioTrack 09.mp3
150 Opening BINARY mode data connection for 09-AudioTrack 09.mp3 (6901888 bytes)
226 Transfer complete.
Transfer done: 6.901.888 bytes in 11,766 secs (586,60 k/sec)
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (192,168,254,232,128,11).
RETR 08-AudioTrack 08.mp3
150 Opening BINARY mode data connection for 08-AudioTrack 08.mp3 (6623360 bytes)
226 Transfer complete.
Transfer done: 6.623.360 bytes in 11,806 secs (561,02 k/sec)
TYPE I
200 Type set to I
PASV
227 Entering Passive Mode (192,168,254,232,128,12).
RETR 07-AudioTrack 07.mp3
150 Opening BINARY mode data connection for 07-AudioTrack 07.mp3 (6412416 bytes)
226 Transfer complete.
Transfer done: 6.412.416 bytes in 11,656 secs (550,14 k/sec)
TYPE I
200 Type set to I
PASV



wenn ich z.B. 12 RMD befehle habe. fürhrt er diese innerhalb von ms aus aber das LIST dauert ewig. WISO ??

Festplattenbenchmark:

LAMPP-Serverlein:/# time ls -alR --color=auto

real    0m30.755s
user    0m2.904s
sys     0m5.357s

das finde ich ganz gut für 20GB platte die halb voll ist.
6  ProFTPD / ProFTPD - Deutsch / FTP-User anlegen ? am: 28. November 2004, 16:47:06
welcher datei??
der passwd???
testserver~# vi /etc/passwd

Aber schon mal auf die idee gekommen das deine config felerhaft ist oder der Server garnet leuft Huch
7  ProFTPD / ProFTPD - Deutsch / FTP-User anlegen ? am: 27. November 2004, 17:55:50
Das chon aber bei debian kann es teilweise nicht immer funsen mit useradd
8  ProFTPD / ProFTPD - Deutsch / FTP-User anlegen ? am: 27. November 2004, 16:56:59
AH stimmt was schreib ich den da!!!

Gib einfach mal ein:
adduser -g ftpusers -d /var/www/user2 -s /bin/false -u 1001 ftptest
passwd ftptest ftptest ftptest

und dann im Browser : IE oder so

ftp://ftptest:ftptest@IP/

Das IP mit der IP des servers ersetzen.
9  ProFTPD / ProFTPD - Deutsch / FTP-User anlegen ? am: 27. November 2004, 12:27:39
Gib einfach mal ein:
useradd -g ftpusers -d /var/www/user2 -s /bin/false -u 1001 ftptest
passwd ftptest ftptest ftptest

und dann im Browser : IE oder so

ftp://ftptest:ftptest@IP/

Das IP mit der IP des servers ersetzen.
10  ProFTPD / ProFTPD - Deutsch / FTP-User anlegen ? am: 27. November 2004, 12:02:24
must ROOT dafür sein!!!!

useradd -g ftpuser -d /var/www/user2 -s /bin/ftp -m user2
passwd ftpuser

oder einfahc mal auf:
http://www.tuxhausen.de/kurs_user.html
gucken

und dann meisnt du sicher :

ftp://USERNAME:PASSWORD@IP
11  ProFTPD / ProFTPD - Deutsch / mod_Mysql in mehreren Tabellen am: 27. November 2004, 10:46:44
Also ich habe scriptbeding 2 Tabellen aus der der FTP-Server die Daten auslesen muß.

CREATE TABLE `users` (
  `userid` int(11) NOT NULL default '0',
  `username` varchar(20) default NULL,
  `password` varchar(60) default NULL,
  `emailadd` varchar(60) default NULL,
  `Vorname` varchar(20) default NULL,
  `Name` varchar(20) default NULL,
  `admin` int(11) default NULL,
  `sql_db` varchar(40) default NULL,
  `domainid` int(11) default NULL,
  CONSTRAINT users PRIMARY KEY  userid
) TYPE=MyISAM;

CREATE TABLE `domains` (
  `domainid` int(11) NOT NULL default '0',
  `domain` varchar(30) default NULL,
  `Pfad` varchar(60) default NULL,
  `Url` varchar(60) default NULL,
  `Quota` varchar(60) default NULL,
  CONSTRAINT domains PRIMARY KEY  domainid,
  CONSTRAINT users FOREIGNT KEY  domainid RESOURCES users
) TYPE=MyISAM;

Allso muß der Sever Benutzername un PW aus der ersten Tabelle holen und die Pfad- und Quotaangaben aus der anderen.

Aber realisiere ich dieses ??
Da ich ja nur die eine Zeile in derr Config habe  "SQLuserinfo"

Huch?


Also ich suche etwa was in der art:
in der config:
Username SELECT username FROM users WHERE username='%u'
Password  SELECT password FROM users WHERE username='%u'

usw. es sowas möglich Huch
12  ProFTPD / ProFTPD - Deutsch / Proftpd mit mod_sql_mysql und mod_quotatab_sql möglich ??? am: 27. November 2004, 10:22:00
Hat sich alles erledigt. Es war doch blos das der mod_quotatab gefehtl hat.
Hatte gedacht der währe nur für das normale quota mit der passwd.
na dann THX.

aber ich habe noch eine Frage. Ist es möglich das der server sein benutzerdaten aus mehreren Sql Tabellen zusammensucht ??

laos die logindaten sind in einer Tabelle und die Pfad- und quotaangaben in einer anderen
13  ProFTPD / ProFTPD - Deutsch / Proftpd mit mod_sql_mysql und mod_quotatab_sql möglich ??? am: 27. November 2004, 10:16:20
So nun erstmal nochmal mit die Fehlermeldung mit meinem config parametern.

Code:

mod_quotatab_sql.c:53: warning: implicit declaration of function `va_start'
mod_quotatab_sql.c:53: `argp' undeclared (first use in this function)
mod_quotatab_sql.c:55: warning: implicit declaration of function `va_arg'
mod_quotatab_sql.c:55: parse error before "char"
mod_quotatab_sql.c:56: warning: implicit declaration of function `va_end'
mod_quotatab_sql.c:59: warning: control reaches end of non-void function
mod_quotatab_sql.c: At top level:
mod_quotatab_sql.c:61: parse error before '*' token
mod_quotatab_sql.c: In function `sqltab_get_name':
mod_quotatab_sql.c:62: `cmdtable' undeclared (first use in this function)
mod_quotatab_sql.c:62: `cmdtab' undeclared (first use in this function)
mod_quotatab_sql.c:63: `cmd_rec' undeclared (first use in this function)
mod_quotatab_sql.c:63: `cmd' undeclared (first use in this function)
mod_quotatab_sql.c:64: `modret_t' undeclared (first use in this function)
mod_quotatab_sql.c:64: `res' undeclared (first use in this function)
mod_quotatab_sql.c:67: warning: implicit declaration of function `pr_stash_get_symbol'
mod_quotatab_sql.c:67: `PR_SYM_HOOK' undeclared (first use in this function)
mod_quotatab_sql.c:67: `NULL' undeclared (first use in this function)
mod_quotatab_sql.c:69: warning: implicit declaration of function `quotatab_log'
mod_quotatab_sql.c:70: `name' undeclared (first use in this function)
mod_quotatab_sql.c:73: warning: implicit declaration of function `strlen'
mod_quotatab_sql.c:76: `p' undeclared (first use in this function)
mod_quotatab_sql.c:76: warning: implicit declaration of function `pr_str_strip'
mod_quotatab_sql.c:79: warning: implicit declaration of function `call_module'
mod_quotatab_sql.c:82: warning: implicit declaration of function `MODRET_ISERROR'
mod_quotatab_sql.c:62: warning: statement with no effect
mod_quotatab_sql.c:63: warning: statement with no effect
mod_quotatab_sql.c:64: warning: statement with no effect
mod_quotatab_sql.c:88: warning: control reaches end of non-void function
mod_quotatab_sql.c: At top level:
mod_quotatab_sql.c:90: parse error before '*' token
mod_quotatab_sql.c:96: parse error before '*' token
mod_quotatab_sql.c: In function `sqltab_create':
mod_quotatab_sql.c:97: `pool' undeclared (first use in this function)
mod_quotatab_sql.c:97: `tmp_pool' undeclared (first use in this function)
mod_quotatab_sql.c:97: `NULL' undeclared (first use in this function)
mod_quotatab_sql.c:98: `cmdtable' undeclared (first use in this function)
mod_quotatab_sql.c:98: `sql_cmdtab' undeclared (first use in this function)
mod_quotatab_sql.c:99: `cmd_rec' undeclared (first use in this function)
mod_quotatab_sql.c:99: `sql_cmd' undeclared (first use in this function)
mod_quotatab_sql.c:100: `modret_t' undeclared (first use in this function)
mod_quotatab_sql.c:100: `sql_res' undeclared (first use in this function)
mod_quotatab_sql.c:106: `sqltab' undeclared (first use in this function)
mod_quotatab_sql.c:112: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:113: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:114: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:115: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:116: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:117: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:118: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:119: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:130: warning: implicit declaration of function `snprintf'
mod_quotatab_sql.c:131: `quotatab_tally' undeclared (first use in this function)
mod_quotatab_sql.c:134: `USER_QUOTA' undeclared (first use in this function)
mod_quotatab_sql.c:137: `GROUP_QUOTA' undeclared (first use in this function)
mod_quotatab_sql.c:140: `CLASS_QUOTA' undeclared (first use in this function)
mod_quotatab_sql.c:143: `ALL_QUOTA' undeclared (first use in this function)
mod_quotatab_sql.c:178: `PR_SYM_HOOK' undeclared (first use in this function)
mod_quotatab_sql.c:181: warning: implicit declaration of function `destroy_pool'
mod_quotatab_sql.c:191: warning: implicit declaration of function `strerror'
mod_quotatab_sql.c:191: `errno' undeclared (first use in this function)
mod_quotatab_sql.c: At top level:
mod_quotatab_sql.c:200: parse error before '*' token
mod_quotatab_sql.c: In function `sqltab_lookup':
mod_quotatab_sql.c:202: `pool' undeclared (first use in this function)
mod_quotatab_sql.c:202: `tmp_pool' undeclared (first use in this function)
mod_quotatab_sql.c:202: `NULL' undeclared (first use in this function)
mod_quotatab_sql.c:203: `cmdtable' undeclared (first use in this function)
mod_quotatab_sql.c:203: `sql_cmdtab' undeclared (first use in this function)
mod_quotatab_sql.c:204: `cmd_rec' undeclared (first use in this function)
mod_quotatab_sql.c:204: `sql_cmd' undeclared (first use in this function)
mod_quotatab_sql.c:205: `modret_t' undeclared (first use in this function)
mod_quotatab_sql.c:205: `sql_res' undeclared (first use in this function)
mod_quotatab_sql.c:206: `array_header' undeclared (first use in this function)
mod_quotatab_sql.c:206: `sql_data' undeclared (first use in this function)
mod_quotatab_sql.c:210: `sqltab' undeclared (first use in this function)
mod_quotatab_sql.c:213: `TYPE_TALLY' undeclared (first use in this function)
mod_quotatab_sql.c:216: `TYPE_LIMIT' undeclared (first use in this function)
mod_quotatab_sql.c:220: `PR_SYM_HOOK' undeclared (first use in this function)
mod_quotatab_sql.c:224: `FALSE' undeclared (first use in this function)
mod_quotatab_sql.c:229: `name' undeclared (first use in this function)
mod_quotatab_sql.c:230: `quota_type' undeclared (first use in this function)
mod_quotatab_sql.c:230: `USER_QUOTA' undeclared (first use in this function)
mod_quotatab_sql.c:230: `GROUP_QUOTA' undeclared (first use in this function)
mod_quotatab_sql.c:231: `CLASS_QUOTA' undeclared (first use in this function)
mod_quotatab_sql.c:243: parse error before ')' token
mod_quotatab_sql.c:266: warning: implicit declaration of function `memmove'
mod_quotatab_sql.c:266: `quotatab_tally' undeclared (first use in this function)
mod_quotatab_sql.c:268: warning: implicit declaration of function `strcasecmp'
mod_quotatab_sql.c:278: `ALL_QUOTA' undeclared (first use in this function)
mod_quotatab_sql.c:290: warning: implicit declaration of function `strcmp'
mod_quotatab_sql.c:295: warning: implicit declaration of function `atof'
mod_quotatab_sql.c:298: warning: implicit declaration of function `atoi'
mod_quotatab_sql.c:303: `TRUE' undeclared (first use in this function)
mod_quotatab_sql.c:328: `quotatab_limit' undeclared (first use in this function)
mod_quotatab_sql.c:364: `SOFT_LIMIT' undeclared (first use in this function)
mod_quotatab_sql.c:367: `HARD_LIMIT' undeclared (first use in this function)
mod_quotatab_sql.c:372: warning: implicit declaration of function `atol'
mod_quotatab_sql.c:384: warning: control reaches end of non-void function
mod_quotatab_sql.c: At top level:
mod_quotatab_sql.c:390: parse error before '*' token
mod_quotatab_sql.c:394: parse error before '*' token
mod_quotatab_sql.c: In function `sqltab_verify':
mod_quotatab_sql.c:397: `TRUE' undeclared (first use in this function)
mod_quotatab_sql.c:398: warning: control reaches end of non-void function
mod_quotatab_sql.c: At top level:
mod_quotatab_sql.c:400: parse error before '*' token
mod_quotatab_sql.c: In function `sqltab_write':
mod_quotatab_sql.c:401: `pool' undeclared (first use in this function)
mod_quotatab_sql.c:401: `tmp_pool' undeclared (first use in this function)
mod_quotatab_sql.c:401: `NULL' undeclared (first use in this function)
mod_quotatab_sql.c:402: `cmdtable' undeclared (first use in this function)
mod_quotatab_sql.c:402: `sql_cmdtab' undeclared (first use in this function)
mod_quotatab_sql.c:403: `cmd_rec' undeclared (first use in this function)
mod_quotatab_sql.c:403: `sql_cmd' undeclared (first use in this function)
mod_quotatab_sql.c:404: `modret_t' undeclared (first use in this function)
mod_quotatab_sql.c:404: `sql_res' undeclared (first use in this function)
mod_quotatab_sql.c:410: `sqltab' undeclared (first use in this function)
mod_quotatab_sql.c:416: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:417: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:418: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:419: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:420: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:421: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:422: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:433: `quotatab_tally' undeclared (first use in this function)
mod_quotatab_sql.c:433: `USER_QUOTA' undeclared (first use in this function)
mod_quotatab_sql.c:436: `GROUP_QUOTA' undeclared (first use in this function)
mod_quotatab_sql.c:439: `CLASS_QUOTA' undeclared (first use in this function)
mod_quotatab_sql.c:442: `ALL_QUOTA' undeclared (first use in this function)
mod_quotatab_sql.c:451: `quotatab_deltas' undeclared (first use in this function)
mod_quotatab_sql.c:480: `PR_SYM_HOOK' undeclared (first use in this function)
mod_quotatab_sql.c:493: `errno' undeclared (first use in this function)
mod_quotatab_sql.c: At top level:
mod_quotatab_sql.c:502: parse error before '*' token
mod_quotatab_sql.c: In function `sqltab_rlock':
mod_quotatab_sql.c:506: `sqltab' undeclared (first use in this function)
mod_quotatab_sql.c:506: `F_RDLCK' undeclared (first use in this function)
mod_quotatab_sql.c:507: warning: implicit declaration of function `fcntl'
mod_quotatab_sql.c:507: `F_SETLK' undeclared (first use in this function)
mod_quotatab_sql.c: At top level:
mod_quotatab_sql.c:513: parse error before '*' token
mod_quotatab_sql.c: In function `sqltab_unlock':
mod_quotatab_sql.c:517: `sqltab' undeclared (first use in this function)
mod_quotatab_sql.c:517: `F_UNLCK' undeclared (first use in this function)
mod_quotatab_sql.c:518: `F_SETLK' undeclared (first use in this function)
mod_quotatab_sql.c: At top level:
mod_quotatab_sql.c:524: parse error before '*' token
mod_quotatab_sql.c: In function `sqltab_wlock':
mod_quotatab_sql.c:528: `sqltab' undeclared (first use in this function)
mod_quotatab_sql.c:528: `F_WRLCK' undeclared (first use in this function)
mod_quotatab_sql.c:529: `F_SETLK' undeclared (first use in this function)
mod_quotatab_sql.c: At top level:
mod_quotatab_sql.c:535: parse error before '*' token
mod_quotatab_sql.c:535: parse error before '*' token
mod_quotatab_sql.c:536: warning: return type defaults to `int'
mod_quotatab_sql.c: In function `sqltab_open':
mod_quotatab_sql.c:538: `quota_table_t' undeclared (first use in this function)
mod_quotatab_sql.c:538: `tab' undeclared (first use in this function)
mod_quotatab_sql.c:538: `NULL' undeclared (first use in this function)
mod_quotatab_sql.c:539: `pool' undeclared (first use in this function)
mod_quotatab_sql.c:539: `tab_pool' undeclared (first use in this function)
mod_quotatab_sql.c:539: `parent_pool' undeclared (first use in this function)
mod_quotatab_sql.c:539: invalid lvalue in assignment
mod_quotatab_sql.c:540: `tmp_pool' undeclared (first use in this function)
mod_quotatab_sql.c:540: warning: left-hand operand of comma expression has no effect
mod_quotatab_sql.c:541: `config_rec' undeclared (first use in this function)
mod_quotatab_sql.c:541: `c' undeclared (first use in this function)
mod_quotatab_sql.c:544: parse error before ')' token
mod_quotatab_sql.c:546: `tab_type' undeclared (first use in this function)
mod_quotatab_sql.c:548: `TYPE_TALLY' undeclared (first use in this function)
mod_quotatab_sql.c:560: warning: implicit declaration of function `strchr'
mod_quotatab_sql.c:560: `srcinfo' undeclared (first use in this function)
mod_quotatab_sql.c:564: `errno' undeclared (first use in this function)
mod_quotatab_sql.c:564: `EINVAL' undeclared (first use in this function)
mod_quotatab_sql.c:578: warning: implicit declaration of function `pstrdup'
mod_quotatab_sql.c:578: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:583: warning: implicit declaration of function `pstrcat'
mod_quotatab_sql.c:583: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:585: warning: implicit declaration of function `find_config'
mod_quotatab_sql.c:585: `main_server' undeclared (first use in this function)
mod_quotatab_sql.c:585: `CONF_PARAM' undeclared (first use in this function)
mod_quotatab_sql.c:585: `FALSE' undeclared (first use in this function)
mod_quotatab_sql.c:605: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:610: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:625: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:637: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:653: `TYPE_LIMIT' undeclared (first use in this function)
mod_quotatab_sql.c:676: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:704: `SEEK_CUR' undeclared (first use in this function)
mod_quotatab_sql.c:710: warning: control reaches end of non-void function
mod_quotatab_sql.c: In function `sqltab_sess_init':
mod_quotatab_sql.c:713: warning: implicit declaration of function `quotatab_openlog'
mod_quotatab_sql.c:716: warning: implicit declaration of function `get_param_ptr'
mod_quotatab_sql.c:716: `main_server' undeclared (first use in this function)
mod_quotatab_sql.c:716: `FALSE' undeclared (first use in this function)
mod_quotatab_sql.c:716: warning: assignment makes pointer from integer without a cast
mod_quotatab_sql.c:717: `NULL' undeclared (first use in this function)
mod_quotatab_sql.c:721: `PRIVS_ROOT' undeclared (first use in this function)
mod_quotatab_sql.c:721: parse error before "if"
mod_quotatab_sql.c:724: warning: implicit declaration of function `open'
mod_quotatab_sql.c:724: `O_RDWR' undeclared (first use in this function)
mod_quotatab_sql.c:724: `O_CREAT' undeclared (first use in this function)
mod_quotatab_sql.c:727: `PRIVS_RELINQUISH' undeclared (first use in this function)
mod_quotatab_sql.c:727: parse error before "if"
mod_quotatab_sql.c:732: warning: control reaches end of non-void function
mod_quotatab_sql.c: At top level:
mod_quotatab_sql.c:734: parse error before "return"
mod_quotatab_sql.c: In function `sqltab_init':
mod_quotatab_sql.c:740: warning: implicit declaration of function `quotatab_register'
mod_quotatab_sql.c:741: `QUOTATAB_LIMIT_SRC' undeclared (first use in this function)
mod_quotatab_sql.c:741: `QUOTATAB_TALLY_SRC' undeclared (first use in this function)
mod_quotatab_sql.c: At top level:
mod_quotatab_sql.c:746: parse error before "quotatab_sql_module"
mod_quotatab_sql.c:746: warning: type defaults to `int' in declaration of `quotatab_sql_module'
mod_quotatab_sql.c:747: `NULL' undeclared here (not in a function)
mod_quotatab_sql.c:747: initializer element is not constant
mod_quotatab_sql.c:747: (near initialization for `quotatab_sql_module')
mod_quotatab_sql.c:747: `NULL' undeclared here (not in a function)
mod_quotatab_sql.c:747: warning: excess elements in scalar initializer
mod_quotatab_sql.c:747: warning: (near initialization for `quotatab_sql_module')
mod_quotatab_sql.c:750: warning: excess elements in scalar initializer
mod_quotatab_sql.c:750: warning: (near initialization for `quotatab_sql_module')
mod_quotatab_sql.c:753: warning: excess elements in scalar initializer
mod_quotatab_sql.c:753: warning: (near initialization for `quotatab_sql_module')
mod_quotatab_sql.c:756: `NULL' undeclared here (not in a function)
mod_quotatab_sql.c:756: warning: excess elements in scalar initializer
mod_quotatab_sql.c:756: warning: (near initialization for `quotatab_sql_module')
mod_quotatab_sql.c:759: `NULL' undeclared here (not in a function)
mod_quotatab_sql.c:759: warning: excess elements in scalar initializer
mod_quotatab_sql.c:759: warning: (near initialization for `quotatab_sql_module')
mod_quotatab_sql.c:762: `NULL' undeclared here (not in a function)
mod_quotatab_sql.c:762: warning: excess elements in scalar initializer
mod_quotatab_sql.c:762: warning: (near initialization for `quotatab_sql_module')
mod_quotatab_sql.c:765: warning: excess elements in scalar initializer
mod_quotatab_sql.c:765: warning: (near initialization for `quotatab_sql_module')
mod_quotatab_sql.c:769: warning: excess elements in scalar initializer
mod_quotatab_sql.c:769: warning: (near initialization for `quotatab_sql_module')
mod_quotatab_sql.c:769: warning: data definition has no type or storage class
../include/mod_sql.h:47: warning: array `sql_cmdtable' assumed to have one element
make[1]: *** [mod_quotatab_sql.o] Error 1
make[1]: Leaving directory `/tmp/proftpd-1.2.10/modules'
make: *** [modules] Error 2
14  ProFTPD / ProFTPD - Deutsch / Proftpd mit mod_sql_mysql und mod_quotatab_sql möglich ??? am: 27. November 2004, 10:10:54
Kann ich machen.
Aber die sind IO. Den der mod PHP leuft ja auch damit.
Es ist mysql-4.1.7.
15  ProFTPD / ProFTPD - Deutsch / Zwei Logins für einen Account am: 27. November 2004, 10:04:23
Hmm ich würde es mit  mod_sql_mysql probieren. Denn der holt seine benutzer aus der Mysqldatenbank. Da können dne mehrere accounts dne selben Pfad haben so das man mit vershciedenen logins im selben Ordner landet.
Seiten: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.151 Sekunden mit 15 Zugriffen.