When attempting to restart the Centova Cast service, you may encounter a license error caused by an inability to resolve DNS. Below is the error message you might see and steps to resolve it.
Error Message:
[root@centova ~]# /etc/init.d/centovacast restart
Stopping Centova Cast:
cc-imaged (not running)
cc-ftpd (not running)
cc-web (not running)
cc-comet (not running)
cc-appserver (not running)
cc-control (not running)
Starting Centova Cast:
cc-control enabled core dumps
Unable to resolve DNS for license1.centova.com (Unknown host). Check your DNS resolver settings.
- failed
This error is typically caused by a DNS resolution issue. The system may be using a DNS cache program or a local DNS server that is slow to start. For servers that don't operate as DNS servers themselves (like dedicated servers), it is essential to have a static DNS resolver configuration to ensure services like Centova Cast can perform DNS queries immediately after the network is available.
Solution:
To fix this issue, you can configure a static DNS resolver to allow DNS queries to resolve quickly after booting up the server. Here's how to resolve it:
Steps to Set Up a Static DNS Resolver:
-
Identify your system's network configuration: You will need to access the
/etc/resolv.conf
file or your DNS configuration settings to specify static DNS servers. -
Edit the DNS resolver settings: Open the DNS configuration file, and add static DNS servers such as Google DNS (
8.8.8.8
or8.8.4.4
) or Cloudflare DNS (1.1.1.1
). This ensures that DNS resolution is handled correctly at boot time. -
Save the configuration: After making changes, save the file and restart server(or DNS server).
-
Restart Centova Cast: Once the static DNS resolver is set, try restarting the Centova Cast service again:
/etc/init.d/centovacast restart
Note: Before making any changes to your system's DNS settings, it is highly recommended that you consult with your system administrator or service provider to ensure compatibility with your server's setup.
Need Further Assistance?
If you require professional help with this issue, you can hire one of our experienced administrators to resolve the problem for you. Visit our Hire Server Administration Services to learn more.
Alternatively, if you are looking for a managed Centova dedicated server, we offer tailored solutions. Check out our Centova dedicated server page for more information.