Skip to content

Commit 9e85899

Browse files
committed
Added troubleshooting
1 parent 6950803 commit 9e85899

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

defender-endpoint/linux-custom-location-installation.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,51 @@ Run the usual upgrade commands. The installation location remains unchanged.
131131
**Can I change the custom location during upgrade?**
132132
No, installation location changes require a fresh install.
133133
134+
## Troubleshooting
135+
136+
### 1. Verify the installation location
137+
138+
- **Check running processes:**
139+
140+
Run: `ps aux | grep wdavdaemon`
141+
142+
```
143+
root 747798 0.3 1.5 1037180 154336 ? Ssl 12:26 0:21 /var/tmp/TestInstall/microsoft_mdatp/opt/microsoft/mdatp/sbin/wdavdaemon
144+
root 747844 0.0 0.8 945692 79676 ? Sl 12:26 0:04 /var/tmp/TestInstall/microsoft_mdatp/opt/microsoft/mdatp/sbin/wdavdaemon edr 16 15 --log_level info
145+
root 747932 0.0 0.2 255028 21472 ? Sl 12:26 0:01 /var/tmp/TestInstall/microsoft_mdatp/opt/microsoft/mdatp/sbin/telemetryd_v2 24 /var/log/microsoft/mdatp
146+
```
147+
148+
- **Check service status:**
149+
150+
- Run: `systemctl status mdatp`
151+
```
152+
● mdatp.service - Microsoft Defender
153+
Loaded: loaded (/lib/systemd/system/mdatp.service; enabled; vendor preset: enabled)
154+
Active: active (running) since ...
155+
Main PID: 747798 (wdavdaemon)
156+
...
157+
CGroup: /system.slice/mdatp.service
158+
‣ 747798 /var/tmp/TestInstall/microsoft_mdatp/opt/microsoft/mdatp/sbin/wdavdaemon
159+
```
160+
161+
- **Check custom installation path in `mde_path.json`:**
162+
163+
- Primary: `/etc/opt/microsoft/mdatp/mde_path.json`
164+
- Example: `{"path": "/var/tmp/TestInstall/microsoft_mdatp"}`
165+
- If missing or malformed, MDE fallbacks to the secondary file.
166+
- Secondary: `<custom_installation_path>/opt/microsoft/mdatp/conf/mde_path.json`
167+
- Should match the primary config.
168+
- This file is created at installation time.
169+
- Inconsistencies may indicate installation corruption.
170+
- Ensure the path is absolute.
171+
---
172+
173+
### 2. Verify the symlink to the custom location
174+
175+
- Run: `ls -ltr /opt/microsoft/mdatp`
176+
- Output should show `/opt/microsoft/mdatp` as a symlink to your custom location: `lrwxrwxrwx 1 root root ... /opt/microsoft/mdatp -> /var/tmp/TestInstall/microsoft_mdatp/opt/microsoft/mdatp`
177+
---
178+
134179
## Related content
135180
136181
- [Prerequisites for Defender for Endpoint on Linux](mde-linux-prerequisites.md)

0 commit comments

Comments
 (0)