Skip to main content

Strange cPanel Backup MySql Error - Troubleshooting Advice?

Comments

6 comments

  • cPanelMichael
    Hello :) Do you have any empty "DNS=" lines in the /var/cpanel/users/$username file for this account? Thank you.
    0
  • BlackRain
    For the domain affected this what I found:
    DEMO=0 DNS=domain.com DNS1=
    The other domains on the server only have: DNS=domain2.com but no DNS1 variable
    0
  • cPanelMichael
    Yes, the issue is that it's an empty entry. It's likely a parked domain name was not correctly removed from the account at some point in time. Please remove the empty entry from the following files:
    /var/cpanel/userdata/$username/main /var/cpanel/userdata/$username/$primarydomain /var/cpanel/users/$username /etc/userdatadomains
    Then, run the following command:
    /scripts/rebuildhttpdconf
    Thank you.
    0
  • BlackRain
    Thank you. It does appear that there was a parked domain that was borked at some point. I made a backup copy of the original files and then deleted the offending sections. Rebuilt httpd.conf and restarted Apache. Will check the backup log to check that the error is gone. I will advise tomorrow. Thanks!
    0
  • BlackRain
    Checked the backup log today and the error has now been cleared. Cheers!
    0
  • cPanelMichael
    ]Checked the backup log today and the error has now been cleared. Cheers!

    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.