severity 496158 normal
tags 496158 unreproducible
tags 496158 moreinfo
thanks

This seems a corner case, not etch-to-lenny-upgrade related,
so reducing severity.

On Sat, Aug 23, 2008 at 03:16:58AM +0200, Kurt Roeckx wrote:
> Package: proftpd
> Version: 1.3.1-13
> Severity: grave
> 
> Hi,
> 
> I seem to have problems upgrading from proftpd 1.3.1-11 to proftpd-basic
> 1.3.1-13.
> 
> I first only installed proftpd-basic, which removed (but not purged)
> proftpd.  At that point proftpd doesn't want to start anymore.  I don't
> know why.  It didn't give an error message, just that I needed to check
> the config file.

This is wrong, you have to install proftpd-basic and possibly
a proftpd-mod-* file if needed. You have to check that yourself
on the basis of your configuration. Also do not checking why
it did not start soon is a great way to be ignored by me. Your configuration
was already broken at that point. Why? Your successive actions did more
damages than benefits at that point, as explained below. You had to
check your configuration and complete the installation of proftpd-basic.

> 
> Then I tried to purge proftpd, which failed.  I think update-rc.d
> complained that /etc/init.d/proftpd still exists or something like that.
> 
> So I tried installing profptd which got me the -mod packages I didn't
> want, and then purged those since I didn't need them:
> # apt-get remove --purge proftpd-mod-mysql proftpd-mod-pgsql proftpd-mod-ldap 
> proftpd
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be REMOVED:
>   proftpd* proftpd-mod-ldap* proftpd-mod-mysql* proftpd-mod-pgsql*
> 0 upgraded, 0 newly installed, 4 to remove and 129 not upgraded.
> After this operation, 1024kB disk space will be freed.
> Do you want to continue [Y/n]? y
> (Reading database ... 29952 files and directories currently installed.)
> Removing proftpd ...
> Removing proftpd-mod-ldap ...
> Removing proftpd-mod-mysql ...
> Removing proftpd-mod-pgsql ...
> 
> So I try to start it again:
> # /etc/init.d/proftpd start
> grep: /etc/proftpd/proftpd.conf: No such file or directory
> egrep: /etc/proftpd/proftpd.conf: No such file or directory
> egrep: /etc/proftpd/proftpd.conf: No such file or directory
> Starting ftp server: proftpd - Fatal: unable to read configuration file 
> '/etc/proftpd/proftpd.conf': No such file or directory
>  failed!
> 

I suspect your purging using the old proftpd binary still installed and removed 
proftpd-basic configuration. Post -11 proftpd package
is a pure pseudo-package, no purging/install/what-else scripts. So you used an 
old version because the installation
of -13 was not complete due to your broken configuration. Your successive acts 
due the rest.

> 
> I restore my config files, and try to start it again:
> # /etc/init.d/proftpd start
> Starting ftp server: proftpd - Fatal: LoadModule: error loading module 
> 'mod_ldap.c': Permission denied on line 18 of '/etc/proftpd/modules.conf'
>  failed!
> 
> I had to disable 5 modules.  As far as I know, I never enabled them.
> And my modules.conf doesn't seem to be the same as the default one I
> get on a new installation.  I don't get any prompt on upgrades that
> something changed in it.
> 
> 
> It's currently segfaulting when someone tries to connect.
> 
> 
> Kurt
> 
> 

-- 
Francesco P. Lovergine



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to