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!

Account Restore Failed

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

  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    599
    Likes Received:
    15
    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. 
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Nirjonadda

    Nirjonadda Well-Known Member

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

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,719
    Likes Received:
    185
    Trophy Points:
    143
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    599
    Likes Received:
    15
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,719
    Likes Received:
    185
    Trophy Points:
    143
    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,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice