Grzes99 Napisano Kwiecień 21, 2007 Zgłoszenie Share Napisano Kwiecień 21, 2007 Hej, Proftpd działał bez zarzutu do czasu jak chciałem połączyć proftpd z mysqlem, (_niewiem_ → nie wiem) ORT dlaczego ale nie działa quota!!! zainstalowałem pakiety: proftpd-mysql, proftpd-ldap, i wszystkie pakiety mysql. tak jak tutaj i nic ciągle mam ten sam problem wyskakuje: Fatal: unknown configuration directive 'sQLConnectInfo' on line 109 of '/etc/proftpd.conf' też: Fatal: unknown configuration directive 'SQLAuthTypes' on line 107 of '/etc/proftpd.conf' (_niewiem_ → nie wiem) ORT co jest czy w Fedora 6 nie można zainstalować quota!!! Pozostałe dane: proftpd -vv - ProFTPD Version: 1.3.0a (stable) - Scoreboard Version: 01040002 - Built: Tue Feb 6 06:06:54 EST 2007 - 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_dso/0.4 - Module: mod_readme.c - Module: mod_auth_pam.c - Module: mod_tls/2.1.1 - Module: mod_cap/1.0 - Module: mod_ctrls/0.9.4 proftpd -nd 6 - mod_tls/2.1.1: using OpenSSL 0.9.8b 04 May 2006 - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock' - parsing '/etc/proftpd.conf' configuration - IPv6 getaddrinfo 'localhost' error: Name or service not known - setting default address to 127.0.0.1 - dispatching auth request "getpwnam" to module mod_auth_file - dispatching auth request "getpwnam" to module mod_auth_unix - dispatching auth request "getgrnam" to module mod_auth_file - dispatching auth request "getgrnam" to module mod_auth_unix - <Directory ~>: deferring resolution of path - Fatal: unknown configuration directive 'SQLAuthTypes' on line 107 of '/etc/proftpd.conf' JEŚLI KTOŚ MI POMOŻE TO DOSTANIE ODEMNIE KONTO WWW Z BAZĄ SQL I PHP [email protected] Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
MonteChristo Napisano Kwiecień 22, 2007 Zgłoszenie Share Napisano Kwiecień 22, 2007 JEŚLI KTOŚ MI POMOŻE TO DOSTANIE ODEMNIE KONTO WWW Z BAZĄ SQL I PHP [email protected] -> czemu tak piszesz! forum nie polega na tym zeby robic cos za cos, forum polega na tym ze rozwiazuje sie problemy bez gotowkowo. Dla wspolnego rozbudowywania swojej jak i innych wiedzy. Poza tym jesli to konto na tym samym srev. na ktorym stawiasz to proftp to raczej ja bym nie byl taki laskawy, bo masz sporo niedociagniec. wracajac do watku. daj takie info: grep proftpd /var/log/messages oraz pokaz co daje: proftpd -n -d9 Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
cineks Napisano Kwiecień 22, 2007 Zgłoszenie Share Napisano Kwiecień 22, 2007 Witam!!! ja mam postawiony i zarządzany proftpd wg tego "przepisu" i działa. Przykładowy plik konfiguracyjny znajduje sie w misc/sample_config/proftpd_quota.conf Program kompilowałem ze źródeł z takimi opcjami ./configure --enable-timeout-ident --enable-timeout-idle --enable-timeout-linger --enable-timeout-login --enable-timeout-no-transfer --enable-timeout-stalled --enable-transfer-buffer-size --with-includes=/usr/include/mysql --with-libraries=/usr/lib --with-modules=mod_sql:mod_sql_mysql:mod_quotatab:mod_quotatab_sql:mod_ratio --with-includes=/usr/include/mysql --with-libraries=/usr/lib/mysql Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Grzes99 Napisano Kwiecień 29, 2007 Autor Zgłoszenie Share Napisano Kwiecień 29, 2007 -> czemu tak piszesz! forum nie polega na tym zeby robic cos za cos, forum polega na tym ze rozwiazuje sie problemy bez gotowkowo. Dla wspolnego rozbudowywania swojej jak i innych wiedzy. Poza tym jesli to konto na tym samym srev. na ktorym stawiasz to proftp to raczej ja bym nie byl taki laskawy, bo masz sporo niedociagniec. wracajac do watku. daj takie info: grep proftpd /var/log/messages oraz pokaz co daje: proftpd -n -d9 Hej, dzięki za odpowiedz po prostu niewiedziałem czy ktoś mi odpowie.... [root@vademecum /]# proftpd -n -d9 - mod_tls/2.1.1: using OpenSSL 0.9.8b 04 May 2006 - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock' - parsing '/etc/proftpd.conf' configuration - FS: using system open() - FS: using system read() - dispatching directive 'ServerType' to module mod_core - dispatching directive 'DefaultServer' to module mod_core - dispatching directive 'Umask' to module mod_core - dispatching directive 'ServerName' to module mod_core - dispatching directive 'ServerIdent' to module mod_core - dispatching directive 'ServerAdmin' to module mod_core - dispatching directive 'IdentLookups' to module mod_core - dispatching directive 'UseReverseDNS' to module mod_core - dispatching directive 'Port' to module mod_core - dispatching directive 'PassivePorts' to module mod_core - dispatching directive 'TimesGMT' to module mod_core - dispatching directive 'MaxInstances' to module mod_core - dispatching directive 'MaxLoginAttempts' to module mod_auth - dispatching directive 'TimeoutLogin' to module mod_auth - dispatching directive 'TimeoutNoTransfer' to module mod_xfer - dispatching directive 'TimeoutIdle' to module mod_core - dispatching directive 'DisplayLogin' to module mod_core - dispatching directive 'DisplayFirstChdir' to module mod_core - dispatching directive 'User' to module mod_core - 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_auth_file - dispatching auth request "getgrnam" to module mod_auth_unix - dispatching directive 'DirFakeUser' to module mod_ls - dispatching directive 'DirFakeGroup' to module mod_ls - dispatching directive 'DefaultTransferMode' to module mod_core - dispatching directive 'AllowForeignAddress' to module mod_core - dispatching directive 'AllowRetrieveRestart' to module mod_xfer - dispatching directive 'AllowStoreRestart' to module mod_xfer - dispatching directive 'DeleteAbortedStores' to module mod_xfer - dispatching directive 'TransferRate' to module mod_xfer - dispatching directive 'TransferRate' to module mod_xfer - dispatching directive 'TransferRate' to module mod_xfer - dispatching directive 'TransferRate' to module mod_xfer - dispatching directive 'SystemLog' to module mod_log - dispatching directive 'RequireValidShell' to module mod_auth - dispatching directive '<IfModule>' to module mod_core - <IfModule>: using 'mod_tls.c' section at line 42 - dispatching directive 'TLSEngine' to module mod_tls - dispatching directive 'TLSRequired' to module mod_tls - dispatching directive 'TLSVerifyClient' to module mod_tls - dispatching directive 'TLSProtocol' to module mod_tls - FS: using system read() - dispatching directive 'TLSLog' to module mod_tls - dispatching directive 'TLSRSACertificateFile' to module mod_tls - FS: using system lstat() - dispatching directive '</IfModule>' to module mod_core - dispatching directive '<IfModule>' to module mod_core - <IfModule>: skipping 'mod_ratio.c' section at line 50 - dispatching directive '<Limit>' to module mod_core - dispatching directive 'AllowUser' to module mod_core - dispatching directive 'DenyAll' to module mod_core - dispatching directive '</Limit>' to module mod_core - dispatching directive '<Anonymous>' to module mod_core - dispatching directive 'User' to module mod_core - dispatching directive 'Group' to module mod_core - dispatching directive 'AnonRequirePassword' to module mod_auth - dispatching directive 'MaxClients' to module mod_auth - dispatching directive 'DisplayLogin' to module mod_core - dispatching directive 'DisplayFirstChdir' to module mod_core - dispatching directive '<Limit>' to module mod_core - dispatching directive 'Allow' to module mod_core - dispatching directive 'Deny' to module mod_core - dispatching directive '</Limit>' to module mod_core - dispatching directive 'AllowOverwrite' to module mod_xfer - dispatching directive '<Limit>' to module mod_core - dispatching directive 'AllowAll' to module mod_core - dispatching directive '</Limit>' to module mod_core - dispatching directive '<Limit>' to module mod_core - dispatching directive 'DenyAll' to module mod_core - dispatching directive '</Limit>' to module mod_core - dispatching directive '<Directory>' to module mod_core - <Directory /home/>: deferring resolution of path - FS: using system read() - dispatching directive 'AllowOverwrite' to module mod_xfer - dispatching directive '<Limit>' to module mod_core - dispatching directive 'AllowAll' to module mod_core - dispatching directive '</Limit>' to module mod_core - dispatching directive '<Limit>' to module mod_core - dispatching directive 'DenyAll' to module mod_core - dispatching directive '</Limit>' to module mod_core - dispatching directive '</Directory>' to module mod_core - dispatching directive '</Anonymous>' to module mod_core - FS: using system read() - FS: using system close() - IPv6 getaddrinfo 'localhost.localdomain' error: Name or service not known localhost.localdomain - localhost.localdomain - Config for 10.0.0.100: localhost.localdomain - /var/ftp/Click_Here/ localhost.localdomain - /home/ localhost.localdomain - Limit localhost.localdomain - DenyAll localhost.localdomain - Limit localhost.localdomain - AllowAll localhost.localdomain - AllowOverwrite localhost.localdomain - MaxClients localhost.localdomain - DisplayLogin localhost.localdomain - DisplayFirstChdir localhost.localdomain - Umask localhost.localdomain - TimesGMT localhost.localdomain - DirFakeUser localhost.localdomain - DirFakeGroup localhost.localdomain - AllowForeignAddress localhost.localdomain - AllowRetrieveRestart localhost.localdomain - AllowStoreRestart localhost.localdomain - DeleteAbortedStores localhost.localdomain - TransferRate localhost.localdomain - TransferRate localhost.localdomain - TransferRate localhost.localdomain - TransferRate localhost.localdomain - RequireValidShell localhost.localdomain - TLSRequired localhost.localdomain - Limit localhost.localdomain - DenyAll localhost.localdomain - Limit localhost.localdomain - AllowAll localhost.localdomain - Limit localhost.localdomain - Allow localhost.localdomain - Deny localhost.localdomain - UserName localhost.localdomain - GroupName localhost.localdomain - AnonRequirePassword localhost.localdomain - MaxClients localhost.localdomain - DisplayLogin localhost.localdomain - DisplayFirstChdir localhost.localdomain - AllowOverwrite localhost.localdomain - Umask localhost.localdomain - TimesGMT localhost.localdomain - DirFakeUser localhost.localdomain - DirFakeGroup localhost.localdomain - AllowForeignAddress localhost.localdomain - AllowRetrieveRestart localhost.localdomain - AllowStoreRestart localhost.localdomain - DeleteAbortedStores localhost.localdomain - TransferRate localhost.localdomain - TransferRate localhost.localdomain - TransferRate localhost.localdomain - TransferRate localhost.localdomain - RequireValidShell localhost.localdomain - TLSRequired localhost.localdomain - Limit localhost.localdomain - AllowUser localhost.localdomain - DenyAll localhost.localdomain - DefaultServer localhost.localdomain - Umask localhost.localdomain - ServerIdent localhost.localdomain - IdentLookups localhost.localdomain - PassivePorts localhost.localdomain - TimesGMT localhost.localdomain - MaxLoginAttempts localhost.localdomain - TimeoutLogin localhost.localdomain - TimeoutNoTransfer localhost.localdomain - TimeoutIdle localhost.localdomain - DisplayLogin localhost.localdomain - DisplayFirstChdir localhost.localdomain - UserID localhost.localdomain - UserName localhost.localdomain - GroupID localhost.localdomain - GroupName localhost.localdomain - DirFakeUser localhost.localdomain - DirFakeGroup localhost.localdomain - DefaultTransferMode localhost.localdomain - AllowForeignAddress localhost.localdomain - AllowRetrieveRestart localhost.localdomain - AllowStoreRestart localhost.localdomain - DeleteAbortedStores localhost.localdomain - TransferRate localhost.localdomain - TransferRate localhost.localdomain - TransferRate localhost.localdomain - TransferRate localhost.localdomain - RequireValidShell localhost.localdomain - TLSEngine localhost.localdomain - TLSRequired localhost.localdomain - TLSVerifyClient localhost.localdomain - TLSLog localhost.localdomain - TLSRSACertificateFile localhost.localdomain - ROOT PRIVS at mod_delay.c:292 localhost.localdomain - FS: using system open() localhost.localdomain - RELINQUISH PRIVS at mod_delay.c:294 localhost.localdomain - FS: using system fstat() localhost.localdomain - FS: using system close() localhost.localdomain - ROOT PRIVS at mod_tls.c:591 localhost.localdomain - RELINQUISH PRIVS at mod_tls.c:593 localhost.localdomain - ROOT PRIVS at mod_tls.c:639 localhost.localdomain - mod_tls/2.1.1: passphrase locked into memory localhost.localdomain - RELINQUISH PRIVS at mod_tls.c:645 localhost.localdomain - ROOT PRIVS at mod_ctrls.c:1610 localhost.localdomain - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock' localhost.localdomain - RELINQUISH PRIVS at mod_ctrls.c:1612 localhost.localdomain - dispatching auth request "getgroups" to module mod_auth_file localhost.localdomain - dispatching auth request "getgroups" to module mod_auth_unix localhost.localdomain - SETUP PRIVS at main.c:2912 localhost.localdomain - ROOT PRIVS at main.c:2006 localhost.localdomain - RELINQUISH PRIVS at main.c:2013 localhost.localdomain - ROOT PRIVS at main.c:2361 localhost.localdomain - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard' localhost.localdomain - opening scoreboard '/var/run/proftpd/proftpd.scoreboard' localhost.localdomain - RELINQUISH PRIVS at main.c:2387 localhost.localdomain - error setting IPV6_V6ONLY: Protocol not available localhost.localdomain - ROOT PRIVS at inet.c:323 localhost.localdomain - RELINQUISH PRIVS at inet.c:363 localhost.localdomain - Failed binding to ::, port 21: Address already in use localhost.localdomain - Check the ServerType directive to ensure you are configured correctly. localhost.localdomain - ROOT PRIVS at mod_delay.c:828 localhost.localdomain - FS: using system open() localhost.localdomain - RELINQUISH PRIVS at mod_delay.c:830 localhost.localdomain - FS: using system write() localhost.localdomain - FS: using system close() localhost.localdomain - mod_tls/2.1.1: scrubbing 1 passphrase from memory [root@vademecum ~]# grep proftpd /var/log/messages Apr 29 13:24:41 localhost xinetd[1702]: attribute bind expects 1 values and 0 values were specified [file=/etc/xinetd.d/proftpd] [line=9] Apr 29 13:24:41 localhost xinetd[1702]: Bad log_on_failure flag: RECORD [file=/etc/xinetd.d/proftpd] [line=11] Apr 29 13:24:41 localhost xinetd[1702]: Error parsing attribute log_on_failure - DISABLING SERVICE [file=/etc/xinetd.d/proftpd] [line=11] Apr 29 13:25:52 localhost kernel: audit(1177845952.321:3): avc: denied { ipc_lock } for pid=2030 comm="proftpd" capability=14 scontext=root:system_r:ftpd_t:s0 tcontext=root:system_r:ftpd_t:s0 tclass=capability zgóry dzięki za wszystkie wskazówki. Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się