API error code 20

How i can see wich service failed to restart when adding a domain using hestia api

I dont think that you can, basicly you should get an error output, which leads you to the related service. Also for restard error, hestia should trigger a warning email.

i see this “Domain creation failed: 20 (Error Code: 20)”

and im stuck there

then you need to check your server logs and find out what fails.

how to check them

i will just reset the server

/var/log/ is always a good path to start, probaly in hestia.log or other related service logs. But please keep in mind, that we expect you from beeing able to read and understand logfiles if you want to use hestia.

1 Like

i get this error when deleting a user “Error: bind9 restart failed’
Error: dns domain deletion failed” its prob related with the code 20

what i should do?

check the related logs for bind or also in hestia.log?

let me see what does log says

i get the error 20 in logs too "root@panel:~# sudo tail -f /var/log/hestia/error.log
2024-08-01 19:41:58 v-add-dns-domain ‘yes’ ‘yes.gdnoxi.fun’ ‘139.64.133.124’ ‘’ ‘’ ‘’ ‘’ ‘’ ‘’ ‘’ ‘’ ‘no’ [Error 2]
2024-08-01 19:41:58 v-add-domain ‘yes’ ‘yes.gdnoxi.fun’ [Error 8]
2024-08-01 19:42:00 v-restart-dns ‘’ [Error 20]
2024-08-01 19:42:00 v-add-domain ‘yes’ ‘yes.gdnoxi.fun’ [Error 20]
2024-08-01 19:42:34 v-restart-dns ‘’ [Error 20]
2024-08-01 19:42:34 v-delete-dns-domains ‘yes’ ‘’ [Error 20]
2024-08-01 19:42:34 v-delete-user ‘yes’ [Error 20]
2024-08-01 19:48:54 v-restart-dns ‘’ [Error 20]
2024-08-01 19:48:54 v-delete-dns-domains ‘yes’ ‘’ [Error 20]
2024-08-01 19:48:54 v-delete-user ‘yes’ [Error 20]
"

run v-restart-dns and check if you get an error.

yeah, i get this error “root@panel:~# v-restart-dns
ln: failed to create symbolic link ‘/sbin/named-checkconf’: File exists
Error: bind9 restart failed’
root@panel:~#”

should i delete the symbolic link and restart bind?

hello anyone???

check Adjust path to prevent restart issues. by ScIT-Raphael · Pull Request #4500 · hestiacp/hestiacp · GitHub for a fix. I’m not sure why this issue came, but I had the same - just showed up without any system changes or upgrades. Maybe related to ubuntu 20.04 - but who knows.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.