`mesheryctl system start` errors

After running the commands I got these errors:

“fatal error: concurrent map iteration and map write”

“dial tcp: lookup meshery on 127.0.0.11:53: no such host”
“meshery-meshery-kuma-1 | /meshery-kuma: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34’ not found (required by /meshery-kuma)”

“meshery-meshery-traefik-mesh-1 | time=“2024-09-29T08:17:16Z” level=info msg=“remove /.meshery/templates/meshmodel/components/v1.4.8/traffictarget.meshery.layer5.io_meshmodel.json: permission denied” app=traefik-mesh-adapter”
“Error closing file: invalid argument”

Anyone could tell me what goes wrong? thanks!

Hi, @weilirs can you please provide the screenshot of the log message and the set of commands you are using? also, which OS you are using?

Hi @Yash_Sharma
The log message is pretty long and these are some of the errors I am getting. And this screenshot is the beginning of the log message.

I only used mesheryctl system start and I am using MacOS.

Thank you for your reply!

can you try the following

export DOCKER_DEFAULT_PLATFORM=linux/amd64
mesheryctl system start
1 Like

Hi @weilirs, it looks like we’re having a challenge with Meshery’s Adapter for Kuma. Let’s remove that adapter from your deployment for the time being, so that you can have a fully healthy deployment.

You’re running Docker Desktop for Mac without Kubernetes enabled, is that right? To confirm, you can run mesheryctl system context view and verify the value for platform. It’ll be either kubernetes or docker. If you see meshery-kuma and other adapters listed in components, let’s remove those and start with just Meshery Server for the moment. Start by executing mesheryctl system stop.

First, will you confirm that you’re using a mesheryctl of v0.7.100+ by executing mesheryctl version? If your client version is less than v0.7.100, please upgrade mesheryctl.

Second, create a new context by executing mesheryctl system context create docker -p docker (assuming that your using Docker as you platform to deploy Meshery).

Third, switch to your new context by executing mesheryctl system context switch docker. Confirm that you have no components (adapters) listed in your new context. You should see the empty set [] as the value for components.

FYI, you can list all contexts and your currently selected context using mesheryctl system context list.

Fourth, start your Meshery deployment by executing mesheryctl system start (having switched to your new context).

You should now have a running Meshery Server deployment without any Adapters.

I followed your instructions and http://localhost:9081 now is working so I think it is working fine now?

Thank you for your help!

1 Like

I used Lee’s solution and it is working. Anyways, thank you for your help!

2 Likes