Your message dated Thu, 22 Nov 2007 09:57:13 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#451090: proftpd: error loading module 'mod_lang.c'
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: proftpd
Version: 1.3.1-2
Severity: normal
Hello.
I have got a problem with proftpd.
I added the following line into /etc/proftpd/modules.conf.
LoadModule mod_lang.c
Then I couldn't start the ftp server proftpd.
The error messages are following.
$ /etc/init.d/proftpd restart
Stopping ftp server: proftpd.
Starting ftp server: proftpd - Fatal: LoadModule:
error loading module 'mod_lang.c': Permission denied
on line 28 of '/etc/proftpd/modules.conf'
failed!
I found this bug during install gforge.
( gforge depends on proftpd indirectly. )
IMHO, the '--enable-nls' configure option may help, but I have not done.
Thank you.
--- End Message ---
--- Begin Message ---
Package: proftpd
Version: 1.3.1-4
Already fixed in the version above.
On Thu, Nov 22, 2007 at 05:00:04PM +1100, Luke Yelavich wrote:
> On Tue, Nov 13, 2007 at 08:34:14PM EST, Hae-woo Park wrote:
> > Hello.
> > I have got a problem with proftpd.
> >
> > I added the following line into /etc/proftpd/modules.conf.
> >
> > LoadModule mod_lang.c
> >
> > Then I couldn't start the ftp server proftpd.
>
> The attached patch fixes this, by forcing the proftpd package build to
> compile the mod_lang module into proftpd statically. It turns out that due to
> the way the module has been written, it can't be dynamically loaded. As a
> result of this, the LoadModule mod_lang.c statement in the config file is not
> needed, if the package is built with this patch.
> diff -u proftpd-dfsg-1.3.1/debian/rules proftpd-dfsg-1.3.1/debian/rules
> --- proftpd-dfsg-1.3.1/debian/rules
> +++ proftpd-dfsg-1.3.1/debian/rules
> @@ -36,14 +33,14 @@
> endif
>
>
> -DSOMODS1 =
> mod_site_misc:mod_load:mod_ban:mod_lang:mod_quotatab:mod_sql:mod_sql_mysql:mod_sql_postgres:
> +DSOMODS1 =
> mod_site_misc:mod_load:mod_ban:mod_quotatab:mod_sql:mod_sql_mysql:mod_sql_postgres:
> DSOMODS2 =
> mod_quotatab_sql:mod_ldap:mod_quotatab_ldap:mod_ratio:mod_tls:mod_rewrite:mod_radius:mod_wrap:mod_wrap2:mod_wrap2_file:
> DSOMODS3 =
> mod_wrap2_sql:mod_quotatab_file:mod_quotatab_radius:mod_facl:mod_ctrls_admin:mod_ifsession
> CONF_ARGS := --prefix=/usr \
> --with-includes=$(shell pg_config --includedir) \
> --mandir=/usr/share/man --sysconfdir=/etc/proftpd
> --localstatedir=/var/run --libexecdir=/usr/lib/proftpd \
> --enable-sendfile --enable-facl --enable-dso --enable-autoshadow
> --enable-ctrls --with-modules=mod_readme \
> - --enable-ipv6 --enable-devel=stacktrace
> + --enable-ipv6 --enable-devel=stacktrace --enable-nls
>
> ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
> CONF_ARGS += --build $(DEB_HOST_GNU_TYPE)
> diff -u proftpd-dfsg-1.3.1/debian/templates/modules.conf
> proftpd-dfsg-1.3.1/debian/templates/modules.conf
> --- proftpd-dfsg-1.3.1/debian/templates/modules.conf
> +++ proftpd-dfsg-1.3.1/debian/templates/modules.conf
> @@ -35,7 +35,6 @@
> LoadModule mod_rewrite.c
> LoadModule mod_load.c
> LoadModule mod_ban.c
> -LoadModule mod_lang.c
> LoadModule mod_wrap2.c
> LoadModule mod_wrap2_file.c
> LoadModule mod_wrap2_sql.c
--
Francesco P. Lovergine
--- End Message ---