Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Account Restore Failed

Discussion in 'General Discussion' started by Nirjonadda, Apr 17, 2018.

  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    578
    Likes Received:
    14
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    How to fixing Account Restore Failed?

    Code:
    Failed to create the account: Missing DEFMOD Config Line in /etc/wwwacct.conf, please reconfigure with Edit Setup. at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 525. 
     
  2. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    578
    Likes Received:
    14
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    Also can be safe this warnings?

     
  3. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    944
    Likes Received:
    66
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Nirjonadda

    Can you show me what is on the DEFMOD line on both servers? It should be paper_lantern as follows:

    Code:
    # grep DEFMOD /etc/wwwacct.conf
    DEFMOD paper_lantern
    Once that's complete please try the restore again and let us know if MySQL has further issues. It looks like the process was terminated per that error.

    What version of MySQL is on both servers and what version of cPanel?
     
  4. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    578
    Likes Received:
    14
    Trophy Points:
    68
    cPanel Access Level:
    Root Administrator
    cPanel v70.0.27 with MySQL 5.7 but I am not getting any error in site after the move. So can be safe this warnings?
     
  5. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    944
    Likes Received:
    66
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,


    If you're not getting any errors on the site after the move then it should be fine, I was under the impression with the first warning that it was failing to restore on the new server. This error indicates that the account creation failed:

    Code:
    Failed to create the account: Missing DEFMOD Config Line in /etc/wwwacct.conf, please reconfigure with Edit Setup. at /usr/local/cpanel/Whostmgr/Accounts/Create.pm line 525.
    
    
    If you can confirm that the account is present on the new server now and that MySQL databases are being served without issue I believe the issue is resolved.

    Thank you,
     
Loading...

Share This Page