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

temporary fix for running server-side application on WSL #339

Merged
merged 1 commit into from
Sep 5, 2019

Conversation

justinpan0
Copy link
Contributor

This is a temporary fix for running server-side service on Windows Subsystem for Linux (WSLv1) all versions of Ubuntu.

The original problem of SO_NO_CHECK is likely associated with this WSL issue

As for a temporary fix, check if the Linux is running WSL. If yes, skip the SO_NO_CHECK step.

Note that SO_NO_CHECK supposedly disables Linux kernel to calculate checksum value of all packets received from TDEngine UDP server application. Disabling it might inducing extra error messages, yet this is a quick workaround especially WSL has become one of the most popular platforms thus far.

Also note that there are more issues involving /proc/[pid]/io and taosGetBandSpeed(), and I am actively investigating them as well.

@Scythemen
Copy link

Hit the same error.

Start to install TDEngine...
sed: can't read /etc/inittab: No such file or directory
Couldn't find an alternative telinit implementation to spawn.
cp: cannot stat '%{init_d_dir}/taosd': No such file or directory

ENV:
Windows 10 21H2, WSL2, debian 9
TDengine 2.4.x

@sangshuduo
Copy link
Contributor

@Scythemen we did not officially support WSL due to the systemd lacks. I know someone is working in progress to make systemd on WSL. Right now, you can launch taosd manually as wrokaroud.

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

Successfully merging this pull request may close these issues.

4 participants