Koozali.org: home of the SME Server

Dead proftp after update

Jesper Bille Haun

Dead proftp after update
« on: October 13, 2003, 01:05:38 AM »
I just updated my proftpd (SME 5.6) with the two RPM's at the website, and now my profptd is dead.

I have tried to reinstall, restart the service and restart the server. But the result is - proftpd is dead and the subsys is locked ???

Curly

Re: Dead proftp after update
« Reply #1 on: October 13, 2003, 09:58:34 PM »
I'm not sure, but isn't proftpd started by inetd at request ?

Have you tried ftp-ing ?

I upgraded proftp (SME 5.1.2) and see nothing running when there's no session active.

Jesper Bille Haun

Re: Dead proftp after update
« Reply #2 on: October 13, 2003, 11:41:45 PM »
Yes - I have tried. I get "timeout" with all accounts. And it worked before the update.

Jesper Bille Haun

Re: Dead proftp after update
« Reply #3 on: October 14, 2003, 01:05:38 AM »
I have now tried to downgrade to the two RPM's from the SME 5.6 installation cd, but that doesn't help either. Here is part of my log file:

sme1 proftpd: proftpd shutdown failed
sme1 proftpd[2454]: sme1.haun.dyndns.org - Failed binding to 0.0.0.0, port 21: Address already in use
sme1 proftpd[2454]: sme1.haun.dyndns.org - Check the ServerType directive to ensure you are configured correctly.
sme1 proftpd: proftpd startup succeeded
sme1 proftpd[2493]: sme1.haun.dyndns.org - Failed binding to 0.0.0.0, port 21: Address already in use
sme1 proftpd[2493]: sme1.haun.dyndns.org - Check the ServerType directive to ensure you are configured correctly.
sme1 proftpd[2505]: sme1.haun.dyndns.org - Failed binding to 0.0.0.0, port 21: Address already in use
sme1 proftpd[2505]: sme1.haun.dyndns.org - Check the ServerType directive to ensure you are configured correctly.

Robert

Re: Dead proftp after update
« Reply #4 on: October 14, 2003, 01:26:14 AM »
Just a guess, but it does look like what Curly suggested: you're not letting xinetd handle you ftp requests. Do you have a proftpd running that is not controlled by xinetd ('ps fax' will tell you)? If so, stop the rogue proftpd with "/etc/rc.d/init.d/proftpd stop", then upgrade your proftpd and e-smith-proftpd packages, then do "/sbin/e-smith/signal-event remoteaccess-update". Hope that fixes your problem.

Jesper Bille Haun

Re: Dead proftp after update
« Reply #5 on: October 14, 2003, 01:30:36 AM »
Thank you :-) I don't know, what the problem was, xinetd was controlling my ftpd, but the command "/sbin/e-smith/signal-event remoteaccess-update" worked. Now I will try to update again.

Robert

Re: Dead proftp after update
« Reply #6 on: October 14, 2003, 01:38:18 AM »
Make sure you signal remoteaccess-update again after the update. That will expand the appropriate templates adding a configuration directive that is required by the new proftpd.

Jesper Bille Haun

Re: Dead proftp after update
« Reply #7 on: October 14, 2003, 01:44:20 AM »
Thank you again. You are right. I forgot to do this the first time I upgraded. And that was the problem. I have now upgraded, and my FTP is working.

Robert

Re: Dead proftp after update
« Reply #8 on: October 14, 2003, 02:15:37 AM »
Note that you wouldn't have had this problem if you'd followed Mitel's recommended upgrade procedure, which is to redownload and reinstall all previous updates along with the proftpd and e-smith-proftpd updates, then do a post-upgrade and a reboot.