Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member raysolomon's Avatar
    Join Date
    Oct 2006
    Posts
    21

    Exclamation /etc/proftpd.conf is missing VirtualHost entries after account creation

    nevermind. I figured it out.
    Last edited by raysolomon; 01-28-2012 at 11:17 PM.

  2. #2
    Registered User
    Join Date
    Feb 2012
    Posts
    3
    cPanel/Enkompass Access Level

    Reseller Owner

    Default Re: /etc/proftpd.conf is missing VirtualHost entries after account creation

    Quote Originally Posted by raysolomon View Post
    nevermind. I figured it out.
    Can you share your solution as we are also facing this problem.

    Thanks.

  3. #3
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: /etc/proftpd.conf is missing VirtualHost entries after account creation

    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:

    Code:
    /usr/local/cpanel/logs/error_log
    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

  4. #4
    Registered User
    Join Date
    Feb 2012
    Posts
    3
    cPanel/Enkompass Access Level

    Reseller Owner

    Default Re: /etc/proftpd.conf is missing VirtualHost entries after account creation

    Quote Originally Posted by cPanelMichael View Post
    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:
    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.

  5. #5
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: /etc/proftpd.conf is missing VirtualHost entries after account creation

    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

  6. #6
    Registered User
    Join Date
    Feb 2012
    Posts
    3
    cPanel/Enkompass Access Level

    Reseller Owner

    Default Re: /etc/proftpd.conf is missing VirtualHost entries after account creation

    Quote Originally Posted by cPanelMichael View Post
    Please post the ticket number here so we can update this thread with the resolution when available.
    Ticket # is 2272473

  7. #7
    Member raysolomon's Avatar
    Join Date
    Oct 2006
    Posts
    21

    Default Re: /etc/proftpd.conf is missing VirtualHost entries after account creation

    Quote Originally Posted by john330 View Post
    Can you share your solution as we are also facing this problem.

    Thanks.
    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.

  8. #8
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: /etc/proftpd.conf is missing VirtualHost entries after account creation

    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

Similar Threads & Tags
Similar threads

  1. Deleting virtualhost entries in httpd.conf?
    By Vatoloco in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-19-2005, 01:34 AM
  2. Create A New Account form has missing fields for Max entries
    By pci in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-30-2005, 02:22 PM
  3. Altering Automatic DNS Zone Entries On Account Creation
    By WestBend in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-03-2003, 11:20 PM
  4. FTP account creation proftpd
    By typer in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-04-2003, 03:44 PM
  5. httpd.conf missing entries
    By Ben in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-23-2002, 11:36 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube