Skip to content

Commit 4224d2b

Browse files
authored
Merge pull request #177191 from aswatt/patch-1
Add known troubleshooting scenario
2 parents d17e509 + 7381881 commit 4224d2b

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

articles/azure-monitor/agents/agent-linux-troubleshoot.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,4 +484,18 @@ Perform the following steps to correct the issue.
484484
wget https://github.com/Microsoft/OMS-Agent-for-Linux/releases/download/OMSAgent_GA_v1.4.2-124/omsagent-1.4.2-124.universal.x64.sh
485485
```
486486
487-
3. Upgrade packages by executing `sudo sh ./omsagent-*.universal.x64.sh --upgrade`.
487+
3. Upgrade packages by executing `sudo sh ./omsagent-*.universal.x64.sh --upgrade`.
488+
489+
## Issue: Installation is failing saying Python2 cannot support ctypes, even though Python3 is being used
490+
491+
### Probable causes
492+
493+
There is a known issue where, if the VM's language isn't English, a check will fail when verifying which version of Python is being used. This leads to the agent always assuming Python2 is being used, and failing if there is no Python2.
494+
495+
### Resolution
496+
497+
Change the VM's environmental language to English:
498+
499+
```
500+
export LANG=en_US.UTF-8
501+
```

0 commit comments

Comments
 (0)