Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 03/09/2010, à 22:56

Titan06

Probléme proftpd ubuntu lts 10.4

Bonjour quand je veux lancer proftpd avec gadmine j'ai sa comme message d'erreur

 - mod_dso/0.4: module 'mod_ctrls_admin.c' already loaded
 - Fatal: LoadModule: error loading module 'mod_ctrls_admin.c': Operation not permitted on line 7 of '/etc/proftpd/proftpd.conf'

vous avez une solution ?

Hors ligne

#2 Le 05/09/2010, à 10:17

Titan06

Re : Probléme proftpd ubuntu lts 10.4

toujours pas ?

Hors ligne

#3 Le 05/09/2010, à 10:22

PRQT83

Re : Probléme proftpd ubuntu lts 10.4

Bonjour,

Et si tu le lance via le terminal pour voir.

 sudo /etc/init.d/proftpd stop

pour être sur qu'il est arrêté.
Puis pour le lancer

sudo /etc/init.d/proftpd restart

parceque apparement, il marche déjà et refuse de lancer une autre instance de ton module.

Et la ligne 7 de ton proftpd conf c'est quoi?
Tu peux coller le fichier? ( masque ce que tu veux pas rendre public) il est dans le dernier onglet de gadmin-proftpd

Dernière modification par PRQT83 (Le 05/09/2010, à 10:27)

#4 Le 05/09/2010, à 18:15

Titan06

Re : Probléme proftpd ubuntu lts 10.4

#
# Includes required DSO modules. This is mandatory in proftpd 1.3
#
Include	/etc/proftpd/modules.conf

ModulePath /usr/lib/proftpd
LoadModule mod_ctrls_admin.c
LoadModule mod_tls.c
LoadModule mod_radius.c
LoadModule mod_quotatab.c
LoadModule mod_quotatab_file.c
LoadModule mod_quotatab_radius.c
LoadModule mod_wrap.c
LoadModule mod_rewrite.c
LoadModule mod_load.c
LoadModule mod_ban.c
LoadModule mod_wrap2.c
LoadModule mod_wrap2_file.c
LoadModule mod_dynmasq.c
LoadModule mod_ifsession.c

ServerType standalone
DefaultServer on
Umask 022
ServerName "XXXXXXX"
ServerIdent on "My FTP Server"
ServerAdmin email@example.org
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 30
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin welcome.msg
DisplayChdir .message
User nobody
Group nobody
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress off
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores off
TransferRate RETR 220
TransferRate STOR 250
TransferRate STOU 250
TransferRate APPE 250
SystemLog /var/log/secure
RequireValidShell off

<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol SSLv23
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gadmin-proftpd/certs/cert.pem
TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/key.pem
TLSCACertificateFile /etc/gadmin-proftpd/certs/cacert.pem
TLSRenegotiate required off
</IfModule>

<IfModule mod_ratio.c>
Ratios off
SaveRatios off
RatioFile "/restricted/proftpd_ratios"
RatioTempFile "/restricted/proftpd_ratios_temp"
CwdRatioMsg "Please upload first!"
FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
LeechRatioMsg "Your ratio is unlimited."
</IfModule>

<Limit LOGIN>
  DenyALL
</Limit>

Dernière modification par Titan06 (Le 05/09/2010, à 18:16)

Hors ligne

#5 Le 05/09/2010, à 19:02

PRQT83

Re : Probléme proftpd ubuntu lts 10.4

et ton /etc/proftpd/modules.conf pour voir stp

#6 Le 05/09/2010, à 19:05

Titan06

Re : Probléme proftpd ubuntu lts 10.4

c'est du chinois pour moi tout sa

#
# This file is used to manage DSO modules and features.
#

# This is the directory where DSO modules reside

ModulePath /usr/lib/proftpd

# Allow only user root to load and unload modules, but allow everyone
# to see which modules have been loaded

ModuleControlsACLs insmod,rmmod allow user root
ModuleControlsACLs lsmod allow user *

LoadModule mod_ctrls_admin.c
LoadModule mod_tls.c

# Install one of proftpd-mod-mysql, proftpd-mod-pgsql or any other
# SQL backend engine to use this module and the required backend.
# This module must be mandatory loaded before anyone of
# the existent SQL backeds.
#LoadModule mod_sql.c

