Hi Praveen,

"ERROR:client.cli.network:client.cli.network.Cluster.__init__(): could not connect to server"

means either the qlumand or qluman-router services are not running. Something must have gone wrong during installation.

You can check their log files in /var/log/qluman.

Best,

Roland

On 6/25/24 13:35, Praveen Fernando via Qlustar General wrote:
Hi team,

After installation, attempting to create the key results in the following error.

can you help me

qluman-cli --gencert
ERROR:client.cli.network:client.cli.network.Cluster.__init__(): could not connect to server
Error: No such user: 'admin'
ERROR:qlunet.Channel:Channel[(b'qluman-cli', 1)].do_recv(): exception in request generator
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qluman-13/qluman-cli.py", line 1546, in gencert
    db.users.lookup(field="name", val=user)
  File "/usr/lib/python3/dist-packages/qluman-13/common/types.py", line 2216, in lookup
    raise KeyError("{0}={1}".format(field, val))
KeyError: 'name=admin'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qlunet/Channel.py", line 88, in do_recv
    args = next(self._generator)
  File "/usr/lib/python3/dist-packages/qluman-13/qluman-cli.py", line 1549, in gencert
    sys.exit(1)
SystemExit: 1


how to create the User admin ?

Regards