Error Creating Domain

andrepmw

Verified User
Joined
May 4, 2020
Messages
11
I'm trying to restore an old DA server backup to a new DA server and I'm getting the error below, I've run the permissions script to no avail. What should I do? Old server: AlmaLinux 8 New server: Ubuntu 20


Error Creating Domain domain.com : Could not write domain's db file in /etc/bind
Script output: /usr/local/directadmin/scripts/custom/dns_write_post.sh
/usr/local/directadmin/scripts/custom/dns_write_post.sh: 1: -e: not found

User added to named.conf file successfully
Error Creating Domain


DNS: Error writing db file for domain.com : Script output: /usr/local/directadmin/scripts/custom/dns_write_post.sh
/usr/local/directadmin/scripts/custom/dns_write_post.sh: 1: -e: not found


Merge DB File issue, restoring to xxx.xxx.xxx.xxx: (restore to ip)
 
What's the content of this custom dns script?
i just commented out the line in the script and it worked perfectly, i don't know why this script had the -e in it, the client said the install is new and it didn't. Thanks
 
Back
Top