Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2674 connectés 

 


Dernière réponse
Sujet : proftp ne se lance plus!!
deather2 Trouve toi un nom pour ta machine et fais:
 
# hostname le_nom
# echo "le_nom" > /etc/hostname
# echo "127.0.0.1  localhost" > /etc/hosts
# echo "ip_locale  le_nom" >> /etc/hosts
 
en remplacant ip_locale par ton IP sur le réseau. Si t'es connecté directement à internet, ne tappe pas la dernière ligne.

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
deather2 Trouve toi un nom pour ta machine et fais:
 
# hostname le_nom
# echo "le_nom" > /etc/hostname
# echo "127.0.0.1  localhost" > /etc/hosts
# echo "ip_locale  le_nom" >> /etc/hosts
 
en remplacant ip_locale par ton IP sur le réseau. Si t'es connecté directement à internet, ne tappe pas la dernière ligne.
lima44 merci deather2, mais comme je l'ai indiqué plus haut, j'ai une IP dynamique et avait déjà exploré cette piste. J'ai résolu mon pb, voilà 1 semaine en voulant personnaliser mon bureau KDE ds  l'onglet Reseau option courrier electronique, j'ai rentré ma veritable adresse mail et là pas de bol c'est ce qui a foutu le bordel sur mon micro, là il faut qu'on m'explique, alors que sur d'autre session (ma femme) cette case n'est pas remplie??????
deather2 T'as une IP fixe?
Si oui, alors fais:

Code :
  1. # echo "<ton_ip>   lns-th2-8-nan-xx.adsl.proxad.net" >> /etc/hosts

lima44 hostname me donne  
lns-th2-8-nan-xx.adsl.proxad.net
je n'y comprend rien!!!, j'ai accès à internet, la commande hostname me donne le nom du micro et pourtant proftpd ne veut rien savoir<
deather2 Donne nous ce que te donne la commande hostname.
essaye de tapper hostname Test
et de le relancer voir
lima44 c'est la mon pb, j'ai rien changé, pourmon fichier de config:
 
# 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                      "ProFTPD Default Installation"
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                    30
 
# Set the user and group under which the server will run.
User                            nobody
Group                           nogroup
 
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~/data
 
# Normally, we want files to be overwriteable.
AllowOverwrite          on
 
# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
  DenyAll
</Limit>
 
# 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
RequireValidShell off
 
une solution consiste à inscrire ds host son IP et son hostname, mais j'ai une IP dynamique!!! que je suis avec ddclient.
mikala tu as volontairement modifié ton host ?
si ce n'est aps le ca proftpd rale car il n'arrive pas a récuperer l'ip de ton lns-....' , après il se casse la gueule peut etre a cause de cela.
un souci au niveau des dns peut etre ?
sinon tu n'as absolument rien changer depuis la derniere fois ?
tu devrais monter ton fichier de conf a mon avis .
P.S: je ne connais rien a proftpd
P.S2: pure-ftpd c'est le bien :
lima44 service proftpd start
Lancement du serveur FTP  (proftpd) :  - getaddrinfo 'lns-th2-8-nan-xx.adsl.proxad.net' error: Name or service not known
 - warning: unable to determine IP address of 'lns-th2-8-nan-xx.adsl.proxad.net'
 - error: no valid servers configured
 - Fatal: error processing configuration file '/etc/proftpd.conf'
                                                                [ECHEC ]
 
voilà le message obtenu apres lancement de proftp, alors qu'il fonctionnait tres bien jusqu'a hier?????

Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)