proftpd won't start, why

lkbryant

Verified User
Joined
Aug 16, 2005
Messages
283
all of a sudden, i just do a service proftpd restart and proftpd just hangs while saying proftpd starting.
what could be the problem for this? how do i correct it?
I'm not too sure what custombuild script does so I'm not sure if I'm safe to just build my own proftpd from yum. please let me know.


*update*

scratch that about recompiling proftpd. i don't think that will solve it. looks like the problem goes away if i comment out the:
"Include proftpd.vhosts.conf" from the proftpd.conf file

But doing this leaves all the users with dedicated IP unable to get in to their ftp.

What in the devil is going on, anyone have even a slightest clue to this?

*another update*

upon further discovery, I noticed that if I remove all the entries of the users (in proftpd.vhosts.conf) who are on reseller level accounts, proftpd is able to start.

so any idea what causes proftpd to not start when i try to start it up with the reseller accounts?
any kind of help is greatly appreciated in this matter.
 
Last edited:
Hello,

I recall seeing a server with this issue a while back. (perhaps it was you)
From what I found was that there appeared to be possibly a limit to the number of virtualhosts proftpd could handle.

This may roll into the old apache issue with the number of filedescriptors.
http://help.directadmin.com/item.php?id=9
So if that is the case, in theory you could do steps 3 and 4 of that guide, then recompile proftpd to see if that helps.

Past that, I'm not really sure at all, as it's a new error that nobody else has reported to me yet.

Other things to check would be to randomly comment out certain VH's in that file to see if some fix it and others don't to look for patterns in which make it work and which don't in case it's only a specific IP range for example that causes it.

John
 
Thanks for the heads up.

I've gone ahead and randomly picked apart each vhost line by line, and after i removed some users on separate reseller accounts, the problem seem to have been resolved.
 
Back
Top