Skip to main content

Adding First domain Failed

Comments

5 comments

  • louisfrenchy
    I've attached the page site creation gets stuck on before I refreshed browser after 20 minutes waiting.
    0
  • louisfrenchy
    I have tried this command also [QUOTE] [root@ home]# cat /etc/userdomains | grep site1 [root@ home]# [root@ home]# /etc/passwd | grep site1 ... site1:x:500:502::/home/site1:/bin/bash [root@ home] [root@ home]# grep -r site1 /var/cpanel/users/ [root@ home]# [root@ home]# grep -r site1 /var/cpanel/userdata/ [root@ home]
    So only /var/cpanel/userdata/ shows data but the account creation from browser just won't pass the stage from the image I've attached. Surely this can't take over 20 minutes to create a domain. I have tried creating another domain with a username called sitetest, and this also gets stuck on same stage and also only shows data in /var/cpanel/userdata/ I have manually removed site1 under /home. Unsure if this is a mistake to properly cleanup as I was trying to get passed the issue of site1 already exist. But it does not seems creating a domain is working at all on this new server with cPanel at present. 1. Can I manually delete the directories in /var/cpanel/userdata for site1 and sitetest using rm -Rf site1 and rm -Rf sitetest ? 2. As for the 2 x cPanel versions from current server where I have no issues creating a domain and the new server cPanel. These are the extra options Enable Apache SpamAssassin" Use the nameservers specified at the Domain"s Registrar. (Ignore locally specified nameservers.) Overwrite any existing DNS zones for the account. I had them ticked but unsure if they are the issue as I can't see what the warning messages in background are about. 3. As for package, I created it from the Create Account part and I can see cPanel created the package. Any clues.
    0
  • louisfrenchy
    Doing these steps from command line appears to clear the error of [QUOTE] (XID jtf9r9) This system already has an account named "sitetest". at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 601.
    The steps I did to try again using same username for the domain [QUOTE] cd /home rm -Rf sitetest userdel sitetest cd /var/cpanel/userdata/ rm -Rf sitetest cd /home
    But my main issue from attached image is the same no matter how many times I keep trying to create a domain.
    0
  • louisfrenchy
    I can see the warnings now after ding this from command line [QUOTE] cd /usr/local/cpanel/logs cat error_log | grep sitetest | more [2018-07-05 20:06:52 -0500] warn [Internal Warning while parsing [stdin] 8735] (XID aacv99) The system failed to create the directory "/home/sitetest/.cpanel" Create/Utils.pm line 129 ..... warn [Internal Warning while parsing [stdin] 8735] (XID h27knd) The system failed to create the directory "/home/sitetest/.cpanel/caches" counts/Create/Utils.pm line 129. ... warn [Internal Warning while parsing [stdin] 8735] (XID 58mawn) The system failed to create the directory "/home/sitetest/.cpanel/datastore" /Accounts/Create/Utils.pm line 129. .... warn [Internal Warning while parsing [stdin] 8735] (XID thhckx) The system failed to create the directory "/home/sitetest/etc" te/Utils.pm line 129. .... warn [Internal Warning while parsing [stdin] 8735] (XID g2e4hd) The system failed to create the directory "/home/sitetest/etc/domain.com" ccounts/Create/Utils.pm line 129. ... warn [Internal Warning while parsing [stdin] 8735] (XID qgwgmf) The system failed to create the directory "/home/sitetest/mail" ate/Utils.pm line 129. ... warn [Internal Warning while parsing [stdin] 8735] (XID 7byxgp) The system failed to create the directory "/home/sitetest/mail/domain.com" Accounts/Create/Utils.pm line 129. ....
    Looks like directories are failing to create . I did the following [QUOTE] cd / ls -al drwx------. 12 523 523 4096 Jul 5 22:40 home
    Looks like home group and user is not right to me. SoI did the following [QUOTE] chmod 711 home/ chgrp root home/ chwon root home/
    I then tried to re-create the site and this time it goes through till I get this message [QUOTE] ... Account Creation Complete!!!... Account Creation Ok ...Done
    I did a List Account and I see the account created successfully. So my issue appears to have been the new server had permission, and directory settings of /home incorrect.
    0
  • cPanelLauren
    Hi @louisfrenchy I am so happy to hear that you were able to identify the issue and resolve it. Thank you very much for updating us here as to the resolution you found. Thanks!
    0

Please sign in to leave a comment.