|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Nov 2001
Città: Malmö (Svezia) - Copenhagen
Messaggi: 962
|
ProFTPd non parte
puntata melodrammatica della seria: "Metto su un server a casa".
Apache ora funziona alla grande, e anche il virtual hosting sembra sistemato. Ho un ip dinamico, ma con un dynamic dns ho risolto anche quello (fra l'altro in una settimana di uptime l' ip è rimasto sempre quello...). Ora Proftpd non ne vuole sapere di partire: la configurazione è quella standard senza cambi - ho cambiato solo il nome del server ![]() Codice:
Starting proftpd: noname-57-13.ip-pluggen.com - Fatal: unable to determine IP address of 'noname-57-13.ip-pluggen.com'. [FAILED] Codice:
127.0.0.1 localhost Codice:
127.0.0.1 localhost 194.16.57.13 noname-57-13.ip-pluggen.com Voi che ne dite?
__________________
http://www.francescoinsvezia.net Il mio blog scandinavo! aka "La mia vita fra la gnokka" ![]() ![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: May 2002
Città: Firenze
Messaggi: 3666
|
Scusa ProFTPD sarebbe il server FTP che gira sulla tua macchina? Credo di si... allora dove è che hai dovuto impostare l'alias in quel modo?
__________________
XBOX·Series X || Gamer.TAG: iTz Tyl3rDurd3n || STEAM ID: proj3ctmayh3m || BTag: TylerDurden#1150 7950X3D || 32GB DDR5 6000MHz CL30 || 4080 SUPER FE
|
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Nov 2001
Città: Malmö (Svezia) - Copenhagen
Messaggi: 962
|
sì... è il server FTP che gira sul mio serverino casalingo... quella stringa l'ho aggiunta nel file /etc/hosts (o era host... cmq siamo lì)... se mi chiedi perchè sia così pero non lo so... a quanto pare da qualche parte nel network dove sono connesso il mio ip diventa quell'obrobrio di dominio che gli vedi appresso... e per far funzionare il server FTP gli devo dire che in effetti quell'obrobrio è null'altro che l'ip di partenza...
![]() Se qualcuno mi spiega anche a me cosa ho detto mi fa un piacere ![]()
__________________
http://www.francescoinsvezia.net Il mio blog scandinavo! aka "La mia vita fra la gnokka" ![]() ![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Apr 2001
Città: Perugia
Messaggi: 246
|
Ma hai un IP fisso o dinamico?
posta il file di conf di proftpd ![]() ciau
__________________
-> http://zod.oziosi.org -> KeyID: DC9F030F at pgp.mit.edu "E` impossibile godere a fondo l'ozio se non si ha una quantita` di lavoro da fare..." |
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Nov 2001
Città: Malmö (Svezia) - Copenhagen
Messaggi: 962
|
l'IP è dinamico... il problema sta proprio lì, che mi pare strano dovergli specificare l'ip a mano x farlo partire... cmq questo è proftpd.conf
Codice:
# 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 "FrancescoInSvezia Linux Server" ServerType standalone 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 10 # Set the user and group under which the server will run. User nobody Group nogroup # Normally, we want files to be overwriteable. <Directory /> AllowOverwrite on </Directory> # Needed for NIS. PersistentPasswd off # Default root can be used to put users in a chroot environment. # As an example if you have a user foo and you want to put foo in /home/foo # chroot environment you would do this: # # DefaultRoot /home/foo foo <Global> DefaultChdir /var/ftpdir DefaultRoot /var/ftpdir ftpuser DefaultRoot /var/ftpdir/pub anonymous DefaultRoot /var/www/html francesco AccessGrantMsg "Welcome to Linux FTP server@MdK9.1" AccessDenyMsg "Yor account is not valid contact your sysadmin (davide)" LoginPasswordPrompt on AllowOverwrite on DeleteAbortedStores on HiddenStor off RootLogin off DisplayLogin """Signori calma!""" DisplayQuit ""Bye!"" MaxLoginAttempts 3 TransferLog /var/log/proftpd/transfer_log SyslogLevel notice DisplayGoAway """Troppe connessioni!""" LsDefaultOptions -l </Global> SystemLog /var/log/proftpd/errors_log <VirtualHost francescoinsvezia.ods.org> ServerName "FrancescoInSvezia" </VirtualHost> ![]() Come vedete ho lasciato anche l'account anonymous - anche se non funziona, forse perchè la dir di root x quell'account non esiste - però vorrei toglierlo e lasciare solo account reali con password. Fra l'altro se qualcuno ha qualche dritta su come far girare l'autenticazione tramite db mysql mi fa un favore... sto guardando la documentazione, ma se qualcuno mi mette sulla buona strada non mi offendo ![]()
__________________
http://www.francescoinsvezia.net Il mio blog scandinavo! aka "La mia vita fra la gnokka" ![]() ![]() |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 23:36.