CONNEXION
  • RetourJeux
    • Tests
    • Soluces
    • Previews
    • Sorties
    • Hit Parade
    • Les + attendus
    • Tous les Jeux
  • RetourActu
    • Culture Geek
    • Astuces
    • Réalité Virtuelle
    • Rétrogaming
    • Toutes les actus
  • RetourHigh-Tech
    • Actus JVTECH
    • Bons plans
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTECH
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch
    • Xbox Series
    • Overwatch 2
    • FUT 23
    • League of Legends
    • Genshin Impact
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • PS4
  • One
  • Switch
  • Wii U
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Etoile Abonnement RSS

Sujet : Port 21 ne marche plus ftp

News culture
La Planète des Singes : Le Nouveau Royaume - la révolution simienne est en marche !
DébutPage précedente
1
Page suivantePage suivante
therudy therudy
MP
Niveau 8
27 juin 2016 à 11:09:55

Salut les gars,

j'ai voulu changer le port de proftpd , mais cela n'a pas marcher,

ducoup j'ai voulu repasser au port 21 mais cela ne refonctionne pas... avant ca fonctionnais,

pourtant dans mon sudo nano /etc/proftpd/proftpd.conf

j'ai bien Port 21

de plus, mon port 21 est bien ouvert ,

une idée ? :?: merci

Pseudo supprimé
Niveau 10
27 juin 2016 à 16:46:40
lsof -i :21
therudy therudy
MP
Niveau 8
28 juin 2016 à 09:36:30

Merci pourta réponse,

cette commande ne me retourne rien en console , et ca ne marche pas plus?

moxo75 moxo75
MP
Niveau 6
28 juin 2016 à 19:55:36

Aprés avoir changer de port tu as bien relancé le service proftpd ?

Message édité le 28 juin 2016 à 19:55:47 par moxo75
deepblue deepblue
MP
Niveau 13
28 juin 2016 à 21:38:01

Cette commande permet (paramétrée comme telle) de savoir quel service écoute sur le port 21. Quand quelque chose écoute, tu auras une sortie proche de ça :

COMMAND   PID USER   FD   TYPE    DEVICE SIZE/OFF NODE NAME
vsftpd  12466 root    3u  IPv6 330555901      0t0  TCP *:ftp (LISTEN)

Regardes dans tes logs, tu devrais avoir un message t'indiquant ce qui bloque proftpd au redémarrage.

therudy therudy
MP
Niveau 8
29 juin 2016 à 11:44:10

Merci pour vos réponse les gars, oui j'ai bien reload, même reboot le serveur

quand je

sudo /etc/init.d/proftpd reload

dans /var/logs/proftpd.logs

2016-06-29 09:40:10,066 raspberrypi proftpd[626] raspberrypi: received SIGHUP -- master server reparsing configuration file
2016-06-29 09:42:05,875 raspberrypi proftpd[626] raspberrypi: ProFTPD killed (signal 15)
2016-06-29 09:42:05,876 raspberrypi proftpd[626] raspberrypi: ProFTPD 1.3.5 standalone mode SHUTDOWN
2016-06-29 09:42:06,260 raspberrypi proftpd[1094] raspberrypi: ProFTPD 1.3.5 (stable) (built Tue May 19 2015 22:21:58 UTC) standalone mode STARTUP

therudy therudy
MP
Niveau 8
29 juin 2016 à 11:52:27

j'ai trouvé ça

2016-06-25 17:12:26,497 raspberrypi proftpd[968] raspberrypi: Failed binding to ::, port 21: Adresse déjà utilisée
2016-06-25 17:12:26,497 raspberrypi proftpd[968] raspberrypi: Check the ServerType directive to ensure you are configured correctly
2016-06-25 17:12:26,498 raspberrypi proftpd[968] raspberrypi: Check to see if inetd/xinetd, or another proftpd instance, is already using ::, port 21
2016-06-25 17:12:26,498 raspberrypi proftpd[968] raspberrypi: Unable to start proftpd; check logs for more details

deepblue deepblue
MP
Niveau 13
29 juin 2016 à 20:37:56
sudo -i
lsof -i :21 # ça dit quoi ?
ps aux | grep proftpd # ça dit quoi ?
sudo service proftpd stop # seulement si le ps a parlé
sudo service proftpd start
ps aux | grep proftpd # ça dit quoi ?
lsof -i :21 # ça dit quoi ?

Et regardes à nouveau tes logs

Message édité le 29 juin 2016 à 20:38:54 par deepblue
therudy therudy
MP
Niveau 8
30 juin 2016 à 10:33:33

merci pour ta réponse,

après le lsof :

proftpd 2035 proftpd 0u IPv6 17867 0t0 TCP *:ftp (LISTEN)

après le ps aux grep proftpd :

proftpd 2035 0.0 0.3 13912 3672 ? Ss juin29 0:01 proftpd: (accepting connections)
root 4292 0.0 0.2 4300 2016 pts/1 S+ 08:31 0:00 grep proftpd

je stop start, puis ps aux greg proftpd

proftpd 4358 0.0 0.3 13912 3672 ? Ss 08:31 0:00 proftpd: (accepting connections)
root 4363 0.0 0.2 4300 2016 pts/1 S+ 08:31 0:00 grep proftpd

puis

proftpd 4358 proftpd 0u IPv6 45687 0t0 TCP *:ftp (LISTEN)

merci pour ton aide, je débute :/

therudy therudy
MP
Niveau 8
30 juin 2016 à 10:35:10

mon /var/log/proftpd.log

2016-06-29 11:00:58,933 raspberrypi proftpd[1533] raspberrypi: Unable to start proftpd; check logs for more details
2016-06-29 11:01:11,925 raspberrypi proftpd[1289] raspberrypi: received SIGHUP -- master server reparsing configuration file
2016-06-29 14:28:05,920 raspberrypi proftpd[1289] raspberrypi: ProFTPD killed (signal 15)
2016-06-29 14:28:05,922 raspberrypi proftpd[1289] raspberrypi: ProFTPD 1.3.5 standalone mode SHUTDOWN
2016-06-29 14:28:20,236 raspberrypi proftpd[2035] raspberrypi: ProFTPD 1.3.5 (stable) (built Tue May 19 2015 22:21:58 UTC) standalone mode STARTUP
2016-06-30 08:31:26,335 raspberrypi proftpd[2035] raspberrypi: ProFTPD killed (signal 15)
2016-06-30 08:31:26,338 raspberrypi proftpd[2035] raspberrypi: ProFTPD 1.3.5 standalone mode SHUTDOWN
2016-06-30 08:31:30,119 raspberrypi proftpd[4358] raspberrypi: ProFTPD 1.3.5 (stable) (built Tue May 19 2015 22:21:58 UTC) standalone mode STARTUP

therudy therudy
MP
Niveau 8
02 juillet 2016 à 15:53:10

up

deepblue deepblue
MP
Niveau 13
09 juillet 2016 à 00:26:39

Tu devrais avoir des logs propres à proftpd dans /var/log. Regardes également si tu peux paramétrer la verbosité des logs dans sa conf.

DébutPage précedente
1
Page suivantePage suivante
Répondre
Prévisu
?
Victime de harcèlement en ligne : comment réagir ?
La vidéo du moment