Titel: Proftpd mit Debian 3.1 und Multiwebinterface! Beitrag von: Scar am 25. November 2005, 11:31:00 Hallo Ihr Proftpd-User,
ich habe folgendes Problem: Ich habe ein Multiwebinterface gecodet, das Gameserver Webspace Eggdrops BNCs und Voiceserver installieren kann und verwaltet. Meine Proftpd.conf: Zitat This is a basic ProFTPD configuration file (rename it to # 'proftpd.conf' for actual use. It establishes a single server # and a single anonymous login. It assumes that you have a user/group # "nobody" and "ftp" for normal operation and anon. ServerName "Debian" ServerType standalone DeferWelcome on ShowSymlinks on MultilineRFC2228 on DefaultServer off AllowOverwrite on TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 DisplayLogin welcome.msg DisplayFirstChdir .message DenyFilter \*.*/ # Uncomment this if you are using NIS or LDAP to retrieve passwords: #PersistentPasswd off # Port 21 is the standard FTP port. Port 21 # 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 nobody Group nogroup # Normally, we want files to be overwriteable. <Directory /*> Umask 022 022 AllowOverwrite on </Directory> DefaultRoot ~ AllowOverwrite On MaxLoginAttempts 3 RequireValidShell Off <LIMIT LOGIN> order allow,deny AllowGroup users DenyAll </LIMIT> # A basic anonymous configuration, no upload directories. ## <Anonymous ~ftp> ## User ftp ## Group nogroup ## # We want clients to be able to login with "anonymous" as well as "ftp" ## UserAlias anonymous ftp ## ## RequireValidShell off ## ## # Limit the maximum number of anonymous logins ## MaxClients 10 ## ## # We want 'welcome.msg' displayed at login, and '.message' displayed ## # in each newly chdired directory. ## DisplayLogin welcome.msg ## DisplayFirstChdir .message ## ## # Limit WRITE everywhere in the anonymous chroot ## <Directory *> ## <Limit WRITE> ## DenyAll ## </Limit> ## </Directory> ## ## # Uncomment this if you're brave. ## # <Directory incoming> ## # # Umask 022 is a good standard umask to prevent new files and dirs ## # # (second parm) from being group and world writable. ## # Umask 022 022 ## # <Limit READ WRITE> ## # DenyAll ## # </Limit> ## # <Limit STOR> ## # AllowAll ## # </Limit> ## # </Directory> ## ## </Anonymous> Wenn ich über mein Webinterface nun ein neuen Kunden anlege wird folgendes per xml an den jeweiligen Root übertragen: Zitat global $server; mkdir("/home/$username"); exec("groupadd $username"); exec("useradd -d /home/$username -g $username -p '$password' -s $shell $username"); if($username!="") { exec("chown -R $username /home/$username"); exec("chgrp -R $username /home/$username"); } $server->write("<transaction><response>done</response></transaction>\n"); } Da dann halt, je nach dem wie der Kunde angelegt wurde, wird aus meiner DB ausgelesen: /bin/false für only FTP zugriff usw. Nun komm ich zur Sache: Warum geht der FTP Zugriff nicht? Ich bekomme es einfach nicht zum laufen, bei Suse 9.0 - 3 war es kein Problem, aber mit Debian, da bin ich am Verzweifeln!!! Ich bitte um eure Hilfe MFG Scar Titel: Re: Proftpd mit Debian 3.1 und Multiwebinterface! Beitrag von: stonki am 25. November 2005, 11:56:59 debug log
Titel: debuglog Beitrag von: Scar am 25. November 2005, 12:22:27 Wo finde ich diese auf Debian 3.1?
Titel: debug Beitrag von: Scar am 25. November 2005, 12:24:25 Zitat Aug 3 15:45:14 debian kernel: On node 0 totalpages: 98304 Aug 3 15:45:14 debian kernel: DMA zone: 4096 pages, LIFO batch:1 Aug 3 15:45:14 debian kernel: Normal zone: 94208 pages, LIFO batch:16 Aug 3 15:45:14 debian kernel: HighMem zone: 0 pages, LIFO batch:1 Aug 3 15:45:14 debian kernel: Calibrating delay loop... 2170.88 BogoMIPS (lpj=1085440) Aug 3 15:45:14 debian kernel: CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000 Aug 3 15:45:14 debian kernel: CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000 Aug 3 15:45:14 debian kernel: CPU: After all inits, caps: 0383f9ff c1c7f9ff 00000000 00000020 00000000 00000000 00000000 Aug 3 15:45:14 debian kernel: parport_pc: VIA 686A/8231 detected Aug 3 15:45:14 debian kernel: parport_pc: probing current configuration Aug 3 15:45:14 debian kernel: parport_pc: Current parallel port base: 0x378 Aug 3 15:45:14 debian kernel: Probing IDE interface ide0... Aug 3 15:45:14 debian kernel: Probing IDE interface ide1... Aug 3 15:45:14 debian kernel: Probing IDE interface ide2... Aug 3 15:45:14 debian kernel: Probing IDE interface ide3... Aug 3 15:45:14 debian kernel: Probing IDE interface ide4... Aug 3 15:45:14 debian kernel: Probing IDE interface ide5... Aug 3 15:45:14 debian kernel: hda: cache flushes not supported Aug 3 15:45:19 debian kernel: eth0: no IPv6 routers present Aug 4 10:01:04 kernel: On node 0 totalpages: 98304 Aug 4 10:01:04 kernel: DMA zone: 4096 pages, LIFO batch:1 Aug 4 10:01:04 kernel: Normal zone: 94208 pages, LIFO batch:16 Aug 4 10:01:04 kernel: HighMem zone: 0 pages, LIFO batch:1 Aug 4 10:01:04 kernel: Calibrating delay loop... 2170.88 BogoMIPS (lpj=1085440) Aug 4 10:01:04 kernel: CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000 Aug 4 10:01:04 kernel: CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000 Aug 4 10:01:04 kernel: CPU: After all inits, caps: 0383f9ff c1c7f9ff 00000000 00000020 00000000 00000000 00000000 Aug 4 10:01:04 kernel: parport_pc: VIA 686A/8231 detected Aug 4 10:01:04 kernel: parport_pc: probing current configuration Aug 4 10:01:04 kernel: parport_pc: Current parallel port base: 0x378 Aug 4 10:01:04 kernel: Probing IDE interface ide0... Aug 4 10:01:04 kernel: Probing IDE interface ide1... Aug 4 10:01:04 kernel: Probing IDE interface ide2... Aug 4 10:01:04 kernel: Probing IDE interface ide3... Aug 4 10:01:04 kernel: Probing IDE interface ide4... Aug 4 10:01:04 kernel: Probing IDE interface ide5... Aug 4 10:01:04 kernel: hda: cache flushes not supported Aug 4 10:01:04 kernel: hdb: cache flushes supported Aug 4 10:01:11 /etc/init.d/mysql[1974]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Aug 4 10:01:11 /etc/init.d/mysql[1974]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed Aug 4 10:01:11 /etc/init.d/mysql[1974]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Aug 4 10:01:11 /etc/init.d/mysql[1974]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Aug 4 10:01:11 /etc/init.d/mysql[1974]: Aug 4 10:04:02 kernel: On node 0 totalpages: 98304 Aug 4 10:04:02 kernel: DMA zone: 4096 pages, LIFO batch:1 Aug 4 10:04:02 kernel: Normal zone: 94208 pages, LIFO batch:16 Aug 4 10:04:02 kernel: HighMem zone: 0 pages, LIFO batch:1 Aug 4 10:04:02 kernel: Calibrating delay loop... 2170.88 BogoMIPS (lpj=1085440) Aug 4 10:04:02 kernel: CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000 Aug 4 10:04:02 kernel: CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000 Aug 4 10:04:02 kernel: CPU: After all inits, caps: 0383f9ff c1c7f9ff 00000000 00000020 00000000 00000000 00000000 Aug 4 10:04:02 kernel: parport_pc: VIA 686A/8231 detected Aug 4 10:04:02 kernel: parport_pc: probing current configuration Aug 4 10:04:02 kernel: parport_pc: Current parallel port base: 0x378 Aug 4 10:04:02 kernel: Probing IDE interface ide0... Aug 4 10:04:02 kernel: Probing IDE interface ide1... Aug 4 10:04:02 kernel: Probing IDE interface ide2... Aug 4 10:04:02 kernel: Probing IDE interface ide3... Aug 4 10:04:02 kernel: Probing IDE interface ide4... Aug 4 10:04:02 kernel: Probing IDE interface ide5... Aug 4 10:04:02 kernel: hda: cache flushes not supported Aug 4 10:04:02 kernel: hdb: cache flushes supported Aug 4 10:04:09 /etc/init.d/mysql[1973]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Aug 4 10:04:09 /etc/init.d/mysql[1973]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed Aug 4 10:04:09 /etc/init.d/mysql[1973]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Aug 4 10:04:09 /etc/init.d/mysql[1973]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Aug 4 10:04:09 /etc/init.d/mysql[1973]: Aug 4 14:56:19 kernel: On node 0 totalpages: 98304 Aug 4 14:56:19 kernel: DMA zone: 4096 pages, LIFO batch:1 Aug 4 14:56:19 kernel: Normal zone: 94208 pages, LIFO batch:16 Aug 4 14:56:19 kernel: HighMem zone: 0 pages, LIFO batch:1 Aug 4 14:56:19 kernel: Calibrating delay loop... 2170.88 BogoMIPS (lpj=1085440) Aug 4 14:56:19 kernel: CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000 Aug 4 14:56:19 kernel: CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000 Aug 4 14:56:19 kernel: CPU: After all inits, caps: 0383f9ff c1c7f9ff 00000000 00000020 00000000 00000000 00000000 Aug 4 14:56:19 kernel: parport_pc: VIA 686A/8231 detected Aug 4 14:56:19 kernel: parport_pc: probing current configuration Aug 4 14:56:19 kernel: parport_pc: Current parallel port base: 0x378 Aug 4 14:56:19 kernel: Probing IDE interface ide0... Aug 4 14:56:19 kernel: Probing IDE interface ide1... Aug 4 14:56:19 kernel: Probing IDE interface ide2... Aug 4 14:56:19 kernel: Probing IDE interface ide3... Aug 4 14:56:19 kernel: Probing IDE interface ide4... Aug 4 14:56:19 kernel: Probing IDE interface ide5... Aug 4 14:56:19 kernel: hda: cache flushes not supported Aug 4 14:56:26 /etc/init.d/mysql[1965]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Aug 4 14:56:26 /etc/init.d/mysql[1965]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed Aug 4 14:56:26 /etc/init.d/mysql[1965]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Aug 4 14:56:26 /etc/init.d/mysql[1965]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Aug 4 14:56:26 /etc/init.d/mysql[1965]: Aug 5 09:19:38 kernel: On node 0 totalpages: 98304 Aug 5 09:19:38 kernel: DMA zone: 4096 pages, LIFO batch:1 Aug 5 09:19:38 kernel: Normal zone: 94208 pages, LIFO batch:16 Aug 5 09:19:38 kernel: HighMem zone: 0 pages, LIFO batch:1 Aug 5 09:19:38 kernel: Calibrating delay loop... 2170.88 BogoMIPS (lpj=1085440) Aug 5 09:19:38 kernel: CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000 Aug 5 09:19:38 kernel: CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000 Aug 5 09:19:38 kernel: CPU: After all inits, caps: 0383f9ff c1c7f9ff 00000000 00000020 00000000 00000000 00000000 Aug 5 09:19:38 kernel: parport_pc: VIA 686A/8231 detected Aug 5 09:19:38 kernel: parport_pc: probing current configuration Aug 5 09:19:38 kernel: parport_pc: Current parallel port base: 0x378 Aug 5 09:19:38 kernel: Probing IDE interface ide0... Aug 5 09:19:38 kernel: Probing IDE interface ide1... Aug 5 09:19:38 kernel: Probing IDE interface ide2... Aug 5 09:19:38 kernel: Probing IDE interface ide3... Aug 5 09:19:38 kernel: Probing IDE interface ide4... Aug 5 09:19:38 kernel: Probing IDE interface ide5... Aug 5 09:19:38 kernel: hda: cache flushes not supported Aug 5 09:19:38 kernel: hdb: cache flushes supported Aug 5 09:19:45 /etc/init.d/mysql[1973]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Aug 5 09:19:45 /etc/init.d/mysql[1973]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed Aug 5 09:19:45 /etc/init.d/mysql[1973]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Aug 5 09:19:45 /etc/init.d/mysql[1973]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Aug 5 09:19:45 /etc/init.d/mysql[1973]: Aug 5 10:16:42 kernel: On node 0 totalpages: 98304 Aug 5 10:16:42 kernel: DMA zone: 4096 pages, LIFO batch:1 Aug 5 10:16:42 kernel: Normal zone: 94208 pages, LIFO batch:16 Aug 5 10:16:42 kernel: HighMem zone: 0 pages, LIFO batch:1 Aug 5 10:16:42 kernel: Calibrating delay loop... 2170.88 BogoMIPS (lpj=1085440) Aug 5 10:16:42 kernel: CPU: After generic identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000 Aug 5 10:16:42 kernel: CPU: After vendor identify, caps: 0183f9ff c1c7f9ff 00000000 00000000 00000000 00000000 00000000 Aug 5 10:16:42 kernel: CPU: After all inits, caps: 0383f9ff c1c7f9ff 00000000 00000020 00000000 00000000 00000000 Aug 5 10:16:42 kernel: parport_pc: VIA 686A/8231 detected Aug 5 10:16:42 kernel: parport_pc: probing current configuration Aug 5 10:16:42 kernel: parport_pc: Current parallel port base: 0x378 Aug 5 10:16:42 kernel: Probing IDE interface ide0... Aug 5 10:16:42 kernel: Probing IDE interface ide1... Aug 5 10:16:42 kernel: Probing IDE interface ide2... Aug 5 10:16:42 kernel: Probing IDE interface ide3... Aug 5 10:16:42 kernel: Probing IDE interface ide4... Aug 5 10:16:42 kernel: Probing IDE interface ide5... Aug 5 10:16:42 kernel: hda: cache flushes not supported Aug 5 10:16:49 /etc/init.d/mysql[1966]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in Aug 5 10:16:49 /etc/init.d/mysql[1966]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed Aug 5 10:16:49 /etc/init.d/mysql[1966]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Aug 5 10:16:49 /etc/init.d/mysql[1966]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! Aug 5 10:16:49 /etc/init.d/mysql[1966]: Nov 24 17:57:31 kernel: On node 0 totalpages: 129024 Nov 24 17:57:31 kernel: DMA zone: 4096 pages, LIFO batch:1 Nov 24 17:57:31 kernel: Normal zone: 124928 pages, LIFO batch:16 Nov 24 17:57:31 kernel: HighMem zone: 0 pages, LIFO batch:1 Nov 24 17:57:31 kernel: Calibrating delay loop... 3948.54 BogoMIPS (lpj=1974272) Nov 24 17:57:31 kernel: CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000 00000000 00000000 00000000 Nov 24 17:57:31 kernel: CPU: After vendor identify, caps: 0383fbff c1c3fbff 00000000 00000000 00000000 00000000 00000000 Nov 24 17:57:31 kernel: CPU: After all inits, caps: 0383fbff c1c3fbff 00000000 00000020 00000000 00000000 00000000 Nov 24 17:57:31 kernel: Probing IDE interface ide0... Nov 24 17:57:31 kernel: Probing IDE interface ide1... Nov 24 17:57:31 kernel: Probing IDE interface ide1... Nov 24 17:57:31 kernel: Probing IDE interface ide2... Nov 24 17:57:31 kernel: Probing IDE interface ide3... Nov 24 17:57:31 kernel: Probing IDE interface ide4... Nov 24 17:57:31 kernel: Probing IDE interface ide5... Nov 24 17:57:31 kernel: hda: cache flushes supported Nov 24 17:58:24 62 kernel: On node 0 totalpages: 129024 Nov 24 17:58:24 62 kernel: DMA zone: 4096 pages, LIFO batch:1 Nov 24 17:58:24 62 kernel: Normal zone: 124928 pages, LIFO batch:16 Nov 24 17:58:24 62 kernel: HighMem zone: 0 pages, LIFO batch:1 Nov 24 17:58:24 62 kernel: Calibrating delay loop... 3948.54 BogoMIPS (lpj=1974272) Nov 24 17:58:24 62 kernel: CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000 00000000 00000000 00000000 Nov 24 17:58:24 62 kernel: CPU: After vendor identify, caps: 0383fbff c1c3fbff 00000000 00000000 00000000 00000000 00000000 Nov 24 17:58:24 62 kernel: CPU: After all inits, caps: 0383fbff c1c3fbff 00000000 00000020 00000000 00000000 00000000 Nov 24 17:58:24 62 kernel: Probing IDE interface ide0... Nov 24 17:58:24 62 kernel: Probing IDE interface ide1... Nov 24 17:58:24 62 kernel: Probing IDE interface ide1... Nov 24 17:58:24 62 kernel: Probing IDE interface ide2... Nov 24 17:58:24 62 kernel: Probing IDE interface ide3... Nov 24 17:58:24 62 kernel: Probing IDE interface ide4... Nov 24 17:58:24 62 kernel: Probing IDE interface ide5... Nov 24 17:58:24 62 kernel: hda: cache flushes supported Nov 24 17:58:29 62 kernel: eth0: no IPv6 routers present Titel: Re: debug Beitrag von: stonki am 25. November 2005, 13:04:09 nein :)
http://www.proftpd.de/Fragen_richtig_posten.34.0.html http://www.proftpd.de/FAQ.15.0.html --> "ProFTPD startet nicht ! Wie kann ich mehr Infos bekommen ?" Titel: debug Beitrag von: scar am 25. November 2005, 13:53:56 Zitat 62:~# proftpd -n -d5 - mod_tls/2.0.7: using OpenSSL 0.9.7g 11 Apr 2005 - parsing '/etc/proftpd.conf' configuration - Compiling deny regex '\*.*/'. - Allocated deny regex at location 0x8118598. - <Directory /*>: adding section for resolved path '/*' 62.141.42.121 - 62.141.42.121 - Config for Speed-Pings: 62.141.42.121 - Limit 62.141.42.121 - Order 62.141.42.121 - AllowGroup 62.141.42.121 - DenyAll 62.141.42.121 - /* 62.141.42.121 - Umask 62.141.42.121 - DirUmask 62.141.42.121 - AllowOverwrite 62.141.42.121 - ShowSymlinks 62.141.42.121 - DisplayLogin 62.141.42.121 - DisplayFirstChdir 62.141.42.121 - DenyFilter 62.141.42.121 - RequireValidShell 62.141.42.121 - DeferWelcome 62.141.42.121 - ShowSymlinks 62.141.42.121 - AllowOverwrite 62.141.42.121 - TimeoutNoTransfer 62.141.42.121 - TimeoutStalled 62.141.42.121 - TimeoutIdle 62.141.42.121 - DisplayLogin 62.141.42.121 - DisplayFirstChdir 62.141.42.121 - DenyFilter 62.141.42.121 - UserID 62.141.42.121 - UserName 62.141.42.121 - GroupID 62.141.42.121 - GroupName 62.141.42.121 - DefaultRoot 62.141.42.121 - AllowOverwrite 62.141.42.121 - MaxLoginAttempts 62.141.42.121 - RequireValidShell 62.141.42.121 - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboar d' 62.141.42.121 - Failed binding to 0.0.0.0, port 21: Address already in use 62.141.42.121 - Check the ServerType directive to ensure you are configured corr ectly. 62:~# so nun aber |