Azure / Azure/azure-linux-extensions

Error when installing extension

Open
#1,313 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
333
Forks
278
Avg merge
2d 9h
Merged PRs (30d)
4

Description

Hi,

When trying to install the VM Insights, the AzureMonitorLinuxAgent extension gets stuck in "transitioning" state.

Under details I can see the following message:

`[ExtensionOperationError] Non-zero exit code: 127, /var/lib/waagent/Microsoft.Azure.Monitor.AzureMonitorLinuxAgent-1.6.2/./shim.sh -enable [stdout] 2021/03/09 20:27:17 [Microsoft.Azure.Monitor.AzureMonitorLinuxAgent-1.6.2] Enable,failed,127,Enable failed with exit code 127 /bin/sh: 1: /etc/init.d/mdsd: not found [stderr] Running scope as unit: Microsoft.Azure.Monitor.AzureMonitorLinuxAgent_1.6.2_45ed8970-ede5-4fcb-908c-79ae6d9819b3.scope /bin/sh: 1: /etc/init.d/mdsd: not found
`

when trying to find install the azure-mdsd package from apt repo, I receive the following message:

```
apt install azure-mdsd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package azure-mdsd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'azure-mdsd' has no installation candidate

```

Any help please?

Many thanks and best regards,

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.