Nirjonadda

Well-Known Member
May 8, 2013
752
28
78
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.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,274
1,295
313
Houston
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?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,274
1,295
313
Houston
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,