Page 1 of 1
Error code: 3 after changing IP of a domain
Posted: Tue Aug 22, 2017 8:01 am
by Hnaseri
Today I wanted to test the IP change feature in admin panel. however when I wanted to change the IP of a domain, it gave me Error code: 3.
Although in the admin panel I can see that at least the dns is changed.
Re: Error code: 3 after changing IP of a domain
Posted: Tue Aug 22, 2017 9:22 am
by ScIT
Error Code 3: E_NOTEXIST - Object doesn't exist
Source:
https://vestacp.com/docs/api/#return_codes
Maybe you can check the logs and also share system informations.
Re: Error code: 3 after changing IP of a domain
Posted: Tue Aug 22, 2017 7:15 pm
by Hnaseri
The log I got from Error log is this. Is it helpful
Code: Select all
2017-08-22 12:27:56 v-list-dns-domain 'admin' 'www.example.com' 'json' [Error 3]
?
Re: Error code: 3 after changing IP of a domain
Posted: Wed Aug 23, 2017 4:38 pm
by Hnaseri
My OS is Centos 7.
Re: Error code: 3 after changing IP of a domain
Posted: Wed Aug 23, 2017 8:22 pm
by mehargags
you could try via CLI
Code: Select all
/usr/local/vesta/bin/v-update-sys-ip
After this,
Stop and Start Firewall to flush the rules
if still the websites don't work on new IP then
rebuild web for that Vesta User
Re: Error code: 3 after changing IP of a domain
Posted: Thu Nov 22, 2018 11:20 am
by hacktivista
I had the same error, looked at logs, ran the same command and noticed it was a problem with aliases, I've removed and created these again. Charming, works with no problems :D