Dial tcp 127.0.0.1:5080: connect: connection refused

Getting below error post inallation of scylla-manager
sctool version
Client version: 3.2.2-0.20231002.6af4bf9b
Error: Get “http://127.0.0.1:5080/api/v1/version”: dial tcp 127.0.0.1:5080: connect: connection refused

@CHARAN_CHINTHA Can you post the scylla-manager logs ? It looks that the manager API server is down, but just wanted to make sure checking the logs.

Please find error log
scylla-manager[19421]: {“L”:“ERROR”,“T”:“2023-10-18T09:22:58.222Z”,“M”:“Bye”,“error”:“db init: gocql: unable to create session: unable to discover protocol version: Cannot achieve consistency level for cl ONE. Requires 1, alive 0”,“_trace_id”:“UWmlchK5QpqbMMsdtRdU6w”,“errorStack”:“main.glob…func2\n\tgithub.com/scylladb/scylla-manager/v3/pkg/cmd/scylla-manager/root.go:125\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.1.1/command.go:850\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.1.1/command.go:958\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.1.1/command.go:895\nmain.main\n\tgithub.com/scylladb/scylla-manager/v3/pkg/cmd/scylla-manager/main.go:12\nruntime.main\n\truntime/proc.go:250\nruntime.goexit\n\truntime/asm_amd64.s:1598\n”,“S”:“github.com/scylladb/go-log.Logger.log\n\tgithub.com/scylladb/go-log@v0.0.7/logger.go:101\ngithub.com/scylladb/go-log.Logger.Error\n\tgithub.com/scylladb/go-log@v0.0.7/logger.go:84\nmain.glob…func2.1\n\tgithub.com/scylladb/scylla-manager/v3/pkg/cmd/scylla-manager/root.go:70\nmain.glob…func2\n\tgithub.com/scylladb/scylla-manager/v3/pkg/cmd/scylla-manager/root.go:125\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.1.1/command.go:850\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.1.1/command.go:958\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.1.1/command.go:895\nmain.main\n\tgithub.com/scylladb/scylla-manager/v3/pkg/cmd/scylla-manager/main.go:12\nruntime.main\n\truntime/proc.go:250”}
Oct 18 09:22:58 ip-10-21-186-170 scylla-manager[19421]: STARTUP ERROR: db init: gocql: unable to create session: unable to discover protocol version: Cannot achieve consistency level for cl ONE. Requires 1, alive 0

@CHARAN_CHINTHA
Scylla-manager is using its own instance of ScyllaDB as a backend/cache.
The error log you pasted shows that there is a problem in connecting to this ScyllaDB instance.
Please make sure that you set it up correctly.

Getting below error now.
scylla-manager[18942]: {“L”:“INFO”,“T”:“2023-10-24T10:13:24.969Z”,“N”:“wait”,“M”:“Waiting for network connection”,“sleep”:“2s”,“error”:“dial tcp: lookup 10.21.186.153:9042: no such host; dial tcp: lookup 10.21.185.87:9042: no such host”,“_trace_id”:“2AD7MMM_THWCoTOnnVXopA”}

FYI, i have enabled port and ip in firewall rules.
[root@ip- ~]# sctool status
Error: Get “http://ip:5080/api/v1/clusters”: dial tcp ip:5080: connect: connection refused

@CHARAN_CHINTHA i got same issue for scylla db

@Karol_Kokoszka i am also refer the document for scylla-manager document but not use

Did you installed scylla-server and status is up and running?? And also same details you have updated scylla-manager yaml file.?