Zeige Beiträge
|
|
Seiten: 1 [2]
|
|
16
|
ProFTPD / ProFTPD - Deutsch / Problem beim Installieren
|
am: 24. Juni 2004, 06:55:55
|
|
danke, das war der durchbruch! ich hab in der log datei gelesen das die tabellenspalten nicht übereinstimmen! also für alle die das gleiche problem haben diese zeile muss mit den feldern übereinstimmen die in der mysql datenbank angelegt sind:
SQLUserInfo users userid passwd uid gid homedir shell
das erste ist die tabelle dann die spalten von oben nach unten
danke für die hilfe und für die esels geduld die ihr mit mir aufgebracht habt!
|
|
|
|
|
17
|
ProFTPD / ProFTPD - Deutsch / Problem beim Installieren
|
am: 23. Juni 2004, 21:29:42
|
|
so, hab mir eine db erstellt mit 4 tabellen drinnen
ftp groups users xfer_stat
ftptabelle
username,uid,gid,password,homedir,count,ui,shell,letzter_zugriff_zugang
groups
groupname,gid,members
users
userid,passwd,uid,gid,himedir,shell
xder_stat
username,filename,size,host,ip,aktion,dauer,zeit_lokal,success,ui
und mein conf ausschnitt sieht so aus:
SQLAuthTypes Plaintext SQLAuthenticate users* SQLConnectInfo ftp @localhost benutzername password SQLDefaultGID 65534 SQLDefaultUID 65534 SQLMinUserGID 100 SQLMinUserUID 500 SQLUserInfo users username password uid gid homedir shell
also so weit ich das jetzt abgechekct hab ist die zeile SQLConnectInfo wichtig, das erste ist die db, also ftp bei mir, der rest sind zugangsdaten
die Zeile SQLUserInfo sagt proftpd wo er die benutzer findet, das erste ist die tabelle, dann die spalten, ist das so richtig?
ich hab mir eine gruppe egbaut und einen benutzer und kann mich nicht einloggen, komsich, hab ich was falsch gemacht?
|
|
|
|
|
18
|
ProFTPD / ProFTPD - Deutsch / Problem beim Installieren
|
am: 23. Juni 2004, 21:10:56
|
|
danke für den tipp! hab die richtigen tabellen erstellt, nur eine frage hab ich noch, muss ich das passwort im klartext eingeben oder verschlüsselt und wie muss die db heisen? ich hab das leider nicht gefunden
|
|
|
|
|
19
|
ProFTPD / ProFTPD - Deutsch / Problem beim Installieren
|
am: 22. Juni 2004, 22:06:41
|
|
so, ich hab mir grad händisch in die tabelle folgendes eingetragen:
username=bci uid=1 gid=1 password=nix homedir=/www count=1 ui=1 shell= letzter_zugriff= zugang=
ich kann mich aber leider nicht einloggem, gibt es eine beschreibung zu den feldern?
|
|
|
|
|
20
|
ProFTPD / ProFTPD - Deutsch / Problem beim Installieren
|
am: 22. Juni 2004, 21:54:04
|
|
das starten hat nun funktioniert, ichhab ihm einfach die conf datei richtig angegeben, nur dei quota kennt er nicht, muss ich da auch noch was dazu installieren?
danke so weit mal für deine hilfe und deine geduld!
noch was, wie kann ich testen ob das auch funktioniert hat? mein mysql spaß!
|
|
|
|
|
21
|
ProFTPD / ProFTPD - Deutsch / Problem beim Installieren
|
am: 22. Juni 2004, 21:15:13
|
|
ich hab unter rpm -qa|grep proftpd nachgschaut und hab versucht es zu deinstallieren, aber die deinstallation schlug fehl weil er die ordner nicht finden konnte, witzig!
kann ich die ordner einfach löschen und somit das programm oder muss ich das wie bei windoof irgend wo aus einer reg löschen
|
|
|
|
|
22
|
ProFTPD / ProFTPD - Deutsch / Problem beim Installieren
|
am: 22. Juni 2004, 20:42:24
|
|
[root@web root]# find / -name proftpd -print /var/lock/subsys/proftpd /var/run/proftpd /etc/rc.d/init.d/proftpd /etc/logrotate.d/proftpd /etc/webmin/proftpd /root/progs/proftpd-1.2.9/proftpd /usr/sbin/proftpd /usr/libexec/webmin/caldera/proftpd /usr/libexec/webmin/proftpd /usr/local/sbin/proftpd /usr/local/var/proftpd
ich denk das sieht nach einmahl aus, es ist bereits installiert und ich habs nicht deinstalliert bevor ich make install gemacht habe!
|
|
|
|
|
23
|
ProFTPD / ProFTPD - Deutsch / Problem beim Installieren
|
am: 22. Juni 2004, 18:23:20
|
|
[root@web root]# proftpd -l Compiled-in modules: mod_core.c mod_xfer.c mod_auth_unix.c mod_auth_file.c mod_auth.c mod_ls.c mod_log.c mod_site.c mod_auth_pam.c mod_sql.c mod_sql_mysql.c mod_cap.c [root@web root]# proftpd -vv - Version: 1.2.9 (stable) - Scoreboard Version: 01040002 - Build Stamp: Di Jun 22 13:43:06 CEST 2004 [root@web root]#
mal die antworten auf die ersten befehle, so weit ich sehe ist das mysql modul installiert,
wie kann ich das konfigurieren?
./configure --with-modules=mod_sql:mod_sql_mysql --with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql
make
make install
fehlermeldung habe ich keine erhalten! hab ich einen fehler in der configure gemacht?
|
|
|
|
|
24
|
ProFTPD / ProFTPD - Deutsch / Problem beim Installieren
|
am: 22. Juni 2004, 13:59:24
|
|
ich hab gerade versucht den server zu starten und erhielt folgende meldung:
service proftpd start
Starting proftpd: - Fatal: unknown configuration directive 'SQLLogFile' on line 72 of '/etc/proftpd.conf'.
ich glaub mein mysql modul funktioniert nicht richtig!
|
|
|
|
|
26
|
ProFTPD / ProFTPD - Deutsch / Problem beim Installieren
|
am: 22. Juni 2004, 13:48:49
|
|
Hallo,
ich hab versucht proftpd mit mysql modul zu installieren. folgende kommandos funktionieren:
./configure make make install bei diesen 3 bekomme ich keine fehlermeldung und er macht alles, nur bei ./INSTALL bekomme ich folgendes
[root@web proftpd-1.2.9]# ./INSTALL ./INSTALL: line 2: ProFTPD: command not found ./INSTALL: line 3: =======================================: command not found ./INSTALL: line 5: ------------: command not found ./INSTALL: line 6: Introduction: command not found ./INSTALL: line 7: ------------: command not found ./INSTALL: line 9: ProFTPD: command not found ./INSTALL: line 10: a: command not found ./INSTALL: line 11: of: command not found autoconf: invalid number of arguments. Try `autoconf --help' for more information. ./INSTALL: line 13: *should*: command not found ./INSTALL: line 14: to: command not found ./INSTALL: line 15: config.h: command not found ./INSTALL: line 17: ProFTPD: command not found ./INSTALL: line 18: compile-time: command not found ./INSTALL: line 19: also: command not found ./INSTALL: line 20: based: command not found ./INSTALL: line 21: software: command not found ./INSTALL: line 23: In: command not found ./INSTALL: line 24: contains: command not found ./INSTALL: line 100: ProFTPDs operation. These options are never modified by the configure script. Each option is documented in the header file itself. Changing these values is rarely needed, and most can be overriden at run-time by directives in the proftpd.conf configuration file. Note that a sample RPM spec file has been included in contrib/dist/rpm/. NOTE TO PACKAGE MAINTAINERS: Please, do NOT remove the ELF .comment and .note sections. If you install ProFTPD on a slightly uncommon (or really new or old) platform, please consider recording and sharing your experience. ------------------ Build Requirements ------------------ o ANSI/ISO C89/C90 C compiler, e.g. GNU gcc o GNU make, though most system makes should work o ANSI C and POSIX run-time libraries o BSD sockets API o Disk space: ~4.5 MB to unpack, 6-8 MB to build, ~2 MB to install ------------------------- Installation Instructions ------------------------- 0. Plan your installation. Please, read through all the installation steps before starting. There are many compile-time customizations that you may wish to make, particularly regarding user authentication. Read through README.modules and the other README.* and contrib/README.* files. Note that the following modules are included by default and need not be added explicitly: mod_auth, mod_core, mod_log, mod_ls, mod_site, mod_auth_unix and mod_xfer. Also, if PAM is detected by configure, the mod_auth_pam module will be included automatically. However, it has been reported that some systems still require it to be added explicitly. You may need to specify the shared library search path on your system. See your system and compiler documentation. Frequently, the -R or -rpath options are used for this operation. Be especially careful to set the path on AIX systems. See README.AIX. Hint: if your configure command line becomes long or complicated, you might try storing it in a sh script file, say .configcmd. 1. Configure the software. Run the GNU autoconf configure script in the top level directory to create config.h and all the Makefiles. In addition to configuring ProFTPD to compile on your system, you can use this step to customize some parameters of or add optional features to ProFTPD. There are many configuration options. To use the default values, you would simply run: $ ./configure By default the ProFTPD files will be installed as user root and the first group with gid 0 listed in /etc/group, usually root or wheel. If you wish to install using a different user or group ownership, set the install_user and install_group environment variables before running configure. Using a Bourne-ish style shell (e.g. sh, ksh, bash), you can do this on the command line like this: $ install_user=root install_group=wheel ./configure Similarly, as is typical with GNU autoconf scripts, settings for the compilation system can be made, such as the compiler: $ CC=gcc CFLAGS=-O: Der Dateiname ist zu lang for: Can't stat `for' (No such file or directory) user: Can't stat `user' (No such file or directory) authentication.: Can't stat `authentication.' (No such file or directory) Using: Can't stat `Using' (No such file or directory) autoshadow: Can't stat `autoshadow' (No such file or directory) allows: Can't stat `allows' (No such file or directory) proftpd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped to: Can't stat `to' (No such file or directory) work: Can't stat `work' (No such file or directory) ./INSTALL: line 130: with: command not found ./INSTALL: line 132: If: command not found ./INSTALL: line 133: and: command not found ./INSTALL: line 134: Further,: command not found ./INSTALL: line 135: e.g.: command not found ./INSTALL: line 136: will: command not found ./INSTALL: line 138: Be: command not found ./INSTALL: line 139: should: command not found ./INSTALL: line 142: 2.: command not found ./INSTALL: line 143: Watch: command not found ./INSTALL: line 144: you: command not found ./INSTALL: line 298: sure: command not found ./INSTALL: line 299: see: command not found ./INSTALL: line 302: 12.: command not found ./INSTALL: line 303: If: command not found usage: ftp host-name [port] ftp>
proftpd ist bereits auf meinem system installiert, soll ich es wieder deinstallieren? oder macht das keinen unterschied?
kann mir da bitte jemand weiterhelfen, ich bin am verzeweifeln!!! danke
|
|
|
|
|
27
|
ProFTPD / ProFTPD - Deutsch / user in homeverzeichniss einsperren
|
am: 16. Mai 2004, 21:34:13
|
|
danke für den tipp, was mache ich nun wenn ich einen user habe der z.B.: fritz heist und ich will ihn in das verzeichniss www/user/fb000 sperren ?
bei default root würde er ja in home/fritz kommen.
zu dem hab ich ja mehrere benutzer! gibt es keinen befehl für die conf datei eines benutzers?
|
|
|
|
|
28
|
ProFTPD / ProFTPD - Deutsch / user in homeverzeichniss einsperren
|
am: 16. Mai 2004, 17:38:57
|
|
hallo,
welcher befehlssatz erzwingt es das der benutzer wenn er sich eingeloggt hat auch in diesem verzeichniss bleibt und nicht verzeichnisse runter gehen kann! also sein home verzeichniss so zu sagen verlässt?!
danke
|
|
|
|
|
29
|
ProFTPD / ProFTPD - Deutsch / User an Verzeichniss Binden
|
am: 19. März 2004, 08:42:26
|
|
so, danke für den tipp! leider hat das ganze nicht so wirklich funktioniert! Ich hab folgendes eingetargen in meinem viruellen host
<VirtualHost HostIP> ServerName "test.at" Group test DefaultRoot /home/html/test.at test </VirtualHost>
<Global> DefaultRoot ~ DefaultChdir DefaultRoot ~ </Global>
Ich wollte das einen user den ich angelgt habe sich nur im verzeichniss /home/html/test.at bewegen kann.
weiters ist mir aufgefallen das ich die Loginshell für den beutzer verwende. Die Loginshell heist bin/sh
Liegt das an der Loginshell? Oder soll ich die Global als erstes in die config schreiben?
danke
|
|
|
|
|
30
|
ProFTPD / ProFTPD - Deutsch / User an Verzeichniss Binden
|
am: 18. März 2004, 22:09:48
|
|
Hallo,
ich hab mir einen virtuellen server erstellt. ich hab mir auch einen benutzer angelegt. das einzige ist nun, wenn ich mit diesem benutzer einlogge habe ich zugriff auf alle ordner. wie binde ich nun diesen user an sein verzeichniss?
danke
|
|
|
|
|