#1 Le 08/03/2021, à 09:45
- Akariiinnn
Problème lors de l'installation de mon serveur FTP proftpd
Bonjour je suis nouveau dans la création de serveur et je voulais créer un serveur web pour mon projet de Lycée ainsi qu'un serveur FTP pour pouvoir le gérer a distance.
Lorsque que je lance la ligne de code :
sudo /etc/init.d/proftpd restart
J'obtiens une erreur :
[....] Restarting proftpd (via systemctl): proftpd.serviceJob for proftpd.service failed because the control process exited with error code.
See "systemctl status proftpd.service" and "journalctl -xe" for details.
failed!
Lorsque je fais
journalctl -xe
j'obtiens :
mars 08 09:21:33 raspberrypi proftpd[10649]: <Global>
mars 08 09:21:33 raspberrypi proftpd[10649]: </Class>
mars 08 09:21:33 raspberrypi proftpd[10649]: failed!
mars 08 09:21:33 raspberrypi systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit proftpd.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
mars 08 09:21:33 raspberrypi systemd[1]: proftpd.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit proftpd.service has entered the 'failed' state with result 'exit-code'.
mars 08 09:21:33 raspberrypi systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
-- Subject: L'unité (unit) proftpd.service a échoué
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- L'unité (unit) proftpd.service a échoué, avec le résultat failed.
mars 08 09:21:33 raspberrypi sudo[10635]: pam_unix(sudo:session): session closed for user root
mars 08 09:22:43 raspberrypi sudo[10679]: pi : TTY=pts/0 ; PWD=/var/www/html ; USER=root ; COMMAND=/usr/bin/nano /etc/proftpd/proftpd.conf
mars 08 09:22:43 raspberrypi sudo[10679]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
mars 08 09:24:26 raspberrypi sudo[10679]: pam_unix(sudo:session): session closed for user root
mars 08 09:24:28 raspberrypi sudo[10683]: pi : TTY=pts/0 ; PWD=/var/www/html ; USER=root ; COMMAND=/etc/init.d/proftpd restart
mars 08 09:24:28 raspberrypi sudo[10683]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
mars 08 09:24:28 raspberrypi systemd[1]: Starting LSB: Starts ProFTPD daemon...
-- Subject: L'unité (unit) proftpd.service a commencé à démarrer
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- L'unité (unit) proftpd.service a commencé à démarrer.
mars 08 09:24:28 raspberrypi proftpd[10697]: Starting ftp server: proftpd2021-03-08 09:24:28,383 raspberrypi proftpd[10705]: mod_ctrls/0.9.5: error: unable t
mars 08 09:24:28 raspberrypi proftpd[10697]: 2021-03-08 09:24:28,409 raspberrypi proftpd[10705]: fatal: unknown configuration directive 'Uncomment' on line 1
mars 08 09:24:28 raspberrypi proftpd[10697]: failed!
mars 08 09:24:28 raspberrypi systemd[1]: proftpd.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit proftpd.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
mars 08 09:24:28 raspberrypi systemd[1]: proftpd.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit proftpd.service has entered the 'failed' state with result 'exit-code'.
mars 08 09:24:28 raspberrypi systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
-- Subject: L'unité (unit) proftpd.service a échoué
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- L'unité (unit) proftpd.service a échoué, avec le résultat failed.
mars 08 09:24:28 raspberrypi sudo[10683]: pam_unix(sudo:session): session closed for user root
Et lorsque que je fais
proftpd -td10
:
Checking syntax of configuration file
2021-03-08 09:29:21,998 raspberrypi proftpd[10740]: using PCRE 8.39 2016-06-14
2021-03-08 09:29:22,002 raspberrypi proftpd[10740]: using TCP receive buffer size of 131072 bytes
2021-03-08 09:29:22,002 raspberrypi proftpd[10740]: using TCP send buffer size of 16384 bytes
2021-03-08 09:29:22,002 raspberrypi proftpd[10740]: unable to bind to Unix domain socket at '/run/test.sock': Permission denied
2021-03-08 09:29:22,005 raspberrypi proftpd[10740]: mod_ctrls/0.9.5: error: unable to bind to local socket: Address already in use
2021-03-08 09:29:22,006 raspberrypi proftpd[10740]: using 'UTF-8' as local charset for UTF-8 conversion
2021-03-08 09:29:22,007 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_ctrls_admin.c'
2021-03-08 09:29:22,007 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_ctrls_admin' (from '/usr/lib/proftpd/mod_ctrls_admin.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,008 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_tls.c'
2021-03-08 09:29:22,009 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_tls' (from '/usr/lib/proftpd/mod_tls.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,009 raspberrypi proftpd[10740]: mod_tls/2.7: using OpenSSL 1.1.1d 10 Sep 2019
2021-03-08 09:29:22,019 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_radius.c'
2021-03-08 09:29:22,020 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_radius' (from '/usr/lib/proftpd/mod_radius.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,020 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_quotatab.c'
2021-03-08 09:29:22,020 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_quotatab' (from '/usr/lib/proftpd/mod_quotatab.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,021 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_quotatab_file.c'
2021-03-08 09:29:22,021 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_quotatab_file' (from '/usr/lib/proftpd/mod_quotatab_file.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,021 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_quotatab_radius.c'
2021-03-08 09:29:22,022 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_quotatab_radius' (from '/usr/lib/proftpd/mod_quotatab_radius.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,022 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_wrap.c'
2021-03-08 09:29:22,023 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_wrap' (from '/usr/lib/proftpd/mod_wrap.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,023 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_rewrite.c'
2021-03-08 09:29:22,024 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_rewrite' (from '/usr/lib/proftpd/mod_rewrite.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,024 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_load.c'
2021-03-08 09:29:22,025 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_load' (from '/usr/lib/proftpd/mod_load.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,025 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_ban.c'
2021-03-08 09:29:22,025 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_ban' (from '/usr/lib/proftpd/mod_ban.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,026 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_wrap2.c'
2021-03-08 09:29:22,026 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_wrap2' (from '/usr/lib/proftpd/mod_wrap2.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,026 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_wrap2_file.c'
2021-03-08 09:29:22,027 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_wrap2_file' (from '/usr/lib/proftpd/mod_wrap2_file.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,027 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_dynmasq.c'
2021-03-08 09:29:22,027 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_dynmasq' (from '/usr/lib/proftpd/mod_dynmasq.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,027 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_exec.c'
2021-03-08 09:29:22,028 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_exec' (from '/usr/lib/proftpd/mod_exec.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,028 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_shaper.c'
2021-03-08 09:29:22,029 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_shaper' (from '/usr/lib/proftpd/mod_shaper.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,029 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_ratio.c'
2021-03-08 09:29:22,029 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_ratio' (from '/usr/lib/proftpd/mod_ratio.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,030 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_site_misc.c'
2021-03-08 09:29:22,030 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_site_misc' (from '/usr/lib/proftpd/mod_site_misc.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,030 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_sftp.c'
2021-03-08 09:29:22,032 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_sftp' (from '/usr/lib/proftpd/mod_sftp.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,032 raspberrypi proftpd[10740]: mod_sftp/1.0.0: using OpenSSL 1.1.1d 10 Sep 2019
2021-03-08 09:29:22,032 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_sftp_pam.c'
2021-03-08 09:29:22,033 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_sftp_pam' (from '/usr/lib/proftpd/mod_sftp_pam.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,033 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_facl.c'
2021-03-08 09:29:22,034 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_facl' (from '/usr/lib/proftpd/mod_facl.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,034 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_unique_id.c'
2021-03-08 09:29:22,034 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_unique_id' (from '/usr/lib/proftpd/mod_unique_id.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,035 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_copy.c'
2021-03-08 09:29:22,035 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_copy' (from '/usr/lib/proftpd/mod_copy.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,035 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_deflate.c'
2021-03-08 09:29:22,036 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_deflate' (from '/usr/lib/proftpd/mod_deflate.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,036 raspberrypi proftpd[10740]: mod_deflate/0.5.7: using zlib 1.2.11
2021-03-08 09:29:22,036 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_ifversion.c'
2021-03-08 09:29:22,037 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_ifversion' (from '/usr/lib/proftpd/mod_ifversion.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,037 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_memcache.c'
2021-03-08 09:29:22,038 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_memcache' (from '/usr/lib/proftpd/mod_memcache.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,038 raspberrypi proftpd[10740]: mod_memcache/0.1: using libmemcached-1.0.18
2021-03-08 09:29:22,038 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_tls_memcache.c'
2021-03-08 09:29:22,039 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_tls_memcache' (from '/usr/lib/proftpd/mod_tls_memcache.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,039 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_readme.c'
2021-03-08 09:29:22,039 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_readme' (from '/usr/lib/proftpd/mod_readme.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,040 raspberrypi proftpd[10740]: mod_dso/0.5: loading 'mod_ifsession.c'
2021-03-08 09:29:22,040 raspberrypi proftpd[10740]: mod_dso/0.5: loaded module 'mod_ifsession' (from '/usr/lib/proftpd/mod_ifsession.so', last modified on Wed Mar 11 00:03:08 2020)
2021-03-08 09:29:22,041 raspberrypi proftpd[10740]: DenyFilter: compiling regex '\*.*/'
2021-03-08 09:29:22,041 raspberrypi proftpd[10740]: <IfModule>: using 'mod_tls.c' section at line 57
2021-03-08 09:29:22,047 raspberrypi proftpd[10740]: retrieved UID 116 for user 'proftpd'
2021-03-08 09:29:22,047 raspberrypi proftpd[10740]: retrieved GID 65534 for group 'nogroup'
2021-03-08 09:29:22,048 raspberrypi proftpd[10740]: <IfModule>: using 'mod_quotatab.c' section at line 118
2021-03-08 09:29:22,048 raspberrypi proftpd[10740]: <IfModule>: using 'mod_ratio.c' section at line 122
2021-03-08 09:29:22,048 raspberrypi proftpd[10740]: <IfModule>: using 'mod_delay.c' section at line 130
2021-03-08 09:29:22,048 raspberrypi proftpd[10740]: <IfModule>: using 'mod_ctrls.c' section at line 134
2021-03-08 09:29:22,049 raspberrypi proftpd[10740]: mod_ctrls/0.9.5: unable to open ControlsLog '/var/log/proftpd/controls.log': Permission non accordée
2021-03-08 09:29:22,049 raspberrypi proftpd[10740]: fatal: ControlsLog: unable to open '/var/log/proftpd/controls.log': Aucun fichier ou dossier de ce type on line 137 of '/etc/proftpd/proftpd.conf'
Dernière modification par Akariiinnn (Le 08/03/2021, à 09:46)
Hors ligne
#2 Le 10/03/2021, à 12:05
- bruno
Re : Problème lors de l'installation de mon serveur FTP proftpd
Bonjour,
L'erreur est tout à fait explicite :
unable to open '/var/log/proftpd/controls.log': Aucun fichier ou dossier de ce type on line 137 of '/etc/proftpd/proftpd.conf