hi
i'm just setting up a server with directadmin, i'm restiring user backups from a different server and moving dsome domains to different users using the move_domain.sh script. this has worked on a lot of domains but it doesn't seem to be chnaging the ip address from the server ip that i imported it onto the server on.
this is what move_domain.sh say's when i run it:
./move_domain.sh mydomain.com admin99 admin10
Moving domain data to the admin10 user.
Setting ownership for mydomain.com domain.
Setting stats directory ownership for mydomain.com domain.
Removing domain from admin99 user.
Adding domain to admin10 user.
Changing domain owner.
The old IP (mydomain.com
1.1.1.1) does not match the new IP (2.2.2.2). Swapping...
Usage:
/usr/local/directadmin/scripts/ipswap.sh <oldip> <newip> [<file>]
you gave #4: /usr/local/directadmin/scripts/ipswap.sh mydomain.com 1.1.1.1 2.2.2.2
Usage:
/usr/local/directadmin/scripts/ipswap.sh <oldip> <newip> [<file>]
you gave #4: /usr/local/directadmin/scripts/ipswap.sh mydomain.com 1.1.1.1 2.2.2.2
Usage:
/usr/local/directadmin/scripts/ipswap.sh <oldip> <newip> [<file>]
you gave #4: /usr/local/directadmin/scripts/ipswap.sh mydomain.com 1.1.1.1 2.2.2.2
Debug mode. Level 10
one thing that might be relevant, my various ip's that i have on this server are not showing under the nameserver section on the reseller level. i added the additional ip's manually to the server by creating /etc/sysconfig/network-scripts/ifcfg-eth0:1 type files but didn't add the ip's to directadmin until afterwards and then it said they were already installed on the server.
so basically it's not changing the ip address in the domainnane.com.db files, anyone got any ideas what the issue is?
thanks in advance
i'm just setting up a server with directadmin, i'm restiring user backups from a different server and moving dsome domains to different users using the move_domain.sh script. this has worked on a lot of domains but it doesn't seem to be chnaging the ip address from the server ip that i imported it onto the server on.
this is what move_domain.sh say's when i run it:
./move_domain.sh mydomain.com admin99 admin10
Moving domain data to the admin10 user.
Setting ownership for mydomain.com domain.
Setting stats directory ownership for mydomain.com domain.
Removing domain from admin99 user.
Adding domain to admin10 user.
Changing domain owner.
The old IP (mydomain.com
1.1.1.1) does not match the new IP (2.2.2.2). Swapping...
Usage:
/usr/local/directadmin/scripts/ipswap.sh <oldip> <newip> [<file>]
you gave #4: /usr/local/directadmin/scripts/ipswap.sh mydomain.com 1.1.1.1 2.2.2.2
Usage:
/usr/local/directadmin/scripts/ipswap.sh <oldip> <newip> [<file>]
you gave #4: /usr/local/directadmin/scripts/ipswap.sh mydomain.com 1.1.1.1 2.2.2.2
Usage:
/usr/local/directadmin/scripts/ipswap.sh <oldip> <newip> [<file>]
you gave #4: /usr/local/directadmin/scripts/ipswap.sh mydomain.com 1.1.1.1 2.2.2.2
Debug mode. Level 10
one thing that might be relevant, my various ip's that i have on this server are not showing under the nameserver section on the reseller level. i added the additional ip's manually to the server by creating /etc/sysconfig/network-scripts/ifcfg-eth0:1 type files but didn't add the ip's to directadmin until afterwards and then it said they were already installed on the server.
so basically it's not changing the ip address in the domainnane.com.db files, anyone got any ideas what the issue is?
thanks in advance
Last edited: