Skip to content

Commit 7381881

Browse files
authored
Add known troubleshooting scenario
1 parent c104b2e commit 7381881

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
@@ -491,4 +491,18 @@ Perform the following steps to correct the issue.
491491
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
492492
```
493493
494-
3. Upgrade packages by executing `sudo sh ./omsagent-*.universal.x64.sh --upgrade`.
494+
3. Upgrade packages by executing `sudo sh ./omsagent-*.universal.x64.sh --upgrade`.
495+
496+
## Issue: Installation is failing saying Python2 cannot support ctypes, even though Python3 is being used
497+
498+
### Probable causes
499+
500+
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.
501+
502+
### Resolution
503+
504+
Change the VM's environmental language to English:
505+
506+
```
507+
export LANG=en_US.UTF-8
508+
```

0 commit comments

Comments
 (0)