Titel: Proftpd + Update = mod_sql Problem Beitrag von: Sacred am 21. Oktober 2006, 16:52:42 Hallo,
also ich habe folgenden Sachverhalt. Der Proftpd lief die ganze zeit als Version 1.2 mit mysql. Heute habe ich das Debian von Sarge auf Etch geupdatet. Dadurch hat er den proftpd auch gleich upgedatet. Er installiert zwar immer das Paket proftpd-mysql jedoch kann er ihn nicht starten. Ftp halt per Hand installiert und eingerichtet mit der mod_sql. Es Funktion auch ( also wird ohne Fehler durchgeführt ). Jedoch meldet er, dass die Variablen von der sql mod nicht gehen. Sie wären nicht definiert. Solangsam bin ich ratlos .. weis einer von euch vill. einen Rat ? Code: proftpd -nd9 - parsing '/etc//proftpd.conf' configuration - FS: using system open() - FS: using system read() - dispatching directive '<Global>' to module mod_core - dispatching directive '</Global>' to module mod_core - </Global>: ignoring empty context - dispatching directive 'ServerType' to module mod_core - FS: using system read() - FS: using system close() robot - robot - Config for ProFTPD: robot - ROOT PRIVS at mod_delay.c:292 robot - FS: using system open() robot - RELINQUISH PRIVS at mod_delay.c:294 robot - FS: using system fstat() robot - FS: using system close() robot - SETUP PRIVS at main.c:2897 robot - ROOT PRIVS at main.c:1991 robot - RELINQUISH PRIVS at main.c:1998 robot - ROOT PRIVS at main.c:2346 robot - opening scoreboard '/usr/local/var/proftpd/proftpd.scoreboard' robot - RELINQUISH PRIVS at main.c:2372 robot - ROOT PRIVS at inet.c:323 robot - RELINQUISH PRIVS at inet.c:381 robot - ProFTPD 1.3.0 (stable) (built Sat Oct 21 13:45:33 CEST 2006) standalone mode STARTUP robot - ROOT PRIVS at main.c:2209 robot - RELINQUISH PRIVS at main.c:2211 robot - FS: using system lstat() robot - FS: using system lstat() robot - scrubbing scoreboard robot - ROOT PRIVS at mod_core.c:131 robot - RELINQUISH PRIVS at mod_core.c:133 robot - ROOT PRIVS at mod_core.c:161 robot - RELINQUISH PRIVS at mod_core.c:192 robot - FS: using system lstat() robot - ProFTPD terminating (signal 2) robot - ROOT PRIVS at main.c:1872 robot - ROOT PRIVS at mod_delay.c:828 robot - FS: using system open() robot - RELINQUISH PRIVS at mod_delay.c:830 robot - FS: using system write() robot - FS: using system close() Code: proftpd -vv - ProFTPD Version: 1.3.0 (stable) - Scoreboard Version: 01040002 - Built: Sat Oct 21 13:45:33 CEST 2006 - Module: mod_core.c - Module: mod_xfer.c - Module: mod_auth_unix.c - Module: mod_auth_file.c - Module: mod_auth.c - Module: mod_ls.c - Module: mod_log.c - Module: mod_site.c - Module: mod_delay/0.5 - Module: mod_sql/4.2.1 - Module: mod_sql_mysql/4.05 - Module: mod_cap/1.0 Fehlermeldung beim starten: Starting ftp server: proftpd - Fatal: unknown configuration directive 'SQLAuthTypes' on line 117 of '/etc/proftpd/proftpd.conf' failed! Titel: Re: Proftpd + Update = mod_sql Problem Beitrag von: Sacred am 21. Oktober 2006, 18:56:07 Nochmal ich,
leider hab ich die Edit Funktion hier nicht gefunden -.- Hab noch ein bisschen gebastelt. Laut Konfigtest funktioniert alles. Jedoch beim starten immer noch der gleiche fehler.... Code: proftpd -d 9 -n - parsing '/etc/proftpd/proftpd.conf' configuration - FS: using system open() - FS: using system read() - dispatching directive 'ServerName' to module mod_core - dispatching directive 'ServerType' to module mod_core - dispatching directive 'DeferWelcome' to module mod_core - dispatching directive 'IdentLookups' to module mod_core - dispatching directive 'UseReverseDNS' to module mod_core - dispatching directive 'AllowForeignAddress' to module mod_core - dispatching directive 'DefaultServer' to module mod_core - dispatching directive 'ShowSymlinks' to module mod_ls - dispatching directive 'DisplayLogin' to module mod_core - dispatching directive 'DisplayFirstChdir' to module mod_core - dispatching directive 'ListOptions' to module mod_ls - dispatching directive 'DenyFilter' to module mod_core - DenyFilter: compiling deny regex '\*.*/' - dispatching directive 'Port' to module mod_core - FS: using system read() - dispatching directive 'MaxInstances' to module mod_core - dispatching directive 'User' to module mod_core - dispatching auth request "getpwnam" to module mod_radius - dispatching auth request "getpwnam" to module mod_sql - dispatching auth request "getpwnam" to module mod_auth_file - dispatching auth request "getpwnam" to module mod_auth_unix - dispatching directive 'Group' to module mod_core - dispatching auth request "getgrnam" to module mod_radius - dispatching auth request "getgrnam" to module mod_sql - dispatching auth request "getgrnam" to module mod_auth_file - dispatching auth request "getgrnam" to module mod_auth_unix - dispatching directive 'Umask' to module mod_core - dispatching directive 'AllowOverwrite' to module mod_xfer - FS: using system read() - dispatching directive '<Global>' to module mod_core - dispatching directive 'DefaultRoot' to module mod_auth - dispatching directive 'LoginPasswordPrompt' to module mod_auth - dispatching directive '</Global>' to module mod_core - dispatching directive '<IfModule>' to module mod_core - <IfModule>: using 'mod_delay.c' section at line 109 - dispatching directive 'DelayEngine' to module mod_delay - dispatching directive '</IfModule>' to module mod_core - dispatching directive 'SQLAuthTypes' to module mod_sql - dispatching directive 'SQLAuthenticate' to module mod_sql - dispatching directive 'SQLConnectInfo' to module mod_sql - FS: using system read() - dispatching directive 'SQLUserInfo' to module mod_sql - dispatching directive 'SQLGroupInfo' to module mod_sql - dispatching directive 'SQLMinID' to module mod_sql - dispatching directive 'QuotaEngine' to module mod_quotatab - dispatching directive 'QuotaShowQuotas' to module mod_quotatab - dispatching directive 'QuotaDisplayUnits' to module mod_quotatab - dispatching directive 'SQLNamedQuery' to module mod_sql - dispatching directive 'SQLNamedQuery' to module mod_sql - dispatching directive 'SQLNamedQuery' to module mod_sql - FS: using system read() - dispatching directive 'SQLNamedQuery' to module mod_sql - dispatching directive 'QuotaLock' to module mod_quotatab - dispatching directive 'QuotaLimitTable' to module mod_quotatab - dispatching directive 'QuotaTallyTable' to module mod_quotatab - FS: using system read() - FS: using system close() robot - robot - Config for robot: robot - DeferWelcome robot - IdentLookups robot - AllowForeignAddress robot - DefaultServer robot - ShowSymlinks robot - DisplayLogin robot - DisplayFirstChdir robot - ListOptions robot - DenyFilter robot - UserID robot - UserName robot - GroupID robot - GroupName robot - Umask robot - DirUmask robot - AllowOverwrite robot - DelayEngine robot - SQLAuthTypes robot - SQLAuthenticate robot - SQLConnectInfo robot - SQLUserTable robot - SQLUsernameField robot - SQLPasswordField robot - SQLUidField robot - SQLGidField robot - SQLHomedirField robot - SQLShellField robot - SQLGroupTable robot - SQLGroupnameField robot - SQLGroupGIDField robot - SQLGroupMembersField robot - SQLMinID robot - QuotaEngine robot - QuotaShowQuotas robot - QuotaDisplayUnits robot - SQLNamedQuery_get-quota-limit robot - SQLNamedQuery_get-quota-tally robot - SQLNamedQuery_update-quota-tally robot - SQLNamedQuery_insert-quota-tally robot - QuotaLock robot - QuotaLimitTable robot - QuotaTallyTable robot - DefaultRoot robot - LoginPasswordPrompt robot - dispatching auth request "getgroups" to module mod_radius robot - dispatching auth request "getgroups" to module mod_sql robot - dispatching auth request "getgroups" to module mod_auth_file robot - dispatching auth request "getgroups" to module mod_auth_unix robot - SETUP PRIVS at main.c:2897 robot - ROOT PRIVS at main.c:1991 robot - RELINQUISH PRIVS at main.c:1998 robot - ROOT PRIVS at main.c:2346 robot - opening scoreboard '/usr/local/var/proftpd/proftpd.scoreboard' robot - RELINQUISH PRIVS at main.c:2372 robot - ROOT PRIVS at inet.c:323 robot - RELINQUISH PRIVS at inet.c:381 robot - ProFTPD 1.3.0 (stable) (built Sat Oct 21 13:45:33 CEST 2006) standalone mode STARTUP robot - ROOT PRIVS at main.c:2209 robot - RELINQUISH PRIVS at main.c:2211 robot - FS: using system lstat() robot - ProFTPD terminating (signal 2) robot - ROOT PRIVS at main.c:1872 robot - RELINQUISH PRIVS at main.c:1893 robot - ProFTPD 1.3.0 standalone mode SHUTDOWN robot - ROOT PRIVS at main.c:1900 robot - deleting existing scoreboard '/usr/local/var/proftpd/proftpd.scoreboard' robot - RELINQUISH PRIVS at main.c:1902 laut der Ausgabe wird die sql_mod ja erkannt. Jedoch beim starten immer noch die gleiche Fehlermeldung. Titel: Re: Proftpd + Update = mod_sql Problem Beitrag von: VolGas am 22. Oktober 2006, 17:50:02 Hallo!
Irgend etwas scheint wohl ganz arg verkehrt zu sein: "robot - ProFTPD terminating (signal 2)" Das bedeutet, daß der Prozess abgeschossen oder abgestürzt ist - vielleicht ist da eine falsche Library von mySQL "eingelinkt". Es ist nicht ganz ungefählich, wenn man Debian-Pakete benutzt und dann den Maintainern mit einer Eigeninstallation in die Quere kommt. (siehe auch ->hier (http://www.proftpd.de/forum/index.php/topic,2262.msg10578.html#msg10578) und ->hier (http://www.proftpd.de/forum/index.php/topic,1989.msg9444.html#msg9444)) Leider kann ich Dir bei einem Binary-Debug nicht weiterhelfen, das kann -glaub ich- der Wörsty hier ganz gut. Aber das kann ganz schön verzwickt sein, versuche erst einmal alle anderen Wege. mfg. VolGas |