PDA

View Full Version : ProFTPd 1.2.10 Upgrade


dbeames
05-11-2005, 02:21 PM
I know it came out late last year, but I am heavy on making sure everything is up to do. Here is a howto upgrade ProFTPd to 1.2.10. I am using Fedora 2, so your exact steps may be diff.

Su to your root account and do the following:
wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.10.tar.gz
tar zxvf proftpd-1.2.10.tar.gz
cd proftpd-1.2.10
Now we need to find out what "optional modules" proftpd is running. Do this:

proftpd -l

Anything listed besides:
mod_core.c
mod_xfer.c
mod_auth_unix.c
mod_auth_file.c
mod_auth.c
mod_ls.c
mod_log.c
mod_site.c
mod_auth_pam.c
mod_cap.c
are optional. We need to be sure to include those during configure. Mine has "mod_ratio.c and mod_readme.c".

Now its time to configure it:

install_user=ftp install_group=ftp ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run --with-modules=mod_ratio:mod_readme

Note the install_user=ftp and install_group=ftp before it. This is important to make sure proper permissions are set on the files.
Now lets finish it up:

cp /etc/proftpd.conf /etc/proftpd.conf.bak1
make
make install
/etc/rc.d/init.d/proftpd restart

You can test the version by: /usr/sbin/proftpd -v
Or just ftp to localhost and see it (if you left the default site name in the conf.

Thats it. Good Luck!

@how@
05-12-2005, 08:45 AM
:D thanks :D

Mikhey
05-13-2005, 09:30 AM
It's work !!!!

jjma
05-18-2005, 12:42 PM
Are the directadmin support going to update their proftpd software?

Jon

jmstacey
05-18-2005, 04:48 PM
Originally posted by jjma
Are the directadmin support going to update their proftpd software?

Jon

It is for some Operating Systems such as Debian. What Operating System(s) are behind?

jjma
05-19-2005, 12:40 AM
Red Hat Enterprise 3.0.

Jon

jlasman
05-19-2005, 07:29 AM
There's a source code RPM for the latest version of the ProFTPD daemon here (http://files.directadmin.com/services/). You can use it to create an updated RPM for your system and install it yourself.

Jeff

NetJaro
05-20-2005, 10:16 AM
[root@multihost proftpd-1.2.10]# /usr/sbin/proftpd -v
- ProFTPD Version 1.2.9
[root@multihost proftpd-1.2.10]#


after upgrade :-( Why?

jmstacey
05-20-2005, 10:40 AM
Did you restart ProFTP? If you did then the upgrade looks like it as not successfull.

NetJaro
05-20-2005, 11:00 AM
[root@multihost root]# service proftpd restart
Shutting down proftpd: [ OK ]
Starting proftpd: [ OK ]
[root@multihost root]# /usr/sbin/proftpd -v
- ProFTPD Version 1.2.9
[root@multihost root]#


:-(

NetJaro
05-20-2005, 11:03 AM
I use RH3

jjma
05-20-2005, 12:01 PM
I would go through the rebuild again as I have had a successful install.

regards

Jon

NetJaro
05-20-2005, 12:07 PM
OK, Thanks.

vandal
05-20-2005, 06:19 PM
rpm -qa proftpd*

that will show you your currenlty installed proftpd installs.

make sure you konw that after building it you still have to install the binary rpm which will be in the i386 folder once building is complete.