ProFTP Upgrade question

Codefighter

Verified User
Joined
Oct 21, 2004
Messages
21
I upgraded my proftpd to 1.2.10. I downloaded the source, compiled it, and then installed, ala 'make install'.

When I attempted to restart my server, it indicated that the /usr/local/etc/proftpd.conf file had an error, and proftpd didn't start.

Looking at that file, it was a new file from my build. I found another proftpd.conf file in the /etc folder, which I copied into /usr/local/etc.

I am now able to start proftpd and conenct via client.

My question is:
1. Is it ok to leave things this way, or does DirectAdmin have a requirement for the location of this file?

2. Is there some compile switch I should have used to tell it to look in th /etc folder instead of /usr/local/etc for the proftpd.conf file?

TIA
 
1. Is it ok to leave things this way, or does DirectAdmin have a requirement for the location of this file?
You could be ok, however I would make sure the old config matches the new as far as changes. The new version might have had a change in the config file. I am about to install it myself and will post a how-to in the next couple minutes.

2. Is there some compile switch I should have used to tell it to look in th /etc folder instead of /usr/local/etc for the proftpd.conf file?

Yes, you could have done --sysconfdir=/etc with configure.. Again, I am doing this now and will post a full how-to shortly.
 
Thanks for the feedback, and the How To. If I get energetic again, I'll re-do the ProFTP upgrade and recompile as fo the previous onfig file location.

Honestly, I did OpenSSL, openssh, and ProFTP upgrades on the production server all in one day, and it was nerve-wracking enough, being a mosty Windows guy.
 
Its all about tweaking and upgrading.. Makeing sure eveything stays up to date and running smoothly.
 
Back
Top