# Install proftpd-mod-ldap to use this
#LoadModule mod_ldap.c

#
# 'SQLBackend mysql' or 'SQLBackend postgres' directives are required 
# to have SQL authorization working. You can also comment out the
# unused module here, in alternative.
#

# Install proftpd-mod-mysql and decomment the previous
# mod_sql.c module to use this.
#LoadModule mod_sql_mysql.c

# Install proftpd-mod-pgsql and decommen the previous 
# mod_sql.c module to use this.
#LoadModule mod_sql_postgres.c

# Install proftpd-mod-sqlite and decomment the previous
# mod_sql.c module to use this
#LoadModule mod_sql_sqlite.c

# Install proftpd-mod-odbc and decomment the previous
# mod_sql.c moduleto use this
#LoadModule mod_sql_odbc.c

LoadModule mod_radius.c
LoadModule mod_quotatab.c
LoadModule mod_quotatab_file.c

# Install proftpd-mod-ldap to use this
#LoadModule mod_quotatab_ldap.c

# Install proftpd-mod-pgsql or proftpd-mod-mysql to use this
#LoadModule mod_quotatab_sql.c
LoadModule mod_quotatab_radius.c
LoadModule mod_wrap.c
LoadModule mod_rewrite.c
LoadModule mod_load.c
LoadModule mod_ban.c
LoadModule mod_wrap2.c
LoadModule mod_wrap2_file.c
# Install proftpd-mod-pgsql or proftpd-mod-mysql to use this
#LoadModule mod_wrap2_sql.c
LoadModule mod_dynmasq.c


# keep this module the last one
LoadModule mod_ifsession.c

Dernière modification par Titan06 (Le 05/09/2010, à 19:05)

Hors ligne

#7 Le 05/09/2010, à 20:03

PRQT83

Re : Probléme proftpd ubuntu lts 10.4

Essaye pour voir ce que ça dit de mettre un # devant la ligne: LoadModule mod_ctrls_admin.c

éteint proftpd comme je t'ai marqué plus haut et redémarre le toujours avec la commande plus haut ( restart)

j'suis pas chez moi mais j'crois qu'il y a un # devant.

Ps: c'est pas du chinois, c'est tout tes modules.
Ceux qui ne sont pas actif ont la ligne qui commence par #
les autres sont actifs.

Dernière modification par PRQT83 (Le 05/09/2010, à 20:04)

#8 Le 05/09/2010, à 21:41

Titan06

Re : Probléme proftpd ubuntu lts 10.4

encore une erreur

 chris@Terra-Serveur:~$  sudo /etc/init.d/proftpd stop
 * Stopping ftp server proftpd                                           [ OK ] 
chris@Terra-Serveur:~$ sudo /etc/init.d/proftpd restart
 * Stopping ftp server proftpd                                           [ OK ] 
 * Starting ftp server proftpd                                                   - mod_dso/0.4: module 'mod_tls.c' already loaded
 - Fatal: LoadModule: error loading module 'mod_tls.c': Operation not permitted on line 8 of '/etc/proftpd/proftpd.conf'
                                                                         [fail]
chris@Terra-Serveur:~$ ^C
chris@Terra-Serveur:~$

Hors ligne

#9 Le 05/09/2010, à 22:13

PRQT83

Re : Probléme proftpd ubuntu lts 10.4

Même chose,
met un # devant cette ligne
( juste en dessous de celle ou tu en a mis un) et recommence.

Edit: t'as rajouté tout plein de module, non?
T'as pas une sauvegarde de la conf d'origine de proftpd?

Dernière modification par PRQT83 (Le 05/09/2010, à 22:15)

#10 Le 06/09/2010, à 12:38

Titan06

Re : Probléme proftpd ubuntu lts 10.4

j'ai rien rajoute c'est d'origine j'ai installer proftpd via le terminal  et gadmine proftpd via logithèque ubuntu

Hors ligne

#11 Le 06/09/2010, à 13:05

PRQT83

Re : Probléme proftpd ubuntu lts 10.4

Re, enlève les 2 # que je t'ai fait mettre.

Et dans ton /etc/proftpd/proftpd.conf tu en mets un devant la 4ème ligne ( Include    /etc/proftpd/modules.conf)

Dans un fichier d'origine, y'a rien en dessus ModulePath /usr/lib/proftpd...