BookmarkSubscribeRSS Feed
ayend
Calcite | Level 5

Hello, I started sas-viya-consul-default service. Then when I tried to start sas-viya-cascontroller-default.service but failed. I used

sudo systemctl status sas-viya-cascontroller-default

and received the following message:

Oct 25 19:19:54 my-host-name sas-viya-cascontroller-default[3203]: 2019/10/25 11:19:54.481440 [WARN] (view) kv.block(config/cas-shared-default/sas.cas/configuration/port): Get http://localhost:8500/v1/kv/config/cas-shared-default/sas.cas/configuration/port?index=11&stale=&wait=60000ms: dial tcp 127.0.0.1:8500: getsockopt: connection refused (retry attempt 12 after "1m0s")
Oct 25 19:20:54 my-host-name sas-viya-cascontroller-default[3203]: 2019/10/25 11:20:54.478600 [ERR] (view) kv.block(config/cas-shared-default/sas.cas/environment/CAS_CONSUL_TOKEN): Get http://localhost:8500/v1/kv/config/cas-shared-default/sas.cas/environment/CAS_CONSUL_TOKEN?index=11&stale=&wait=60000ms: dial tcp 127.0.0.1:8500: getsockopt: connection refused (exceeded maximum retries)

 

How can I resolve the issue?

1 REPLY 1
alexal
SAS Employee

@ayend ,

There is a sequence for starting and stopping SAS Viya servers and services. You must follow this sequence to avoid operational issues. You have to start SAS Viya servers and services in the following order:

  • Consul
  • Vault
  • RabbitMQ
  • Postgres
  • HTTPD
  • HTTP proxy

And only after that, you can start remaining services such as the CAS controller.

More information here: General Servers and Services: Operate (Linux).