Titel: Proftp+MySQL+RedHat Beitrag von: tScheckSn am 08. September 2004, 20:58:59 Hallo!
Ich versuche auf meine RedHat rechner proftp mit mysql zu installieren. Jetzt habe ich das problem dass ich den server mit "proftpd" starte. Es kommt keine fehlermeldung, und wenn ich ps x eingebe steht : 27220 ? S 0:00 proftpd: (accepting connections) Nur wenn ich mit einem ftp client zugreifen möchte bekomme ich immer Error recieving response from FTP/HTTP server. Windows socket error 10038 Socket operation on non-socket. Die Mysql DB ist richtig angelegt. meine proftpd.conf sieht so aus: ServerName "**********" ServerType Standalone ServerAdmin ******** # Hide as much as possible to outside users ServerIdent on "Welcome to the *** FTP server. Please login..." DeferWelcome on DefaultServer on # Allow FTP resuming. # Remember to set to off if you have an incoming ftp for upload. AllowStoreRestart 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 022 # 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 under which the server will run. User root Group root # To cause every FTP user to be "jailed" (chrooted) into their home # directory, uncomment this line. DefaultRoot ~ # Normally, we want files to be overwriteable. AllowOverwrite on SQLLOGFILE /var/log/proftpd.sql.log SQLAuthTypes Plaintext Crypt SQLAuthenticate users* groups* # used to connect to the database # databasename@host database_user user_password SQLConnectInfo ftpdb@localhost ********* ****** SQLLOGFILE /var/log/proftpd.sql.log # Here we tell ProFTPd the names of the database columns in the "usertable" # we want it to interact with. Match the names with those in the db SQLUserInfo ftpuser userid passwd uid gid homedir shell # Here we tell ProFTPd the names of the database columns in the "grouptable" # we want it to interact with. Again the names match with those in the db SQLGroupInfo ftpgroup groupname gid members # set min UID and GID - otherwise these are 999 each SQLMinID 500 # 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 # Update modified everytime user uploads or deletes a file SQLLog STOR,DELE modified SQLNamedQuery modified UPDATE "modified=now() WHERE userid='%u'" ftpuser RootLogin on RequireValidShell off kann mir jemand einen tip geben, wie ich zumindest herausbekommen kann welchen fehler das ganze hat, oder was falsch ist? ich werke seit drei nächten, und es funktioniert einfach nicht. im voraus schon DANKE! mfg Philipp |