nevermind. I figured it out.
nevermind. I figured it out.
Last edited by raysolomon; 01-28-2012 at 11:17 PM.
Hello
Could you provide some more details on the exact problem you are facing? Do you notice any specific error messages in the cPanel error log during account creation? The cPanel error log is located at:
Thank you.Code:/usr/local/cpanel/logs/error_log
cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
-- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support
We are facing two problems. First, the new account is not showing in proftpd.conf. Second, proftpd.conf gets corrupted when a new account is created causing ftp outages for a handful of accounts. The corruption is in the ip addresses in the VirtualHost tag - the last octet is wrong.
I see nothing in the error_log that correlates to proftpd.
Could you submit a support ticket so we can check further?
Submit A Ticket
Please post the ticket number here so we can update this thread with the resolution when available.
Thank you.
cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
-- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support
Sure. Let me explain. I thought the /etc/proftpd.conf was supposed to have a virtual host entry for each domain hosted on the server. So I created a php script that read the /etc/httpd/conf/httpd.conf file and generated a new /etc/proftpd.conf file with a virtualhost entry for every domain in the proper format. This is when I thought it should have fixed the problem. But when I restarted proftpd I got a bunch of error messages stating the IP was already bound to a port blah blah blah. I later figured out reading documentation from the proftpd web site that there can only be one virtualhost entry per IP address. So this means all but one shared hosting account that is on the same shared IP is not supposed to be in the /etc/proftpd.conf.
I also switched to pureftpd and saw that its configuration does the same thing essentially.
So it was a matter of misunderstanding the /etc/proftpd.conf file. I thought there was a problem, but in fact there wasn't.
Last edited by raysolomon; 02-08-2012 at 03:32 PM.
Thank you for the details. Indeed /etc/pureftpd.conf is a configuration file for pure-ftpd and nothing to do with VirtualHost entries, since those are an Apache configuration directive. The pure-ftpd users (username and password) are listed in /etc/proftpd/ folder (even though called /etc/proftpd, the users and passwords stored there are also used by pure-ftpd).
Anyway, glad you got it working.
cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
-- Tristan, Forums Technical Analyst, cPanel Tech Support
Submit a ticket | Check an existing ticket