koga021 0 Denunciar post Postado Agosto 25, 2009 Boa tarde, Estou postando aqui mesmo, porem nao sei se aqui e o lugar certo, pois nao achei nenhum outro lugar que possa me ajudar aqui no forun. VAmos la estou querendo fazer um servidor ftp Utilizo o Ubuntu 8.10 porem nao consigo levantar o servidor, ele acusa o erro abaixo quando fou um restart root@dados4:/var/www/ftp# /etc/init.d/proftpd restart * Stopping ftp server proftpd [ OK ] * Starting ftp server proftpd - warning: unable to determine IP address of 'dados4' - error: no valid servers configured - Fatal: error processing configuration file '/etc/proftpd/proftpd.conf' [fail] e o meu proftpd.conf é: # To really apply changes reload proftpd after modifications. AllowOverwrite on AuthAliasOnly on # Choose here the user alias you want !!!! UserAlias elsa-rj userftp ServerName "elsa-rj-desenv" ServerType standalone DeferWelcome off ServerIdent off TimesGMT off MultilineRFC2228 on DefaultServer on ShowSymlinks off TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 2200 #DisplayFirstChdir .message ListOptions "-l" RequireValidShell off TimeoutLogin 20 RootLogin off # It's better for debug to create log files ;-) ExtendedLog /var/log/ftp.log TransferLog /var/log/xferlog SystemLog /var/log/syslog.log DenyFilter \*.*/ # I don't choose to use /etc/ftpusers file (set inside the users you want to ban, not useful for me) UseFtpUsers off # Allow to restart a download AllowStoreRestart on # Port 21 is the standard FTP port, so don't use it for security reasons (choose here the port you want) 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 8 # Set the user and group that the server normally runs at. User nobody Group nogroup # Umask 022 is a good standard umask to prevent new files and dirs # (second parm) from being group and world writable. Umask 022 022 PersistentPasswd off MaxClients 8 MaxClientsPerHost 8 MaxClientsPerUser 8 MaxHostsPerUser 8 # Display a message after a successful login AccessGrantMsg "welcome !!!" # This message is displayed for each access good or not ServerIdent on "you're at home" # Set /home/FTP-shared directory as home directory DefaultRoot /var/www/ftp # Lock all the users in home directory, ***** really important ***** DefaultRoot ~ MaxLoginAttempts 5 #VALID LOGINS <Limit LOGIN> AllowUser userftp DenyALL </Limit> <Directory /var/www/ftp> Umask 022 022 AllowOverwrite off <Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD> DenyAll </Limit> </Directory> <Directory /var/www/ftp/download/*> Umask 022 022 AllowOverwrite off <Limit MKD STOR DELE XMKD RNEF RNTO RMD XRMD> DenyAll </Limit> </Directory> <Directory> /var/www/ftp/upload/> Umask 022 022 AllowOverwrite on <Limit READ RMD DELE> DenyAll </Limit> <Limit STOR CWD MKD> AllowAll </Limit> </Directory> Nao sei o que ha ele nao levanta e sempre da esse erro acima, abraço Compartilhar este post Link para o post Compartilhar em outros sites
Prog 183 Denunciar post Postado Setembro 20, 2009 Você pode colocar o conteúdo do seu arquivo /etc/hosts ? Compartilhar este post Link para o post Compartilhar em outros sites