If the sas-viya-dagentsrv-default service fails to start when running "/etc/init.d/sas-viya-all-services start" or the Viya-ARK viya-services-start.yml playbook, review the logs in the /opt/sas/viya/config/var/log/dagentsrv/default/ directory on the machines that are assigned to the DataAgent host group in sas_viya_playbook/inventory.ini.
The most common reason for this problem is an expired Data Agent license. In that case, the /opt/sas/viya/config/var/log/dagentsrv/default/da_host-name_time-stamp_pid.log file contains the following error messages:
ERROR [00000005] App.license.verify :sas - License for feature 'DAGENTORD SAS Data Agent (Viya)' has expired. Contact your installation representative to obtain a renewal.
ERROR [00000005] App.Program :sas - License for feature 'DAGENTORD SAS Data Agent (Viya)' has expired. Contact your installation representative to obtain a renewal.
To resolve this problem, follow the steps in Apply New SAS Data Agent Licenses in SAS® Viya® 3.5 Administration.
For multi-tenant environments, the service is named sas-tenant-name-dagentsrv-default and the logs are located in the /opt/sas/tenant-name/config/var/log/dagentsrv/default/ directory.
If the Data Agent logs do not contain any errors about a license expiration, contact SAS Technical Support for further assistance.