Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Jun 2011
    Posts
    4

    Default Error adding subdomain.

    Clients on one of our cpanel servers have reported problems when trying to add subdomains. It worked previously but has some how just stopped working, we recently installed the UNIXy varnish plugin but i didnt expect this to cause any errors. Anyway here it is;

    There was a problem creating the sub-domain. Show Details
    Error from hooks wrapper:

    I searched google and couldnt find any similar issues so im stuck. Where running 11.30.0

    Any help appreciated.

  2. #2
    Registered User
    Join Date
    Jun 2011
    Posts
    4

    Default Re: Error adding subdomain.

    Update :. It is adding the subdomains and setting up directorys, but still displaying the error. It also displays the error when removing the subdomain, but still deletes it.

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

    Root Administrator

    Default Re: Error adding subdomain.

    Hello

    Are you using cPanel to add the subdomain, or are you adding it through a third-party application?

    Also, could you provide the output of /usr/local/cpanel/logs/error_log when this message is received?

    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
    Jun 2011
    Posts
    4

    Default Re: Error adding subdomain.

    Yes when adding through cpanel its happening on all accounts on the server. When i try to access the cpanel error log i get the permission denied error.

  5. #5
    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: Error adding subdomain.

    So you are logged into root SSH (not jailed shell) and running this command when checking for the errors:

    Code:
    tail -fn0 /usr/local/cpanel/logs/error_log
    Please ensure to run that command when trying to add a subdomain and see if it outputs any results. If you are getting a permission denied, please then show the results for this command:

    Code:
    ls -lah /usr/local/cpanel/logs/error_log
    Again, as I mentioned initially, you must be root level to tail that log in SSH.
    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

  6. #6
    Registered User
    Join Date
    Jun 2011
    Posts
    4

    Default Re: Error adding subdomain.

    Yes im logged in as root and it says i dont have permission, i will keep trying as the error is causing some subdomains to work and not others

  7. #7
    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: Error adding subdomain.

    Please post the output of the commands I indicated.
    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. DNS Issue when adding a subdomain
    By Senor in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-09-2008, 11:05 AM
  2. Need help: adding subdomain, lost old subdomain
    By xbart in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 10-12-2007, 02:22 PM
  3. Bind Problem when Adding Subdomain
    By xaze in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-13-2006, 07:16 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube