Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSL throws error after upgrade to WSL2 #10001

Closed
thisisjagan opened this issue Apr 20, 2023 · 4 comments
Closed

WSL throws error after upgrade to WSL2 #10001

thisisjagan opened this issue Apr 20, 2023 · 4 comments

Comments

@thisisjagan
Copy link

Hi Team,

I recently installed WSL2 with Ubuntu on my Windows 10 machine. After installation, I was facing very slow internet in the WSL machine and based on the suggestion from the internet I downgraded the version to WSL1. Unfortunately, that did not fix the issue.

So I upgraded back to WSL2. After multiple upgrade failures, it succeeded yesterday but when I open Ubuntu, I receive the following error.

<3>WSL (9) ERROR: CreateProcessEntryCommon:370: getpwuid(1000) failed 0
<3>WSL (9) ERROR: CreateProcessEntryCommon:374: getpwuid(0) failed 0

I had zsh installed in my ubuntu. Not sure if its due to the shell/bash.

When I try to open \wsl$, I get the following error.

image

Could you please assist?

@OneBlue
Copy link
Collaborator

OneBlue commented Apr 25, 2023

/logs

@microsoft-github-policy-service
Copy link
Contributor

Hello! Could you please provide more logs to help us better diagnose your issue?

To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging

Thank you!

@microsoft-github-policy-service
Copy link
Contributor

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

Thank you!

@microsoft-github-policy-service
Copy link
Contributor

This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants